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

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: 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..90466c646f1ef1eccabddfd9095ea8eb4c89a817 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.h
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.h
@@ -123,6 +123,7 @@ class WEB_EXPORT WebSettingsImpl final
void setMaxTouchPoints(int) override;
void setMediaControlsOverlayPlayButtonEnabled(bool) override;
void setMediaPlaybackRequiresUserGesture(bool) override;
+ void setMediaPlaybackInCrossOriginIframesRequiresUserGesture(bool) override;
void setPresentationRequiresUserGesture(bool) override;
void setMinimumAccelerated2dCanvasSize(int) override;
void setMinimumFontSize(int) override;

Powered by Google App Engine
This is Rietveld 408576698