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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 250533003: Add a mediaControlsOverlayPlayButtonEnabled setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 132e9df5b0fa71f1cd9c510dd94c9578f11ef701..a4a1315038c33103e64b590538edecae91ecf9db 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -651,6 +651,11 @@ void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled)
m_settings->setShouldRespectImageOrientation(enabled);
}
+void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled)
+{
+ m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled);
+}
+
void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required)
{
m_settings->setMediaPlaybackRequiresUserGesture(required);
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698