1# FIXME: Add support for global settings.
2# FIXME: Add support for custom getters/setters.
3
4defaultTextEncodingName type=String
5ftpDirectoryTemplatePath type=String
6localStorageDatabasePath type=String
7editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior
8textDirectionSubmenuInclusionBehavior type=TextDirectionSubmenuInclusionBehavior, initial=TextDirectionSubmenuAutomaticallyIncluded
9passwordEchoDurationInSeconds type=double, initial=1
10
11# Sets the magnification value for validation message timer.  If the
12# magnification value is N, a validation message disappears automatically after
13# <message length> * N / 1000 seconds.  If N is equal to or less than 0, a
14# validation message doesn't disappears automaticaly.
15validationMessageTimerMagnification type=int, initial=50
16
17# Number of pixels below which 2D canvas is rendered in software
18# even if hardware acceleration is enabled.
19# Hardware acceleration is useful for large canvases where it can avoid the
20# pixel bandwidth between the CPU and GPU. But GPU acceleration comes at
21# a price - extra back-buffer and texture copy. Small canvases are also
22# widely used for stylized fonts. Anti-aliasing text in hardware at that
23# scale is generally slower. So below a certain size it is better to
24# draw canvas in software.
25minimumAccelerated2dCanvasSize type=int, initial=257*256
26
27layoutFallbackWidth type=int, initial=980
28maximumDecodedImageSize type=size_t, initial=numeric_limits<size_t>::max()
29deviceWidth type=int, initial=0
30deviceHeight type=int, initial=0
31
32# Allow clients concerned with memory consumption to set a quota on session storage
33# since the memory used won't be released until the Page is destroyed.
34sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
35
36minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
37minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
38defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
39defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
40
41editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
42maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth
43
44# This setting only affects site icon image loading if loadsImagesAutomatically setting is false and this setting is true.
45# All other permutations still heed loadsImagesAutomatically setting.
46loadsSiteIconsIgnoringImageLoadingSetting initial=false
47
48caretBrowsingEnabled initial=false
49localStorageEnabled initial=false
50allowUniversalAccessFromFileURLs initial=true
51allowFileAccessFromFileURLs initial=true
52javaScriptCanOpenWindowsAutomatically initial=false
53supportsMultipleWindows initial=true
54javaScriptCanAccessClipboard initial=false
55shouldPrintBackgrounds initial=false
56usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
57
58textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
59authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
60acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
61showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
62showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
63
64# This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
65# making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
66# and getting keypress dispatched in more cases.
67needsKeyboardEventDisambiguationQuirks initial=false
68
69treatsAnyTextCSSLinkAsStylesheet initial=false
70shrinksStandaloneImagesToFit initial=true
71pageCacheSupportsPlugins initial=false
72showsURLsInToolTips initial=false
73showsToolTipOverTruncatedText initial=false
74forceFTPDirectoryListings initial=false
75developerExtrasEnabled initial=false
76javaScriptExperimentsEnabled initial=false
77scriptMarkupEnabled initial=true
78needsSiteSpecificQuirks initial=false
79webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
80localFileContentSniffingEnabled initial=false
81offlineWebApplicationCacheEnabled initial=false
82enforceCSSMIMETypeInNoQuirksMode initial=true
83usesEncodingDetector initial=false
84allowScriptsToCloseWindows initial=false
85canvasUsesAcceleratedDrawing initial=false
86acceleratedDrawingEnabled initial=false
87acceleratedFiltersEnabled initial=false
88regionBasedColumnsEnabled initial=false
89cssGridLayoutEnabled initial=false
90useLegacyTextAlignPositionedElementBehavior initial=false
91
92# FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files
93# they can't use by. Leaving enabled for now to not change existing behavior.
94downloadableBinaryFontsEnabled initial=true
95
96xssAuditorEnabled initial=false
97unsafePluginPastingEnabled initial=true
98acceleratedCompositingFor3DTransformsEnabled initial=true
99acceleratedCompositingForVideoEnabled initial=true
100acceleratedCompositingForPluginsEnabled initial=true
101acceleratedCompositingForCanvasEnabled initial=true
102acceleratedCompositingForAnimationEnabled initial=true
103acceleratedCompositingForFixedPositionEnabled initial=false
104acceleratedCompositingForOverflowScrollEnabled initial=false
105
106# Works only in conjunction with forceCompositingMode.
107acceleratedCompositingForScrollableFramesEnabled initial=false
108compositedScrollingForFramesEnabled initial=false
109
110experimentalNotificationsEnabled initial=false
111webGLEnabled initial=false
112webGLErrorsToConsoleEnabled initial=true
113openGLMultisamplingEnabled initial=true
114privilegedWebGLExtensionsEnabled initial=false
115accelerated2dCanvasEnabled initial=false
116antialiased2dCanvasEnabled initial=true
117loadDeferringEnabled initial=true
118webAudioEnabled initial=false
119paginateDuringLayoutEnabled initial=false
120fullScreenEnabled initial=false, conditional=FULLSCREEN_API
121asynchronousSpellCheckingEnabled initial=false
122
123# This feature requires an implementation of ValidationMessageClient.
124interactiveFormValidationEnabled initial=false
125
126usePreHTML5ParserQuirks initial=false
127hyperlinkAuditingEnabled initial=false
128crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
129forceCompositingMode initial=false
130shouldInjectUserScriptsInInitialEmptyDocument initial=false
131fixedElementsLayoutRelativeToFrame initial=false
132allowDisplayOfInsecureContent initial=true
133allowRunningOfInsecureContent initial=true
134mediaPlaybackRequiresUserGesture initial=false
135mediaPlaybackAllowsInline initial=true
136passwordEchoEnabled initial=false
137suppressesIncrementalRendering initial=false
138incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
139backspaceKeyNavigationEnabled initial=true
140visualWordMovementEnabled initial=false
141shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
142shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
143shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
144scrollingCoordinatorEnabled initial=false
145scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
146notificationsEnabled initial=true
147
148# Some apps needs isLoadingInAPISense to account for active subresource loaders.
149needsIsLoadingInAPISenseQuirk initial=false
150
151shouldRespectImageOrientation initial=false
152wantsBalancedSetDefersLoadingBehavior initial=false
153requestAnimationFrameEnabled initial=true
154deviceSupportsTouch initial=false
155deviceSupportsMouse initial=true
156
157# For touch adjustment to apply, the compile option TOUCH_ADJUSTMENT must also be enabled.
158# This setting adds a means to dynamically disable the feature at runtime on systems with
159# support for touch adjustment.
160touchAdjustmentEnabled initial=true
161
162needsDidFinishLoadOrderQuirk initial=false
163fixedPositionCreatesStackingContext initial=false
164syncXHRInDocumentsEnabled initial=true
165cookieEnabled initial=true
166mediaEnabled initial=true
167applicationChromeMode initial=false
168DOMPasteAllowed initial=false
169
170threadedHTMLParser initial=false, conditional=THREADED_HTML_PARSER
171useThreadedHTMLParserForDataURLs initial=false, conditional=THREADED_HTML_PARSER
172
173# When enabled, window.blur() does not change focus, and
174# window.focus() only changes focus when invoked from the context that
175# created the window.
176windowFocusRestricted initial=true
177
178diagnosticLoggingEnabled initial=false
179applyDeviceScaleFactorInCompositor initial=true
180applyPageScaleFactorInCompositor initial=false
181plugInSnapshottingEnabled initial=false
182snapshotAllPlugIns initial=false
183autostartOriginPlugInSnapshottingEnabled initial=true
184primaryPlugInSnapshotDetectionEnabled initial=true
185maximumPlugInSnapshotAttempts type=unsigned, initial=20
186frameFlatteningEnabled initial=false
187
188allowCustomScrollbarInMainFrame initial=true
189webSecurityEnabled initial=true
190spatialNavigationEnabled initial=false
191
192# This setting adds a means to enable/disable touch initiated drag & drop. If
193# enabled, the user can initiate drag using long press.
194touchDragDropEnabled initial=false
195
196unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
197
198logsPageMessagesToSystemConsoleEnabled initial=false
199
200backForwardCacheExpirationInterval type=double, initial=1800
201
202# Some apps could have a default video poster if it is not set.
203defaultVideoPosterURL type=String
204
205smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
206selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
207
208selectionIncludesAltImageText initial=true
209useLegacyBackgroundSizeShorthandBehavior initial=false
210
211enableInheritURIQueryComponent initial=false