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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.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/Source/web/WebSettingsImpl.h
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.h b/third_party/WebKit/Source/web/WebSettingsImpl.h
index dab96e4f555d098f54c44b55ecdad7859c11a28f..1bb36f371d08ad62259dd76d0d25a850ff5c82ba 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.h
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.h
@@ -70,6 +70,7 @@ class WEB_EXPORT WebSettingsImpl final
void setBrowserSideNavigationEnabled(bool) override;
void setClobberUserAgentInitialScaleQuirk(bool) override;
void setCookieEnabled(bool) override;
+ void setCrossOriginMediaPlaybackRequiresUserGesture(bool) override;
void setNavigateOnDragDrop(bool) override;
void setCursiveFontFamily(const WebString&,
UScriptCode = USCRIPT_COMMON) override;

Powered by Google App Engine
This is Rietveld 408576698