| OLD | NEW |
| 1 # Defines properties which are available on the Settings object. | 1 # Defines properties which are available on the Settings object. |
| 2 # | 2 # |
| 3 # Please think carefully before adding a new Setting. Some questions to | 3 # Please think carefully before adding a new Setting. Some questions to |
| 4 # consider are: | 4 # consider are: |
| 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things | 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things |
| 6 # which we support either values of at runtime. Features are set at renderer | 6 # which we support either values of at runtime. Features are set at renderer |
| 7 # process startup and are never changed. Features also tend to be set to a | 7 # process startup and are never changed. Features also tend to be set to a |
| 8 # value based on the platform or the stability of the code in question, where | 8 # value based on the platform or the stability of the code in question, where |
| 9 # as settings both codepaths need to be stable. | 9 # as settings both codepaths need to be stable. |
| 10 # - How will you ensure test coverage of all relevant values of your setting? | 10 # - How will you ensure test coverage of all relevant values of your setting? |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 # This setting adds a means to enable/disable touch initiated drag & drop. If | 152 # This setting adds a means to enable/disable touch initiated drag & drop. If |
| 153 # enabled, the user can initiate drag using long press. | 153 # enabled, the user can initiate drag using long press. |
| 154 # crbug.com/304894 tracks removal once it's been enabled on all platforms. | 154 # crbug.com/304894 tracks removal once it's been enabled on all platforms. |
| 155 touchDragDropEnabled initial=false | 155 touchDragDropEnabled initial=false |
| 156 | 156 |
| 157 # Some apps could have a default video poster if it is not set. | 157 # Some apps could have a default video poster if it is not set. |
| 158 defaultVideoPosterURL type=String | 158 defaultVideoPosterURL type=String |
| 159 | 159 |
| 160 smartInsertDeleteEnabled initial=false | 160 smartInsertDeleteEnabled initial=false |
| 161 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled | 161 selectTrailingWhitespaceEnabled initial=kDefaultSelectTrailingWhitespaceEnabled |
| 162 | 162 |
| 163 selectionIncludesAltImageText initial=false | 163 selectionIncludesAltImageText initial=false |
| 164 | 164 |
| 165 selectionStrategy type=SelectionStrategy, initial=SelectionStrategy::Character | 165 selectionStrategy type=SelectionStrategy, initial=SelectionStrategy::kCharacter |
| 166 | 166 |
| 167 ######## Settings used by Android WebView below ######## | 167 ######## Settings used by Android WebView below ######## |
| 168 | 168 |
| 169 useLegacyBackgroundSizeShorthandBehavior initial=false | 169 useLegacyBackgroundSizeShorthandBehavior initial=false |
| 170 | 170 |
| 171 # This quirk is to maintain compatibility with Android apps built on | 171 # This quirk is to maintain compatibility with Android apps built on |
| 172 # the Android SDK prior to and including version 18. | 172 # the Android SDK prior to and including version 18. |
| 173 # Presumably, this can be removed any time after 2015. | 173 # Presumably, this can be removed any time after 2015. |
| 174 # See http://crbug.com/282130. | 174 # See http://crbug.com/282130. |
| 175 viewportMetaZeroValuesQuirk initial=false | 175 viewportMetaZeroValuesQuirk initial=false |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 # The rubber-band overscroll effect is implemented in Blink and is being moved | 231 # The rubber-band overscroll effect is implemented in Blink and is being moved |
| 232 # to the compositor thread. This will be set to true and eventually removed. | 232 # to the compositor thread. This will be set to true and eventually removed. |
| 233 # crbug.com/133097 | 233 # crbug.com/133097 |
| 234 rubberBandingOnCompositorThread initial=false | 234 rubberBandingOnCompositorThread initial=false |
| 235 | 235 |
| 236 # Font scale factor for accessibility, applied as part of text autosizing. | 236 # Font scale factor for accessibility, applied as part of text autosizing. |
| 237 accessibilityFontScaleFactor type=double, initial=1.0, invalidate=TextAutosizing | 237 accessibilityFontScaleFactor type=double, initial=1.0, invalidate=TextAutosizing |
| 238 | 238 |
| 239 # Only used by Layout Tests and inspector emulation. | 239 # Only used by Layout Tests and inspector emulation. |
| 240 mediaTypeOverride type=String, initial="", invalidate=MediaQuery | 240 mediaTypeOverride type=String, initial="", invalidate=MediaQuery |
| 241 displayModeOverride type=WebDisplayMode, initial=WebDisplayModeUndefined, invali
date=MediaQuery | 241 displayModeOverride type=WebDisplayMode, initial=kWebDisplayModeUndefined, inval
idate=MediaQuery |
| 242 | 242 |
| 243 # loadsImagesAutomatically only suppresses the network load of | 243 # loadsImagesAutomatically only suppresses the network load of |
| 244 # the image URL. A cached image will still be rendered if requested. | 244 # the image URL. A cached image will still be rendered if requested. |
| 245 loadsImagesAutomatically initial=false, invalidate=ImageLoading | 245 loadsImagesAutomatically initial=false, invalidate=ImageLoading |
| 246 imagesEnabled initial=true, invalidate=ImageLoading | 246 imagesEnabled initial=true, invalidate=ImageLoading |
| 247 imageAnimationPolicy type=ImageAnimationPolicy, initial=ImageAnimationPolicyAllo
wed | 247 imageAnimationPolicy type=ImageAnimationPolicy, initial=kImageAnimationPolicyAll
owed |
| 248 | 248 |
| 249 # Number of outstanding and pending tokens allowed in the background HTML | 249 # Number of outstanding and pending tokens allowed in the background HTML |
| 250 # parser. A value of 0 indicates the parser should use its default value. | 250 # parser. A value of 0 indicates the parser should use its default value. |
| 251 backgroundHtmlParserOutstandingTokenLimit type=unsigned, initial=0 | 251 backgroundHtmlParserOutstandingTokenLimit type=unsigned, initial=0 |
| 252 backgroundHtmlParserPendingTokenLimit type=unsigned, initial=0 | 252 backgroundHtmlParserPendingTokenLimit type=unsigned, initial=0 |
| 253 | 253 |
| 254 # Html preload scanning is a fast, early scan of HTML documents to find loadable | 254 # Html preload scanning is a fast, early scan of HTML documents to find loadable |
| 255 # resources before the parser advances to them. If it is disabled, resources wil
l | 255 # resources before the parser advances to them. If it is disabled, resources wil
l |
| 256 # be loaded later. | 256 # be loaded later. |
| 257 doHtmlPreloadScanning initial=true | 257 doHtmlPreloadScanning initial=true |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 # 'false' in that case. | 291 # 'false' in that case. |
| 292 maxBeaconTransmission type=int, initial=65536 | 292 maxBeaconTransmission type=int, initial=65536 |
| 293 | 293 |
| 294 # This value is set to false if the platform does not support fullscreen. | 294 # This value is set to false if the platform does not support fullscreen. |
| 295 # When set to false all the requests to enter fullscreen will return an error | 295 # When set to false all the requests to enter fullscreen will return an error |
| 296 # (fullscreenerror or webkitfullscreenerror) as specified in the standard: | 296 # (fullscreenerror or webkitfullscreenerror) as specified in the standard: |
| 297 # http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen | 297 # http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen |
| 298 fullscreenSupported initial=true | 298 fullscreenSupported initial=true |
| 299 | 299 |
| 300 # V8 supports different types of caching. Used by V8 bindings. | 300 # V8 supports different types of caching. Used by V8 bindings. |
| 301 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsDefault | 301 v8CacheOptions type=V8CacheOptions, initial=kV8CacheOptionsDefault |
| 302 | 302 |
| 303 # V8 code cache for CacheStorage supports three types of strategies (none, norma
l and aggressive). | 303 # V8 code cache for CacheStorage supports three types of strategies (none, norma
l and aggressive). |
| 304 v8CacheStrategiesForCacheStorage type=V8CacheStrategiesForCacheStorage, initial=
V8CacheStrategiesForCacheStorage::Default | 304 v8CacheStrategiesForCacheStorage type=V8CacheStrategiesForCacheStorage, initial=
V8CacheStrategiesForCacheStorage::kDefault |
| 305 | 305 |
| 306 # These values are bit fields for the properties of available pointing devices | 306 # These values are bit fields for the properties of available pointing devices |
| 307 # and may take on multiple values (e.g. laptop with touchpad and touchscreen | 307 # and may take on multiple values (e.g. laptop with touchpad and touchscreen |
| 308 # has pointerType coarse *and* fine). | 308 # has pointerType coarse *and* fine). |
| 309 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery | 309 availablePointerTypes type=int, initial=kPointerTypeNone, invalidate=MediaQuery |
| 310 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery | 310 availableHoverTypes type=int, initial=kHoverTypeNone, invalidate=MediaQuery |
| 311 | 311 |
| 312 # These values specify properties of the user's primary pointing device only. | 312 # These values specify properties of the user's primary pointing device only. |
| 313 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery | 313 primaryPointerType type=PointerType, initial=kPointerTypeNone, invalidate=MediaQ
uery |
| 314 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery | 314 primaryHoverType type=HoverType, initial=kHoverTypeNone, invalidate=MediaQuery |
| 315 | 315 |
| 316 # Whether accessibility support is enabled at all. | 316 # Whether accessibility support is enabled at all. |
| 317 accessibilityEnabled initial=false, invalidate=AccessibilityState | 317 accessibilityEnabled initial=false, invalidate=AccessibilityState |
| 318 | 318 |
| 319 # If true, the value in password fields is exposed to assistive technologies. | 319 # If true, the value in password fields is exposed to assistive technologies. |
| 320 accessibilityPasswordValuesEnabled initial=false | 320 accessibilityPasswordValuesEnabled initial=false |
| 321 | 321 |
| 322 # If true, static text nodes expose inline text box children. | 322 # If true, static text nodes expose inline text box children. |
| 323 inlineTextBoxAccessibilityEnabled initial=false | 323 inlineTextBoxAccessibilityEnabled initial=false |
| 324 | 324 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 336 strictMixedContentCheckingForPlugin initial=false | 336 strictMixedContentCheckingForPlugin initial=false |
| 337 strictPowerfulFeatureRestrictions initial=false | 337 strictPowerfulFeatureRestrictions initial=false |
| 338 strictlyBlockBlockableMixedContent initial=false | 338 strictlyBlockBlockableMixedContent initial=false |
| 339 allowGeolocationOnInsecureOrigins initial=false | 339 allowGeolocationOnInsecureOrigins initial=false |
| 340 logDnsPrefetchAndPreconnect initial=false | 340 logDnsPrefetchAndPreconnect initial=false |
| 341 logPreload initial=false | 341 logPreload initial=false |
| 342 | 342 |
| 343 # These values specify the UA intial viewport style. | 343 # These values specify the UA intial viewport style. |
| 344 # It is dynamically set by the inspector for mobile emulation and can be | 344 # It is dynamically set by the inspector for mobile emulation and can be |
| 345 # used by content embedders to specify custom style on certain platforms. | 345 # used by content embedders to specify custom style on certain platforms. |
| 346 viewportStyle type=WebViewportStyle, initial=WebViewportStyle::Default, invalida
te=ViewportRule | 346 viewportStyle type=WebViewportStyle, initial=WebViewportStyle::kDefault, invalid
ate=ViewportRule |
| 347 | 347 |
| 348 # Automatic track selection is performed based on user preference for track kind
specified | 348 # Automatic track selection is performed based on user preference for track kind
specified |
| 349 # by this setting. | 349 # by this setting. |
| 350 textTrackKindUserPreference type=TextTrackKindUserPreference, initial=TextTrackK
indUserPreference::Default, invalidate=TextTrackKindUserPreference | 350 textTrackKindUserPreference type=TextTrackKindUserPreference, initial=TextTrackK
indUserPreference::kDefault, invalidate=TextTrackKindUserPreference |
| 351 | 351 |
| 352 # User style overrides for captions and subtitles | 352 # User style overrides for captions and subtitles |
| 353 textTrackBackgroundColor type=String | 353 textTrackBackgroundColor type=String |
| 354 textTrackFontFamily type=String | 354 textTrackFontFamily type=String |
| 355 textTrackFontStyle type=String | 355 textTrackFontStyle type=String |
| 356 textTrackFontVariant type=String | 356 textTrackFontVariant type=String |
| 357 textTrackTextColor type=String | 357 textTrackTextColor type=String |
| 358 textTrackTextShadow type=String | 358 textTrackTextShadow type=String |
| 359 textTrackTextSize type=String | 359 textTrackTextSize type=String |
| 360 | 360 |
| 361 # Margin for title-safe placement of cues with overscan, gives top and bottom ma
rgin size as | 361 # Margin for title-safe placement of cues with overscan, gives top and bottom ma
rgin size as |
| 362 # percentage of video element height (for horizontal text) into which cues will
not be placed. | 362 # percentage of video element height (for horizontal text) into which cues will
not be placed. |
| 363 textTrackMarginPercentage type=double, initial=0 | 363 textTrackMarginPercentage type=double, initial=0 |
| 364 | 364 |
| 365 lowPriorityIframes initial=false | 365 lowPriorityIframes initial=false |
| 366 | 366 |
| 367 progressBarCompletion type=ProgressBarCompletion, initial=ProgressBarCompletion:
:LoadEvent | 367 progressBarCompletion type=ProgressBarCompletion, initial=ProgressBarCompletion:
:kLoadEvent |
| 368 | 368 |
| 369 historyEntryRequiresUserGesture initial=false | 369 historyEntryRequiresUserGesture initial=false |
| 370 | 370 |
| 371 # Do we want to try to save screen real estate in the media player by hiding | 371 # Do we want to try to save screen real estate in the media player by hiding |
| 372 # the volume slider / mute button? | 372 # the volume slider / mute button? |
| 373 preferHiddenVolumeControls initial=false | 373 preferHiddenVolumeControls initial=false |
| 374 | 374 |
| 375 # Whether to disallow network fetches for parser blocking scripts in the main | 375 # Whether to disallow network fetches for parser blocking scripts in the main |
| 376 # frame inserted via document.write, for users on 2G or connections that are | 376 # frame inserted via document.write, for users on 2G or connections that are |
| 377 # effectively 2G. | 377 # effectively 2G. |
| 378 disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G initial=false | 378 disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G initial=false |
| 379 | 379 |
| 380 # Whether to disallow network fetches for parser blocking scripts in the main | 380 # Whether to disallow network fetches for parser blocking scripts in the main |
| 381 # frame inserted via document.write, for users on slow connections. | 381 # frame inserted via document.write, for users on slow connections. |
| 382 disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections initial=false | 382 disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections initial=false |
| 383 | 383 |
| 384 # Whether to disallow network fetches for parser blocking scripts in the main | 384 # Whether to disallow network fetches for parser blocking scripts in the main |
| 385 # frame inserted via document.write, regardless of connection type. | 385 # frame inserted via document.write, regardless of connection type. |
| 386 disallowFetchForDocWrittenScriptsInMainFrame initial=false | 386 disallowFetchForDocWrittenScriptsInMainFrame initial=false |
| 387 | 387 |
| 388 # Whether to invalidate device-dependent media queries and restore scroll positi
ons | 388 # Whether to invalidate device-dependent media queries and restore scroll positi
ons |
| 389 # on frame resize assuming device rotation. | 389 # on frame resize assuming device rotation. |
| 390 mainFrameResizesAreOrientationChanges initial=false | 390 mainFrameResizesAreOrientationChanges initial=false |
| 391 | 391 |
| 392 # Ability to override the default 'passive' value in AddEventListenerOptions. Th
is | 392 # Ability to override the default 'passive' value in AddEventListenerOptions. Th
is |
| 393 # is useful to demonstrate the power of passive event listeners. This can be rem
oved | 393 # is useful to demonstrate the power of passive event listeners. This can be rem
oved |
| 394 # when there is greater adoption, interventions to force it on and associated de
vtools | 394 # when there is greater adoption, interventions to force it on and associated de
vtools |
| 395 # to enable it have been shipped. | 395 # to enable it have been shipped. |
| 396 passiveListenerDefault type=PassiveListenerDefault, initial=PassiveListenerDefau
lt::False | 396 passiveListenerDefault type=PassiveListenerDefault, initial=PassiveListenerDefau
lt::kFalse |
| 397 | 397 |
| 398 # Use default interpolation quality to scale bitmap images if quality is not det
ermined | 398 # Use default interpolation quality to scale bitmap images if quality is not det
ermined |
| 399 # in other ways. This can help us writing reftests containing scaled images. | 399 # in other ways. This can help us writing reftests containing scaled images. |
| 400 useDefaultImageInterpolationQuality initial=false | 400 useDefaultImageInterpolationQuality initial=false |
| 401 | 401 |
| 402 # Variant of the ParseHTMLOnMainThread experiment. One experiment immediately | 402 # Variant of the ParseHTMLOnMainThread experiment. One experiment immediately |
| 403 # tokenizes input bytes. The default is to tokenize with a post task. | 403 # tokenizes input bytes. The default is to tokenize with a post task. |
| 404 parseHTMLOnMainThreadSyncTokenize initial=false | 404 parseHTMLOnMainThreadSyncTokenize initial=false |
| 405 | 405 |
| 406 # Variant of the ParseHTMLOnMainThread experiment. This is designed to coalesce | 406 # Variant of the ParseHTMLOnMainThread experiment. This is designed to coalesce |
| (...skipping 19 matching lines...) Expand all Loading... |
| 426 | 426 |
| 427 # Whether download UI should be hidden for the current page content. | 427 # Whether download UI should be hidden for the current page content. |
| 428 hideDownloadUI initial=false | 428 hideDownloadUI initial=false |
| 429 | 429 |
| 430 # Whether or not to issue range requests for images and show placeholders. | 430 # Whether or not to issue range requests for images and show placeholders. |
| 431 fetchImagePlaceholders initial=false | 431 fetchImagePlaceholders initial=false |
| 432 | 432 |
| 433 # Whether the frame is a presentation receiver and should expose | 433 # Whether the frame is a presentation receiver and should expose |
| 434 # `navigator.presentation.receiver`. | 434 # `navigator.presentation.receiver`. |
| 435 presentationReceiver initial=false | 435 presentationReceiver initial=false |
| OLD | NEW |