| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 # Some apps could have a default video poster if it is not set. | 134 # Some apps could have a default video poster if it is not set. |
| 135 defaultVideoPosterURL type=String | 135 defaultVideoPosterURL type=String |
| 136 | 136 |
| 137 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled | 137 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled |
| 138 | 138 |
| 139 selectionIncludesAltImageText initial=false | 139 selectionIncludesAltImageText initial=false |
| 140 | 140 |
| 141 # Used by the android_webview to support a horizontal height auto-sizing | 141 # Used by the android_webview to support a horizontal height auto-sizing |
| 142 # mode. | 142 # mode. |
| 143 forceZeroLayoutHeight initial=false, invalidate=ViewportDescription | 143 forceZeroLayoutHeight initial=false |
| 144 | 144 |
| 145 # Touch based text selection and editing on desktop. | 145 # Touch based text selection and editing on desktop. |
| 146 # crbug.com/304873 tracks removal once it's been enabled on all platforms. | 146 # crbug.com/304873 tracks removal once it's been enabled on all platforms. |
| 147 touchEditingEnabled initial=false | 147 touchEditingEnabled initial=false |
| 148 | 148 |
| 149 useSolidColorScrollbars initial=true | 149 useSolidColorScrollbars initial=true |
| 150 | 150 |
| 151 mainFrameClipsContent initial=true | 151 mainFrameClipsContent initial=true |
| 152 | 152 |
| 153 | |
| 154 # Presumably used by tests? Unclear. | 153 # Presumably used by tests? Unclear. |
| 155 useWideViewport initial=true, invalidate=ViewportDescription | 154 useWideViewport initial=true |
| 156 loadWithOverviewMode initial=true, invalidate=ViewportDescription | 155 loadWithOverviewMode initial=true |
| 157 | |
| 158 | 156 |
| 159 # Font scale factor for accessibility, applied as part of text autosizing. | 157 # Font scale factor for accessibility, applied as part of text autosizing. |
| 160 accessibilityFontScaleFactor type=double, initial=1.0 | 158 accessibilityFontScaleFactor type=double, initial=1.0 |
| 161 | 159 |
| 162 | |
| 163 # Only set by Layout Tests. | 160 # Only set by Layout Tests. |
| 164 mediaTypeOverride type=String, initial="screen", invalidate=MediaType | 161 mediaTypeOverride type=String, initial="screen", invalidate=MediaType |
| 165 | 162 |
| 166 # loadsImagesAutomatically only suppresses the network load of | 163 # loadsImagesAutomatically only suppresses the network load of |
| 167 # the image URL. A cached image will still be rendered if requested. | 164 # the image URL. A cached image will still be rendered if requested. |
| 168 loadsImagesAutomatically initial=false, invalidate=ImageLoading | 165 loadsImagesAutomatically initial=false, invalidate=ImageLoading |
| 169 imagesEnabled initial=true, invalidate=ImageLoading | 166 imagesEnabled initial=true, invalidate=ImageLoading |
| 170 | 167 |
| 171 viewportEnabled initial=false, invalidate=ViewportDescription | |
| 172 viewportMetaEnabled initial=false | |
| 173 | |
| 174 # Compensates for poor text legibility on mobile devices. This value is | 168 # Compensates for poor text legibility on mobile devices. This value is |
| 175 # multiplied by the font scale factor when performing text autosizing of | 169 # multiplied by the font scale factor when performing text autosizing of |
| 176 # websites that do not set an explicit viewport description. | 170 # websites that do not set an explicit viewport description. |
| 177 deviceScaleAdjustment type=double, initial=1.0 | 171 deviceScaleAdjustment type=double, initial=1.0 |
| 178 | 172 |
| 179 # This value indicates the maximum number of bytes a document is allowed | 173 # This value indicates the maximum number of bytes a document is allowed |
| 180 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are | 174 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are |
| 181 # intended to be smaller payloads transmitted as a page is unloading, not | 175 # intended to be smaller payloads transmitted as a page is unloading, not |
| 182 # a general (one-way) network transmission API. | 176 # a general (one-way) network transmission API. |
| 183 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) | 177 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) |
| 184 # does not proscribe an upper limit, but allows for it -- the underlying | 178 # does not proscribe an upper limit, but allows for it -- the underlying |
| 185 # API will return 'false' in that case. | 179 # API will return 'false' in that case. |
| 186 maxBeaconTransmission type=int, initial=65536 | 180 maxBeaconTransmission type=int, initial=65536 |
| 187 | 181 |
| 188 # V8 supports different types of caching. Used by V8 bindings. | 182 # V8 supports different types of caching. Used by V8 bindings. |
| 189 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsOff | 183 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsOff |
| 190 | 184 |
| 191 # These values are bit fields for the properties of available pointing devices | 185 # These values are bit fields for the properties of available pointing devices |
| 192 # and may take on multiple values (e.g. laptop with touchpad and touchscreen | 186 # and may take on multiple values (e.g. laptop with touchpad and touchscreen |
| 193 # has pointerType coarse *and* fine). | 187 # has pointerType coarse *and* fine). |
| 194 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery | 188 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery |
| 195 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery | 189 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery |
| 196 | 190 |
| 197 # These values specify properties of the user's primary pointing device only. | 191 # These values specify properties of the user's primary pointing device only. |
| 198 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery | 192 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery |
| 199 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery | 193 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery |
| 200 | 194 |
| 201 accessibilityEnabled initial=false | 195 accessibilityEnabled initial=false |
| 202 inlineTextBoxAccessibilityEnabled initial=false | 196 inlineTextBoxAccessibilityEnabled initial=false |
| OLD | NEW |