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

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

Issue 2728133002: Media Controls: make the MediaControlsOverlayPlayButton a runtime enabled flag. (Closed)
Patch Set: 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/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 8fc301eecb669183d47caf2b8367e07c85aebe08..501ab3b8aed143eaf3a240f54cc5d4c155c38b03 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -392,4 +392,8 @@ void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
}
+void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) {
+ RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698