| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 shouldRespectImageOrientation initial=false | 111 shouldRespectImageOrientation initial=false |
| 112 | 112 |
| 113 # Limited use by features which behave differently depending on the input | 113 # Limited use by features which behave differently depending on the input |
| 114 # devices available. For example, the pointer and hover media queries. | 114 # devices available. For example, the pointer and hover media queries. |
| 115 # Note that we need to be careful when basing behavior or UI on this - | 115 # Note that we need to be careful when basing behavior or UI on this - |
| 116 # just because a device is present doesn't mean the user cares about it | 116 # just because a device is present doesn't mean the user cares about it |
| 117 # or uses it (i.e. Chromebook Pixel users generally don't want to give up | 117 # or uses it (i.e. Chromebook Pixel users generally don't want to give up |
| 118 # screen real estate just because they happen to have a touchscreen). | 118 # screen real estate just because they happen to have a touchscreen). |
| 119 deviceSupportsTouch initial=false | 119 deviceSupportsTouch initial=false |
| 120 deviceSupportsMouse initial=true | |
| 121 | 120 |
| 122 # This value indicates the number of simultaneous multi-touch points supported | 121 # This value indicates the number of simultaneous multi-touch points supported |
| 123 # by the currently connected screen/digitizer that supports the most points. | 122 # by the currently connected screen/digitizer that supports the most points. |
| 124 # From Pointer Events spec: | 123 # From Pointer Events spec: |
| 125 # http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints | 124 # http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints |
| 126 maxTouchPoints type=int, initial=0 | 125 maxTouchPoints type=int, initial=0 |
| 127 | 126 |
| 128 # Whether touch gestures should be "fuzzed" to nearest touch targets. | 127 # Whether touch gestures should be "fuzzed" to nearest touch targets. |
| 129 # It's expected that this is enabled everywhere by default, but it may be | 128 # It's expected that this is enabled everywhere by default, but it may be |
| 130 # disabled for testing purposes as the algorithm is not yet perfect. | 129 # disabled for testing purposes as the algorithm is not yet perfect. |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 | 424 |
| 426 # Whether download UI should be hidden for the current page content. | 425 # Whether download UI should be hidden for the current page content. |
| 427 hideDownloadUI initial=false | 426 hideDownloadUI initial=false |
| 428 | 427 |
| 429 # Whether or not to issue range requests for images and show placeholders. | 428 # Whether or not to issue range requests for images and show placeholders. |
| 430 fetchImagePlaceholders initial=false | 429 fetchImagePlaceholders initial=false |
| 431 | 430 |
| 432 # Whether the frame is a presentation receiver and should expose | 431 # Whether the frame is a presentation receiver and should expose |
| 433 # `navigator.presentation.receiver`. | 432 # `navigator.presentation.receiver`. |
| 434 presentationReceiver initial=false | 433 presentationReceiver initial=false |
| OLD | NEW |