Chromium Code Reviews| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 262 | 262 |
| 263 # This value indicates the maximum number of bytes a document is allowed | 263 # This value indicates the maximum number of bytes a document is allowed |
| 264 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are | 264 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are |
| 265 # intended to be smaller payloads transmitted as a page is unloading, not | 265 # intended to be smaller payloads transmitted as a page is unloading, not |
| 266 # a general (one-way) network transmission API. | 266 # a general (one-way) network transmission API. |
| 267 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h tml ) | 267 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h tml ) |
| 268 # does not proscribe an upper limit, but allows for it -- the underlying | 268 # does not proscribe an upper limit, but allows for it -- the underlying |
| 269 # API will return 'false' in that case. | 269 # API will return 'false' in that case. |
| 270 maxBeaconTransmission type=int, initial=16384 | 270 maxBeaconTransmission type=int, initial=16384 |
| 271 | 271 |
| 272 # The following two settings are only exposed for Layout Tests. | |
|
philipj_slow
2014/07/30 12:11:18
That's not quite true, they're intended to be set
Ignacio Solla
2014/07/30 14:40:00
Added "only exposed through Javascript".
philipj_slow
2014/07/30 15:47:17
All settings are exposed in internals.settings for
Ignacio Solla
2014/07/31 10:30:51
Oh, I see, thanks for the clarification!
I have a
| |
| 273 fullscreenEnabled initial=true | |
| 274 # FIXME: This is a temporary flag and should be removed once | |
|
philipj_slow
2014/07/30 12:11:18
Can that ever actually happen. Won't there continu
Ignacio Solla
2014/07/30 14:40:00
The fullscreenEnabled setting is for apps that do
philipj_slow
2014/07/30 15:47:17
Let's see if I understand.
http://developer.andro
Ignacio Solla
2014/07/31 10:30:51
Exactly, your understanding is correct.
| |
| 275 # the Android WebView supports fullscreen for non-media elements | |
| 276 # (crbug.com/398485). | |
| 277 disallowFullscreenForNonMediaElements initial=false | |
| OLD | NEW |