| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 # screen real estate just because they happen to have a touchscreen). | 79 # screen real estate just because they happen to have a touchscreen). |
| 80 deviceSupportsTouch initial=false | 80 deviceSupportsTouch initial=false |
| 81 deviceSupportsMouse initial=true | 81 deviceSupportsMouse initial=true |
| 82 | 82 |
| 83 # This value indicates the number of simultaneous multi-touch points supported | 83 # This value indicates the number of simultaneous multi-touch points supported |
| 84 # by the currently connected screen/digitizer that supports the most points. | 84 # by the currently connected screen/digitizer that supports the most points. |
| 85 # From Pointer Events spec: | 85 # From Pointer Events spec: |
| 86 # http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints | 86 # http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints |
| 87 maxTouchPoints type=int, initial=0 | 87 maxTouchPoints type=int, initial=0 |
| 88 | 88 |
| 89 # Whether touch gestures should be "fuzzed" to nearest touch targets. | |
| 90 # It's expected that this is enabled everywhere by default, but it may be | |
| 91 # disabled for testing purposes as the algorithm is not yet perfect. | |
| 92 # crbug.com/304895 tracks removal once we're satisfied with the algorithm. | |
| 93 touchAdjustmentEnabled initial=true | |
| 94 | |
| 95 DOMPasteAllowed initial=false | 89 DOMPasteAllowed initial=false |
| 96 | 90 |
| 97 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled | 91 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled |
| 98 | 92 |
| 99 # Some apps could have a default video poster if it is not set. | 93 # Some apps could have a default video poster if it is not set. |
| 100 defaultVideoPosterURL type=String | 94 defaultVideoPosterURL type=String |
| 101 | 95 |
| 102 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled | 96 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled |
| 103 | 97 |
| 104 selectionIncludesAltImageText initial=false | 98 selectionIncludesAltImageText initial=false |
| (...skipping 27 matching lines...) Expand all Loading... |
| 132 | 126 |
| 133 # These values are bit fields for the properties of available pointing devices | 127 # These values are bit fields for the properties of available pointing devices |
| 134 # and may take on multiple values (e.g. laptop with touchpad and touchscreen | 128 # and may take on multiple values (e.g. laptop with touchpad and touchscreen |
| 135 # has pointerType coarse *and* fine). | 129 # has pointerType coarse *and* fine). |
| 136 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery | 130 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery |
| 137 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery | 131 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery |
| 138 | 132 |
| 139 # These values specify properties of the user's primary pointing device only. | 133 # These values specify properties of the user's primary pointing device only. |
| 140 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery | 134 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery |
| 141 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery | 135 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery |
| OLD | NEW |