Setting to enable/disable media controls sizing on page zoom
[WebKit-https.git] / Source / WebCore / page / Settings.in
1 # FIXME: Add support for global settings.
2 # FIXME: Add support for custom getters/setters.
3
4 defaultTextEncodingName type=String
5 ftpDirectoryTemplatePath type=String
6 localStorageDatabasePath type=String
7 editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior
8 textDirectionSubmenuInclusionBehavior type=TextDirectionSubmenuInclusionBehavior, initial=TextDirectionSubmenuAutomaticallyIncluded
9 passwordEchoDurationInSeconds 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.
15 validationMessageTimerMagnification 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.
25 minimumAccelerated2dCanvasSize type=int, initial=257*256
26
27 layoutFallbackWidth type=int, initial=980
28 deviceWidth type=int, initial=0
29 deviceHeight type=int, initial=0
30
31 # Allow clients concerned with memory consumption to set a quota on session storage
32 # since the memory used won't be released until the Page is destroyed.
33 sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
34
35 minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
36 minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
37 defaultFontSize type=int, initial=16, setNeedsStyleRecalcInAllFrames=1
38 defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
39
40 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
41 maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth
42
43 # This setting only affects site icon image loading if loadsImagesAutomatically setting is false and this setting is true.
44 # All other permutations still heed loadsImagesAutomatically setting.
45 loadsSiteIconsIgnoringImageLoadingSetting initial=false
46
47 caretBrowsingEnabled initial=false
48 preventKeyboardDOMEventDispatch initial=false
49 localStorageEnabled initial=false
50 allowUniversalAccessFromFileURLs initial=true
51 allowFileAccessFromFileURLs initial=true
52 javaScriptCanOpenWindowsAutomatically initial=false
53 javaScriptCanAccessClipboard initial=false
54 shouldPrintBackgrounds initial=false
55 usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
56
57 textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
58 authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
59 acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
60 acceleratedCompositedAnimationsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
61 showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
62 showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
63 visibleDebugOverlayRegions type=DebugOverlayRegions, initial=0
64
65 # This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
66 # making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
67 # and getting keypress dispatched in more cases.
68 needsKeyboardEventDisambiguationQuirks initial=false
69
70 treatsAnyTextCSSLinkAsStylesheet initial=false
71 shrinksStandaloneImagesToFit initial=true
72 pageCacheSupportsPlugins initial=false
73 showsURLsInToolTips initial=false
74 showsToolTipOverTruncatedText initial=false
75 forceFTPDirectoryListings initial=false
76 developerExtrasEnabled initial=false
77 scriptMarkupEnabled initial=true
78 needsSiteSpecificQuirks initial=false
79 domTimersThrottlingEnabled initial=true
80 webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
81 localFileContentSniffingEnabled initial=false
82 offlineWebApplicationCacheEnabled initial=false
83 enforceCSSMIMETypeInNoQuirksMode initial=true
84 usesEncodingDetector initial=false
85 allowScriptsToCloseWindows initial=false
86 canvasUsesAcceleratedDrawing initial=false
87 acceleratedDrawingEnabled initial=false
88 acceleratedFiltersEnabled initial=false
89 useLegacyTextAlignPositionedElementBehavior initial=false
90 javaScriptRuntimeFlags type=JSC::RuntimeFlags
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.
94 downloadableBinaryFontsEnabled initial=true
95
96 xssAuditorEnabled initial=false
97 unsafePluginPastingEnabled initial=true
98 acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
99 acceleratedCompositingForOverflowScrollEnabled initial=false
100 rubberBandingForSubScrollableRegionsEnabled initial=true, conditional=RUBBER_BANDING
101
102 experimentalNotificationsEnabled initial=false
103 webGLEnabled initial=false
104 webGLErrorsToConsoleEnabled initial=true
105 openGLMultisamplingEnabled initial=true
106 privilegedWebGLExtensionsEnabled initial=false
107 forceSoftwareWebGLRendering initial=false
108 accelerated2dCanvasEnabled initial=false
109 antialiased2dCanvasEnabled initial=true
110 loadDeferringEnabled initial=true
111 webAudioEnabled initial=false
112 paginateDuringLayoutEnabled initial=false
113 fullScreenEnabled initial=false, conditional=FULLSCREEN_API
114 asynchronousSpellCheckingEnabled initial=false
115 mediaStreamEnabled initial=false
116
117 # This feature requires an implementation of ValidationMessageClient.
118 interactiveFormValidationEnabled initial=false
119
120 usePreHTML5ParserQuirks initial=false
121 hyperlinkAuditingEnabled initial=false
122 crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
123 forceCompositingMode initial=false
124 shouldInjectUserScriptsInInitialEmptyDocument initial=false
125 fixedElementsLayoutRelativeToFrame initial=false
126 allowDisplayOfInsecureContent initial=false
127 allowRunningOfInsecureContent initial=false
128 requiresUserGestureForMediaPlayback initial=defaultRequiresUserGestureForMediaPlayback
129 audioPlaybackRequiresUserGesture initial=defaultAudioPlaybackRequiresUserGesture
130 allowsInlineMediaPlayback initial=defaultAllowsInlineMediaPlayback
131 allowsPictureInPictureMediaPlayback initial=defaultAllowsPictureInPictureMediaPlayback
132 mediaControlsScaleWithPageZoom initial=defaultMediaControlsScaleWithPageZoom
133 passwordEchoEnabled initial=false
134 suppressesIncrementalRendering initial=false
135 incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
136 backspaceKeyNavigationEnabled initial=true
137 shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
138 shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
139 shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
140 scrollingCoordinatorEnabled initial=false
141 scrollingTreeIncludesFrames initial=defaultScrollingTreeIncludesFrames
142 scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
143 forceUpdateScrollbarsOnMainThreadForPerformanceTesting initial=false
144 notificationsEnabled initial=true
145
146 # Some apps needs isLoadingInAPISense to account for active subresource loaders.
147 needsIsLoadingInAPISenseQuirk initial=false
148
149 shouldRespectImageOrientation initial=defaultShouldRespectImageOrientation
150 imageSubsamplingEnabled initial=defaultImageSubsamplingEnabled
151 wantsBalancedSetDefersLoadingBehavior initial=false
152 requestAnimationFrameEnabled initial=true
153
154 fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
155 syncXHRInDocumentsEnabled initial=true
156 cookieEnabled initial=true
157 mediaEnabled initial=true
158 DOMPasteAllowed initial=false
159
160 # When enabled, window.blur() does not change focus, and
161 # window.focus() only changes focus when invoked from the context that
162 # created the window.
163 windowFocusRestricted initial=true
164
165 diagnosticLoggingEnabled initial=false
166 applyDeviceScaleFactorInCompositor initial=true
167 delegatesPageScaling initial=false
168 plugInSnapshottingEnabled initial=false
169 snapshotAllPlugIns initial=false
170 autostartOriginPlugInSnapshottingEnabled initial=true
171 primaryPlugInSnapshotDetectionEnabled initial=true
172 maximumPlugInSnapshotAttempts type=unsigned, initial=20
173 frameFlatteningEnabled initial=false
174
175 allowCustomScrollbarInMainFrame initial=true
176 webSecurityEnabled initial=true
177 spatialNavigationEnabled initial=false
178
179 autoscrollForDragAndDropEnabled initial=false
180
181 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
182
183 logsPageMessagesToSystemConsoleEnabled initial=false
184
185 backForwardCacheExpirationInterval type=double, initial=1800
186
187 # Some apps could have a default video poster if it is not set.
188 defaultVideoPosterURL type=String
189
190 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
191 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
192
193 selectionIncludesAltImageText initial=true
194 useLegacyBackgroundSizeShorthandBehavior initial=false
195 fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
196
197 minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
198
199 simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
200 simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
201
202 subpixelCSSOMElementMetricsEnabled initial=false
203
204 mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE
205
206 # FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
207 allowMultiElementImplicitSubmission initial=false
208
209 allowsAirPlayForMediaPlayback initial=true, conditional=WIRELESS_PLAYBACK_TARGET
210
211 shouldConvertPositionStyleOnCopy initial=false
212
213 maxParseDuration type=double, initial=-1
214 standalone initial=false
215 telephoneNumberParsingEnabled initial=false
216 mediaDataLoadsAutomatically initial=false
217 shouldTransformsAffectOverflow initial=true
218 shouldDispatchJavaScriptWindowOnErrorEvents initial=false
219 alwaysUseAcceleratedOverflowScroll initial=false
220 imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS
221
222 enableInheritURIQueryComponent initial=false
223
224 aggressiveTileRetentionEnabled initial=false
225 temporaryTileCohortRetentionEnabled initial=true
226
227 useImageDocumentForSubframePDF initial=false
228
229 # Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes
230 # of 1080p video and stereo audio.
231 maximumSourceBufferSize type=int, initial=318767104, conditional=MEDIA_SOURCE
232
233 longMousePressEnabled initial=false
234
235 serviceControlsEnabled initial=false, conditional=SERVICE_CONTROLS
236
237 ignoreViewportScalingConstraints initial=false
238
239 appleMailPaginationQuirkEnabled initial=false
240
241 attachmentElementEnabled initial=true, conditional=ATTACHMENT_ELEMENT
242
243 newBlockInsideInlineModelEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
244
245 metaRefreshEnabled initial=true