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

Unified Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 17391015: Add support for clicking to play/pause <video> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebSettingsImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebSettingsImpl.cpp b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
index 2bc80914e7418b2278cfb94fd4a0f59b384fcb88..3e1ed4ed6a4b3b596d4afabcf9cb5d1ab2267e19 100644
--- a/Source/WebKit/chromium/src/WebSettingsImpl.cpp
+++ b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
@@ -633,6 +633,11 @@ void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required)
m_settings->setMediaPlaybackRequiresUserGesture(required);
}
+void WebSettingsImpl::setClickToPlayPauseVideo(bool click)
+{
+ m_settings->setClickToPlayPauseVideo(click);
+}
+
void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates)
{
m_settings->setFixedPositionCreatesStackingContext(creates);
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698