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

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

Issue 2738893002: Add flag for enabling/disabling video fullscreen detection (Closed)
Patch Set: s/AppHooksHelper/AppHooks Created 3 years, 9 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 501ab3b8aed143eaf3a240f54cc5d4c155c38b03..ad90c71ed554690305d8ddc8f349646e0e4a3f9b 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -392,6 +392,10 @@ void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
}
+void WebRuntimeFeatures::enableVideoFullscreenDetection(bool enable) {
+ RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable);
+}
+
void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) {
RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
}

Powered by Google App Engine
This is Rietveld 408576698