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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 # Limited use by features which behave differently depending on the input | 149 # Limited use by features which behave differently depending on the input |
150 # devices available. For example, the pointer and hover media queries. | 150 # devices available. For example, the pointer and hover media queries. |
151 # Note that we need to be careful when basing behavior or UI on this - | 151 # Note that we need to be careful when basing behavior or UI on this - |
152 # just because a device is present doesn't mean the user cares about it | 152 # just because a device is present doesn't mean the user cares about it |
153 # or uses it (i.e. Chromebook Pixel users generally don't want to give up | 153 # or uses it (i.e. Chromebook Pixel users generally don't want to give up |
154 # screen real estate just because they happen to have a touchscreen). | 154 # screen real estate just because they happen to have a touchscreen). |
155 deviceSupportsTouch initial=false | 155 deviceSupportsTouch initial=false |
156 deviceSupportsMouse initial=true | 156 deviceSupportsMouse initial=true |
157 | 157 |
| 158 # This value indicates the number of simultaneous multi-touch points supported |
| 159 # by the currently connected screen/digitizer that supports the most points. |
| 160 # From Pointer Events spec: |
| 161 # http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints |
| 162 maxTouchPoints type=int, initial=0 |
| 163 |
158 # Whether touch gestures should be "fuzzed" to nearest touch targets. | 164 # Whether touch gestures should be "fuzzed" to nearest touch targets. |
159 # It's expected that this is enabled everywhere by default, but it may be | 165 # It's expected that this is enabled everywhere by default, but it may be |
160 # disabled for testing purposes as the algorithm is not yet perfect. | 166 # disabled for testing purposes as the algorithm is not yet perfect. |
161 # crbug.com/304895 tracks removal once we're satisfied with the algorithm. | 167 # crbug.com/304895 tracks removal once we're satisfied with the algorithm. |
162 touchAdjustmentEnabled initial=true | 168 touchAdjustmentEnabled initial=true |
163 | 169 |
164 # A mostly-stable performance optimization. crbug.com/304518 tracks removal. | 170 # A mostly-stable performance optimization. crbug.com/304518 tracks removal. |
165 compositorTouchHitTesting initial=true | 171 compositorTouchHitTesting initial=true |
166 | 172 |
167 fixedPositionCreatesStackingContext initial=false | 173 fixedPositionCreatesStackingContext initial=false |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 # Settings for experimental desktop pinch-zoom support (with semantics | 237 # Settings for experimental desktop pinch-zoom support (with semantics |
232 # optimized for large screens). Pinch-zoom generally is implemented mainly | 238 # optimized for large screens). Pinch-zoom generally is implemented mainly |
233 # outside of blink (in the compositor) and doesn't require any settings. | 239 # outside of blink (in the compositor) and doesn't require any settings. |
234 # These settings are for an experimental modification to how pinch-zoom | 240 # These settings are for an experimental modification to how pinch-zoom |
235 # behaves. TODO(wjmaclean): link to design document. | 241 # behaves. TODO(wjmaclean): link to design document. |
236 # crbug.com/304869 tracks removal. | 242 # crbug.com/304869 tracks removal. |
237 pinchVirtualViewportEnabled initial=false | 243 pinchVirtualViewportEnabled initial=false |
238 useSolidColorScrollbars initial=false | 244 useSolidColorScrollbars initial=false |
239 | 245 |
240 mainFrameClipsContent initial=true | 246 mainFrameClipsContent initial=true |
OLD | NEW |