| OLD | NEW |
| 1 { | 1 { |
| 2 // Defines properties which are available on the Settings object. | 2 // Defines properties which are available on the Settings object. |
| 3 // | 3 // |
| 4 // Please think carefully before adding a new Setting. Some questions to | 4 // Please think carefully before adding a new Setting. Some questions to |
| 5 // consider are: | 5 // consider are: |
| 6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things | 6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things |
| 7 // which we support either values of at runtime. Features are set at render
er | 7 // which we support either values of at runtime. Features are set at render
er |
| 8 // process startup and are never changed. Features also tend to be set to a | 8 // process startup and are never changed. Features also tend to be set to a |
| 9 // value based on the platform or the stability of the code in question, whe
re | 9 // value based on the platform or the stability of the code in question, whe
re |
| 10 // as settings both codepaths need to be stable. | 10 // as settings both codepaths need to be stable. |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 { | 223 { |
| 224 name: "presentationRequiresUserGesture", | 224 name: "presentationRequiresUserGesture", |
| 225 initial: true, | 225 initial: true, |
| 226 }, | 226 }, |
| 227 | 227 |
| 228 { | 228 { |
| 229 name: "embeddedMediaExperienceEnabled", | 229 name: "embeddedMediaExperienceEnabled", |
| 230 initial: false, | 230 initial: false, |
| 231 }, | 231 }, |
| 232 | 232 |
| 233 // This is used when page popups should not be presented at all from time |
| 234 // to time in the life of a renderer. This is different than the runtime |
| 235 // enabled feature to enable page popups which remains fixed for the |
| 236 // lifetime of a render and semantically means that an alternative UI |
| 237 // should be shown. An example of when this might be used is in an |
| 238 // embedder than cannot render these popups (in VR mode, say). |
| 239 { |
| 240 name: "pagePopupsSuppressed", |
| 241 initial: false, |
| 242 }, |
| 243 |
| 233 { | 244 { |
| 234 name: "scrollAnimatorEnabled", | 245 name: "scrollAnimatorEnabled", |
| 235 initial: true, | 246 initial: true, |
| 236 }, | 247 }, |
| 237 | 248 |
| 238 // Used to disable threaded, compositor scrolling for testing purposes. | 249 // Used to disable threaded, compositor scrolling for testing purposes. |
| 239 // crbug.com/410974 tracks removal once alternative solutions for selective | 250 // crbug.com/410974 tracks removal once alternative solutions for selective |
| 240 // main thread scrolling are supported. | 251 // main thread scrolling are supported. |
| 241 { | 252 { |
| 242 name: "threadedScrollingEnabled", | 253 name: "threadedScrollingEnabled", |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 }, | 930 }, |
| 920 | 931 |
| 921 // Defines the autoplay policy to use. | 932 // Defines the autoplay policy to use. |
| 922 { | 933 { |
| 923 name: "autoplayPolicy", | 934 name: "autoplayPolicy", |
| 924 type: "AutoplayPolicy::Type", | 935 type: "AutoplayPolicy::Type", |
| 925 initial: "AutoplayPolicy::Type::kNoUserGestureRequired", | 936 initial: "AutoplayPolicy::Type::kNoUserGestureRequired", |
| 926 }, | 937 }, |
| 927 ], | 938 ], |
| 928 } | 939 } |
| OLD | NEW |