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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 mainFrameClipsContent initial=true | 207 mainFrameClipsContent initial=true |
208 | 208 |
209 # For android.webkit.WebSettings.setUseWideViewport() | 209 # For android.webkit.WebSettings.setUseWideViewport() |
210 # http://developer.android.com/reference/android/webkit/WebSettings.html#setUseW
ideViewPort(boolean) | 210 # http://developer.android.com/reference/android/webkit/WebSettings.html#setUseW
ideViewPort(boolean) |
211 useWideViewport initial=true, invalidate=ViewportDescription | 211 useWideViewport initial=true, invalidate=ViewportDescription |
212 | 212 |
213 # For android.webkit.WebSettings.setLoadWithOverviewMode() | 213 # For android.webkit.WebSettings.setLoadWithOverviewMode() |
214 # http://developer.android.com/reference/android/webkit/WebSettings.html#setLoad
WithOverviewMode(boolean) | 214 # http://developer.android.com/reference/android/webkit/WebSettings.html#setLoad
WithOverviewMode(boolean) |
215 loadWithOverviewMode initial=true, invalidate=ViewportDescription | 215 loadWithOverviewMode initial=true, invalidate=ViewportDescription |
216 | 216 |
| 217 # Used by android_webview to support legacy apps that inject script into a top-l
evel initial empty |
| 218 # document and expect it to persist on navigation, even though the origin is uni
que. Note that this |
| 219 # behavior violates the requirements described by [Initialising a new Document o
bject] in |
| 220 # https://html.spec.whatwg.org/multipage/browsers.html#navigating-across-documen
ts. |
| 221 shouldReuseGlobalForUnownedMainFrame initial=false |
| 222 |
217 ######## End of settings used by Android WebView ######## | 223 ######## End of settings used by Android WebView ######## |
218 | 224 |
219 | 225 |
220 # Touch based text selection and editing on desktop. | 226 # Touch based text selection and editing on desktop. |
221 # crbug.com/304873 tracks removal once it's been enabled on all platforms. | 227 # crbug.com/304873 tracks removal once it's been enabled on all platforms. |
222 touchEditingEnabled initial=false | 228 touchEditingEnabled initial=false |
223 | 229 |
224 # Settings for experimental desktop pinch-zoom support (with semantics | 230 # Settings for experimental desktop pinch-zoom support (with semantics |
225 # optimized for large screens). Pinch-zoom generally is implemented mainly | 231 # optimized for large screens). Pinch-zoom generally is implemented mainly |
226 # outside of blink (in the compositor) and doesn't require any settings. | 232 # outside of blink (in the compositor) and doesn't require any settings. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 # The autoplay gesture override experiment is described in crbug.com/487345 . | 390 # The autoplay gesture override experiment is described in crbug.com/487345 . |
385 autoplayExperimentMode type=String, initial="off" | 391 autoplayExperimentMode type=String, initial="off" |
386 | 392 |
387 # When DevTools is emulating mobile device, frame resize may mean device size ha
s changed, | 393 # When DevTools is emulating mobile device, frame resize may mean device size ha
s changed, |
388 # which in turn affects media queries. | 394 # which in turn affects media queries. |
389 resizeIsDeviceSizeChange initial=false | 395 resizeIsDeviceSizeChange initial=false |
390 | 396 |
391 # Whether the browser process sends gesture events for wheel events. | 397 # Whether the browser process sends gesture events for wheel events. |
392 # Can be removed when crbug.com/598798 is fixed. | 398 # Can be removed when crbug.com/598798 is fixed. |
393 wheelGesturesEnabled initial=false | 399 wheelGesturesEnabled initial=false |
OLD | NEW |