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

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

Issue 2676633006: media: Add a web preference to enable encrypted media (Closed)
Patch Set: use a new pref 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 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 name: "doHtmlPreloadScanning", 542 name: "doHtmlPreloadScanning",
543 initial: true, 543 initial: true,
544 }, 544 },
545 545
546 { 546 {
547 name: "pluginsEnabled", 547 name: "pluginsEnabled",
548 initial: false, 548 initial: false,
549 }, 549 },
550 550
551 { 551 {
552 name: "encryptedMediaEnabled",
553 initial: true,
554 },
555
556 {
552 name: "viewportEnabled", 557 name: "viewportEnabled",
553 initial: false, 558 initial: false,
554 invalidate: "ViewportDescription", 559 invalidate: "ViewportDescription",
555 }, 560 },
556 { 561 {
557 name: "viewportMetaEnabled", 562 name: "viewportMetaEnabled",
558 initial: false, 563 initial: false,
559 invalidate: "ViewportDescription", 564 invalidate: "ViewportDescription",
560 }, 565 },
561 566
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 }, 907 },
903 908
904 // Whether the frame is a presentation receiver and should expose 909 // Whether the frame is a presentation receiver and should expose
905 // `navigator.presentation.receiver`. 910 // `navigator.presentation.receiver`.
906 { 911 {
907 name: "presentationReceiver", 912 name: "presentationReceiver",
908 initial: false, 913 initial: false,
909 }, 914 },
910 ], 915 ],
911 } 916 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698