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

Unified Diff: third_party/WebKit/Source/core/frame/Settings.json5

Issue 2850553002: Autoplay: use an autoplay policy setting in Blink. (Closed)
Patch Set: rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/Settings.json5
diff --git a/third_party/WebKit/Source/core/frame/Settings.json5 b/third_party/WebKit/Source/core/frame/Settings.json5
index 7cac80b9b7fc1e797a51ad45ec564bee1cc00b09..84b492711ee8d6d63ea75f2bb147504cf877c21c 100644
--- a/third_party/WebKit/Source/core/frame/Settings.json5
+++ b/third_party/WebKit/Source/core/frame/Settings.json5
@@ -215,21 +215,11 @@
initial: true,
},
- {
- name: "mediaPlaybackRequiresUserGesture",
- initial: false,
- },
{
name: "mediaPlaybackGestureWhitelistScope",
type: "String",
},
- // This flags overrides mediaPlaybackRequiresUserGesture
- {
- name: "crossOriginMediaPlaybackRequiresUserGesture",
- initial: false,
- },
-
{
name: "presentationRequiresUserGesture",
initial: true,
@@ -927,5 +917,12 @@
name: "doNotUpdateSelectionOnMutatingSelectionRange",
initial: false,
},
+
+ // Defines the autoplay policy to use.
+ {
+ name: "autoplayPolicy",
+ type: "AutoplayPolicy::Type",
+ initial: "AutoplayPolicy::Type::kNoUserGestureRequired",
+ },
],
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/Settings.h ('k') | third_party/WebKit/Source/core/html/media/AutoplayPolicy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698