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

Unified Diff: third_party/WebKit/public/web/WebSettings.h

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: falling back to adding a boolean flag Created 4 years, 1 month 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/public/web/WebSettings.h
diff --git a/third_party/WebKit/public/web/WebSettings.h b/third_party/WebKit/public/web/WebSettings.h
index 124be313b23786c115b9df0d28732df01e4e37ea..4ab647a4c362ea65bd11e3576126e77af3e11792 100644
--- a/third_party/WebKit/public/web/WebSettings.h
+++ b/third_party/WebKit/public/web/WebSettings.h
@@ -150,6 +150,7 @@ class WebSettings {
virtual void setBrowserSideNavigationEnabled(bool) = 0;
virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0;
virtual void setCookieEnabled(bool) = 0;
+ virtual void setCrossOriginMediaPlaybackRequiresUserGesture(bool) = 0;
virtual void setNavigateOnDragDrop(bool) = 0;
virtual void setCursiveFontFamily(const WebString&,
UScriptCode = USCRIPT_COMMON) = 0;

Powered by Google App Engine
This is Rietveld 408576698