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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: nits Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index e589765e89054093410fbfe60dd084b8be4a987a..7d9b181d536280ba1c30d85200e2966d440a6c8a 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -649,6 +649,11 @@ void WebSettingsImpl::setCookieEnabled(bool enabled) {
m_settings->setCookieEnabled(enabled);
}
+void WebSettingsImpl::setCrossOriginMediaPlaybackRequiresUserGesture(
+ bool required) {
+ m_settings->setCrossOriginMediaPlaybackRequiresUserGesture(required);
+}
+
void WebSettingsImpl::setNavigateOnDragDrop(bool enabled) {
m_settings->setNavigateOnDragDrop(enabled);
}
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698