| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled | 173 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled |
| 174 | 174 |
| 175 # Some apps could have a default video poster if it is not set. | 175 # Some apps could have a default video poster if it is not set. |
| 176 defaultVideoPosterURL type=String | 176 defaultVideoPosterURL type=String |
| 177 | 177 |
| 178 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled | 178 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled |
| 179 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled | 179 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled |
| 180 | 180 |
| 181 selectionIncludesAltImageText initial=false | 181 selectionIncludesAltImageText initial=false |
| 182 |
| 183 ######## Settings used by Android WebView below ######## |
| 184 |
| 182 useLegacyBackgroundSizeShorthandBehavior initial=false | 185 useLegacyBackgroundSizeShorthandBehavior initial=false |
| 183 | 186 |
| 184 # This quirk is to maintain compatibility with Android apps built on | 187 # This quirk is to maintain compatibility with Android apps built on |
| 185 # the Android SDK prior to and including version 18. | 188 # the Android SDK prior to and including version 18. |
| 186 # Presumably, this can be removed any time after 2015. | 189 # Presumably, this can be removed any time after 2015. |
| 187 # See http://crbug.com/282130. | 190 # See http://crbug.com/282130. |
| 188 viewportMetaZeroValuesQuirk initial=false | 191 viewportMetaZeroValuesQuirk initial=false |
| 189 | 192 |
| 190 # Another Android SDK <= 18 quirk, removable 2015. | 193 # Another Android SDK <= 18 quirk, removable 2015. |
| 191 # See http://crbug.com/295287 | 194 # See http://crbug.com/295287 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 202 # This quirk is to maintain compatibility with Android apps. | 205 # This quirk is to maintain compatibility with Android apps. |
| 203 # It will be possible to remove it once WebSettings.{get|set}UseWideViewPort | 206 # It will be possible to remove it once WebSettings.{get|set}UseWideViewPort |
| 204 # API function will be removed. | 207 # API function will be removed. |
| 205 # See http://crbug.com/288037. | 208 # See http://crbug.com/288037. |
| 206 wideViewportQuirkEnabled initial=false | 209 wideViewportQuirkEnabled initial=false |
| 207 | 210 |
| 208 # Used by the android_webview to support a horizontal height auto-sizing | 211 # Used by the android_webview to support a horizontal height auto-sizing |
| 209 # mode. | 212 # mode. |
| 210 forceZeroLayoutHeight initial=false, invalidate=ViewportDescription | 213 forceZeroLayoutHeight initial=false, invalidate=ViewportDescription |
| 211 | 214 |
| 215 mainFrameClipsContent initial=true |
| 216 |
| 217 # For android.webkit.WebSettings.setUseWideViewport() |
| 218 # http://developer.android.com/reference/android/webkit/WebSettings.html#setUseW
ideViewPort(boolean) |
| 219 useWideViewport initial=true, invalidate=ViewportDescription |
| 220 |
| 221 # For android.webkit.WebSettings.setLoadWithOverviewMode() |
| 222 # http://developer.android.com/reference/android/webkit/WebSettings.html#setLoad
WithOverviewMode(boolean) |
| 223 loadWithOverviewMode initial=true, invalidate=ViewportDescription |
| 224 |
| 225 ######## End of settings used by Android WebView ######## |
| 226 |
| 227 |
| 212 # Touch based text selection and editing on desktop. | 228 # Touch based text selection and editing on desktop. |
| 213 # crbug.com/304873 tracks removal once it's been enabled on all platforms. | 229 # crbug.com/304873 tracks removal once it's been enabled on all platforms. |
| 214 touchEditingEnabled initial=false | 230 touchEditingEnabled initial=false |
| 215 | 231 |
| 216 # Settings for experimental desktop pinch-zoom support (with semantics | 232 # Settings for experimental desktop pinch-zoom support (with semantics |
| 217 # optimized for large screens). Pinch-zoom generally is implemented mainly | 233 # optimized for large screens). Pinch-zoom generally is implemented mainly |
| 218 # outside of blink (in the compositor) and doesn't require any settings. | 234 # outside of blink (in the compositor) and doesn't require any settings. |
| 219 # These settings are for an experimental modification to how pinch-zoom | 235 # These settings are for an experimental modification to how pinch-zoom |
| 220 # behaves. TODO(wjmaclean): link to design document. | 236 # behaves. TODO(wjmaclean): link to design document. |
| 221 # crbug.com/304869 tracks removal. | 237 # crbug.com/304869 tracks removal. |
| 222 pinchVirtualViewportEnabled initial=false | 238 pinchVirtualViewportEnabled initial=false |
| 223 useSolidColorScrollbars initial=false | 239 useSolidColorScrollbars initial=false |
| 224 pinchOverlayScrollbarThickness type=int, initial=0 | 240 pinchOverlayScrollbarThickness type=int, initial=0 |
| 225 | 241 |
| 226 # The rubber-band overscroll effect is implemented in Blink and is being moved | 242 # The rubber-band overscroll effect is implemented in Blink and is being moved |
| 227 # to the compositor thread. This will be set to true and eventually removed. | 243 # to the compositor thread. This will be set to true and eventually removed. |
| 228 # crbug.com/133097 | 244 # crbug.com/133097 |
| 229 rubberBandingOnCompositorThread initial=false | 245 rubberBandingOnCompositorThread initial=false |
| 230 | 246 |
| 231 mainFrameClipsContent initial=true | |
| 232 | |
| 233 | |
| 234 # Presumably used by LayoutTests? Unclear. | |
| 235 useWideViewport initial=true, invalidate=ViewportDescription | |
| 236 loadWithOverviewMode initial=true, invalidate=ViewportDescription | |
| 237 | |
| 238 | |
| 239 # Font scale factor for accessibility, applied as part of text autosizing. | 247 # Font scale factor for accessibility, applied as part of text autosizing. |
| 240 accessibilityFontScaleFactor type=double, initial=1.0, invalidate=TextAutosizing | 248 accessibilityFontScaleFactor type=double, initial=1.0, invalidate=TextAutosizing |
| 241 | 249 |
| 242 # Only set by Layout Tests. | 250 # Only set by Layout Tests. |
| 243 mediaTypeOverride type=String, initial="screen", invalidate=MediaType | 251 mediaTypeOverride type=String, initial="screen", invalidate=MediaType |
| 244 displayModeOverride type=WebDisplayMode, initial=WebDisplayModeUndefined, invali
date=MediaQuery | 252 displayModeOverride type=WebDisplayMode, initial=WebDisplayModeUndefined, invali
date=MediaQuery |
| 245 | 253 |
| 246 # loadsImagesAutomatically only suppresses the network load of | 254 # loadsImagesAutomatically only suppresses the network load of |
| 247 # the image URL. A cached image will still be rendered if requested. | 255 # the image URL. A cached image will still be rendered if requested. |
| 248 loadsImagesAutomatically initial=false, invalidate=ImageLoading | 256 loadsImagesAutomatically initial=false, invalidate=ImageLoading |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 inlineTextBoxAccessibilityEnabled initial=false | 317 inlineTextBoxAccessibilityEnabled initial=false |
| 310 | 318 |
| 311 # If true, context menu will be shown on mouse up instead of mouse down. | 319 # If true, context menu will be shown on mouse up instead of mouse down. |
| 312 # Typically enabled on Windows to match platform convention. | 320 # Typically enabled on Windows to match platform convention. |
| 313 showContextMenuOnMouseUp initial=false | 321 showContextMenuOnMouseUp initial=false |
| 314 | 322 |
| 315 disableReadingFromCanvas initial=false | 323 disableReadingFromCanvas initial=false |
| 316 strictMixedContentChecking initial=false | 324 strictMixedContentChecking initial=false |
| 317 strictPowerfulFeatureRestrictions initial=false | 325 strictPowerfulFeatureRestrictions initial=false |
| 318 logDnsPrefetchAndPreconnect initial=false | 326 logDnsPrefetchAndPreconnect initial=false |
| OLD | NEW |