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

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

Issue 2692903002: Don't show media controls when there is a persistent video. (Closed)
Patch Set: cleanup and tests Created 3 years, 10 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
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 30e251d19ec48927346e02867c4d6d2883061bcb..ec347d8a271ac070c1e0f2de93c13c9a8093a42d 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -719,4 +719,8 @@ void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
}
+void WebSettingsImpl::setMediaControlsEnabled(bool enabled) {
+ m_settings->setMediaControlsEnabled(enabled);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698