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

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

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Created 3 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
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 dd795437b3f869cc104a9880073bedc70cb7696e..019d99bbaab837b3a29aab25fe3e17085e4a50fd 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -388,6 +388,10 @@ void WebRuntimeFeatures::EnableVideoFullscreenOrientationLock(bool enable) {
RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
}
+void WebRuntimeFeatures::EnableVideoRotateToFullscreen(bool enable) {
+ RuntimeEnabledFeatures::setVideoRotateToFullscreenEnabled(enable);
+}
+
void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) {
RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable);
}

Powered by Google App Engine
This is Rietveld 408576698