| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 localStorageEnabled initial=false | 62 localStorageEnabled initial=false |
| 63 allowUniversalAccessFromFileURLs initial=true | 63 allowUniversalAccessFromFileURLs initial=true |
| 64 allowFileAccessFromFileURLs initial=true | 64 allowFileAccessFromFileURLs initial=true |
| 65 javaScriptCanOpenWindowsAutomatically initial=false | 65 javaScriptCanOpenWindowsAutomatically initial=false |
| 66 supportsMultipleWindows initial=true | 66 supportsMultipleWindows initial=true |
| 67 javaScriptCanAccessClipboard initial=false | 67 javaScriptCanAccessClipboard initial=false |
| 68 shouldPrintBackgrounds initial=false | 68 shouldPrintBackgrounds initial=false |
| 69 shouldClearDocumentBackground initial=true | 69 shouldClearDocumentBackground initial=true |
| 70 | 70 |
| 71 textAreasAreResizable initial=false, invalidate=Style | 71 textAreasAreResizable initial=false, invalidate=Style |
| 72 acceleratedCompositingEnabled initial=true, invalidate=Style | 72 acceleratedCompositingEnabled initial=true, invalidate=AcceleratedCompositing |
| 73 | 73 |
| 74 # Debugging feature used for accelerated compositing layers. | 74 # Debugging feature used for accelerated compositing layers. |
| 75 showRepaintCounter initial=false, invalidate=Style | 75 showRepaintCounter initial=false, invalidate=AcceleratedCompositing |
| 76 | 76 |
| 77 shrinksStandaloneImagesToFit initial=true | 77 shrinksStandaloneImagesToFit initial=true |
| 78 | 78 |
| 79 # FIXME: Does this do anything now that we don't support page cache? | 79 # FIXME: Does this do anything now that we don't support page cache? |
| 80 pageCacheSupportsPlugins initial=false | 80 pageCacheSupportsPlugins initial=false |
| 81 | 81 |
| 82 needsSiteSpecificQuirks initial=false | 82 needsSiteSpecificQuirks initial=false |
| 83 offlineWebApplicationCacheEnabled initial=false | 83 offlineWebApplicationCacheEnabled initial=false |
| 84 usesEncodingDetector initial=false | 84 usesEncodingDetector initial=false |
| 85 allowScriptsToCloseWindows initial=false | 85 allowScriptsToCloseWindows initial=false |
| 86 deferredFiltersEnabled initial=false | 86 deferredFiltersEnabled initial=false |
| 87 regionBasedColumnsEnabled initial=false | 87 regionBasedColumnsEnabled initial=false |
| 88 | 88 |
| 89 containerCullingEnabled initial=false | 89 containerCullingEnabled initial=false |
| 90 | 90 |
| 91 # FIXME: This should really be disabled by default as it makes platforms that | 91 # FIXME: This should really be disabled by default as it makes platforms that |
| 92 # don't support the feature download files they can't use by. | 92 # don't support the feature download files they can't use by. |
| 93 # Leaving enabled for now to not change existing behavior. | 93 # Leaving enabled for now to not change existing behavior. |
| 94 downloadableBinaryFontsEnabled initial=true | 94 downloadableBinaryFontsEnabled initial=true |
| 95 | 95 |
| 96 xssAuditorEnabled initial=false | 96 xssAuditorEnabled initial=false |
| 97 unsafePluginPastingEnabled initial=true | 97 unsafePluginPastingEnabled initial=true |
| 98 treatIPAddressAsDomain initial=false | 98 treatIPAddressAsDomain initial=false |
| 99 | 99 |
| 100 acceleratedCompositingFor3DTransformsEnabled initial=true | 100 acceleratedCompositingFor3DTransformsEnabled initial=true, invalidate=Accelerate
dCompositing |
| 101 acceleratedCompositingForVideoEnabled initial=true | 101 acceleratedCompositingForVideoEnabled initial=true, invalidate=AcceleratedCompos
iting |
| 102 acceleratedCompositingForPluginsEnabled initial=true | 102 acceleratedCompositingForPluginsEnabled initial=true, invalidate=AcceleratedComp
ositing |
| 103 acceleratedCompositingForCanvasEnabled initial=true | 103 acceleratedCompositingForCanvasEnabled initial=true, invalidate=AcceleratedCompo
siting |
| 104 acceleratedCompositingForAnimationEnabled initial=true | 104 acceleratedCompositingForAnimationEnabled initial=true, invalidate=AcceleratedCo
mpositing |
| 105 acceleratedCompositingForFiltersEnabled initial=false | 105 acceleratedCompositingForFiltersEnabled initial=false, invalidate=AcceleratedCom
positing |
| 106 acceleratedCompositingForFixedPositionEnabled initial=false | 106 acceleratedCompositingForFixedPositionEnabled initial=false |
| 107 acceleratedCompositingForOverflowScrollEnabled initial=false | 107 acceleratedCompositingForOverflowScrollEnabled initial=false, invalidate=Acceler
atedCompositing |
| 108 acceleratedCompositingForFixedRootBackgroundEnabled initial=false | 108 acceleratedCompositingForFixedRootBackgroundEnabled initial=false |
| 109 acceleratedCompositingForGpuRasterizationHintEnabled initial=false | 109 acceleratedCompositingForGpuRasterizationHintEnabled initial=false, invalidate=A
cceleratedCompositing |
| 110 | 110 |
| 111 forceCompositingMode initial=false | 111 forceCompositingMode initial=false, invalidate=AcceleratedCompositing |
| 112 | 112 |
| 113 # Works only in conjunction with forceCompositingMode. | 113 # Works only in conjunction with forceCompositingMode. |
| 114 # crbug.com/304900 tracks removal once enabled on all platforms. | 114 # crbug.com/304900 tracks removal once enabled on all platforms. |
| 115 acceleratedCompositingForScrollableFramesEnabled initial=false | 115 acceleratedCompositingForScrollableFramesEnabled initial=false, invalidate=Accel
eratedCompositing |
| 116 compositedScrollingForFramesEnabled initial=false | 116 compositedScrollingForFramesEnabled initial=false |
| 117 | 117 |
| 118 # 3D canvas (WebGL) support. | 118 # 3D canvas (WebGL) support. |
| 119 webGLEnabled initial=false | 119 webGLEnabled initial=false |
| 120 | 120 |
| 121 webGLErrorsToConsoleEnabled initial=true | 121 webGLErrorsToConsoleEnabled initial=true |
| 122 privilegedWebGLExtensionsEnabled initial=false | 122 privilegedWebGLExtensionsEnabled initial=false |
| 123 accelerated2dCanvasEnabled initial=false | 123 accelerated2dCanvasEnabled initial=false |
| 124 antialiased2dCanvasEnabled initial=true | 124 antialiased2dCanvasEnabled initial=true |
| 125 accelerated2dCanvasMSAASampleCount type=int, initial=0 | 125 accelerated2dCanvasMSAASampleCount type=int, initial=0 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 javaEnabled initial=false | 264 javaEnabled initial=false |
| 265 pluginsEnabled initial=false | 265 pluginsEnabled initial=false |
| 266 | 266 |
| 267 viewportEnabled initial=false, invalidate=ViewportDescription | 267 viewportEnabled initial=false, invalidate=ViewportDescription |
| 268 viewportMetaEnabled initial=false | 268 viewportMetaEnabled initial=false |
| 269 | 269 |
| 270 dnsPrefetchingEnabled initial=false, invalidate=DNSPrefetching | 270 dnsPrefetchingEnabled initial=false, invalidate=DNSPrefetching |
| 271 | 271 |
| 272 touchEventEmulationEnabled initial=false | 272 touchEventEmulationEnabled initial=false |
| 273 | 273 |
| 274 | |
| 275 # FIXME: This is a temporary flag and should be removed once | 274 # FIXME: This is a temporary flag and should be removed once |
| 276 # accelerated overflow scroll is ready (crbug.com/254111). | 275 # accelerated overflow scroll is ready (crbug.com/254111). |
| 277 compositorDrivenAcceleratedScrollingEnabled initial=false | 276 compositorDrivenAcceleratedScrollingEnabled initial=false, invalidate=Accelerate
dCompositing |
| 278 | 277 |
| 279 # FIXME: This is a temporary flag and should be removed | 278 # FIXME: This is a temporary flag and should be removed |
| 280 # when squashing is ready. (crbug.com/261605) | 279 # when squashing is ready. (crbug.com/261605) |
| 281 layerSquashingEnabled initial=false | 280 layerSquashingEnabled initial=false |
| 282 | 281 |
| 283 # Clients that execute script should call ScriptController::canExecuteScripts() | 282 # Clients that execute script should call ScriptController::canExecuteScripts() |
| 284 # instead of this function. ScriptController::canExecuteScripts() checks the | 283 # instead of this function. ScriptController::canExecuteScripts() checks the |
| 285 # HTML sandbox, plug-in sandboxing, and other important details. | 284 # HTML sandbox, plug-in sandboxing, and other important details. |
| 286 scriptEnabled initial=false, invalidate=ScriptEnable | 285 scriptEnabled initial=false, invalidate=ScriptEnable |
| 287 | 286 |
| 288 # Compensates for poor text legibility on mobile devices. This value is | 287 # Compensates for poor text legibility on mobile devices. This value is |
| 289 # multiplied by the font scale factor when performing text autosizing of | 288 # multiplied by the font scale factor when performing text autosizing of |
| 290 # websites that do not set an explicit viewport description. | 289 # websites that do not set an explicit viewport description. |
| 291 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing | 290 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing |
| OLD | NEW |