Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: third_party/WebKit/Source/core/frame/Settings.json5

Issue 2681383003: media: Add a web preference to enable encrypted media (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 renderer 7 // which we support either values of at runtime. Features are set at renderer
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, where 9 // value based on the platform or the stability of the code in question, where
10 // as settings both codepaths need to be stable. 10 // as settings both codepaths need to be stable.
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 invalidate: "ViewportDescription", 559 invalidate: "ViewportDescription",
560 }, 560 },
561 561
562 { 562 {
563 name: "dnsPrefetchingEnabled", 563 name: "dnsPrefetchingEnabled",
564 initial: false, 564 initial: false,
565 invalidate: "DNSPrefetching", 565 invalidate: "DNSPrefetching",
566 }, 566 },
567 567
568 { 568 {
569 name: "encryptedMediaEnabled",
570 initial: true,
571 },
572
573 {
569 name: "dataSaverEnabled", 574 name: "dataSaverEnabled",
570 initial: false, 575 initial: false,
571 }, 576 },
572 577
573 // FIXME: This is a temporary flag and should be removed 578 // FIXME: This is a temporary flag and should be removed
574 // when squashing is ready. (crbug.com/261605) 579 // when squashing is ready. (crbug.com/261605)
575 { 580 {
576 name: "layerSquashingEnabled", 581 name: "layerSquashingEnabled",
577 initial: false, 582 initial: false,
578 }, 583 },
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 }, 928 },
924 929
925 // Whether the frame is a presentation receiver and should expose 930 // Whether the frame is a presentation receiver and should expose
926 // `navigator.presentation.receiver`. 931 // `navigator.presentation.receiver`.
927 { 932 {
928 name: "presentationReceiver", 933 name: "presentationReceiver",
929 initial: false, 934 initial: false,
930 }, 935 },
931 ] 936 ]
932 } 937 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698