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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 { | 209 { |
210 name: "hyperlinkAuditingEnabled", | 210 name: "hyperlinkAuditingEnabled", |
211 initial: false, | 211 initial: false, |
212 }, | 212 }, |
213 { | 213 { |
214 name: "allowRunningOfInsecureContent", | 214 name: "allowRunningOfInsecureContent", |
215 initial: true, | 215 initial: true, |
216 }, | 216 }, |
217 | 217 |
218 { | 218 { |
219 name: "mediaPlaybackRequiresUserGesture", | |
220 initial: false, | |
221 }, | |
222 { | |
223 name: "mediaPlaybackGestureWhitelistScope", | 219 name: "mediaPlaybackGestureWhitelistScope", |
224 type: "String", | 220 type: "String", |
225 }, | 221 }, |
226 | 222 |
227 // This flags overrides mediaPlaybackRequiresUserGesture | |
228 { | |
229 name: "crossOriginMediaPlaybackRequiresUserGesture", | |
230 initial: false, | |
231 }, | |
232 | |
233 { | 223 { |
234 name: "presentationRequiresUserGesture", | 224 name: "presentationRequiresUserGesture", |
235 initial: true, | 225 initial: true, |
236 }, | 226 }, |
237 | 227 |
238 { | 228 { |
239 name: "embeddedMediaExperienceEnabled", | 229 name: "embeddedMediaExperienceEnabled", |
240 initial: false, | 230 initial: false, |
241 }, | 231 }, |
242 | 232 |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 initial: true, | 915 initial: true, |
926 invalidate: "MediaControls", | 916 invalidate: "MediaControls", |
927 }, | 917 }, |
928 | 918 |
929 // Whether we should not update selection attributes when mutating selection
range. | 919 // Whether we should not update selection attributes when mutating selection
range. |
930 // TODO(changwan): remove this flag when we no longer support Android M. | 920 // TODO(changwan): remove this flag when we no longer support Android M. |
931 { | 921 { |
932 name: "doNotUpdateSelectionOnMutatingSelectionRange", | 922 name: "doNotUpdateSelectionOnMutatingSelectionRange", |
933 initial: false, | 923 initial: false, |
934 }, | 924 }, |
| 925 |
| 926 // Defines the autoplay policy to use. |
| 927 { |
| 928 name: "autoplayPolicy", |
| 929 type: "AutoplayPolicy::Type", |
| 930 }, |
935 ], | 931 ], |
936 } | 932 } |
OLD | NEW |