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

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

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Use __func__ instead per styleguide 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 3ee95df731f69b40183b0b45bd156f645dea179c..820bcb8eadcd81af7491202b13b22ac2340268a3 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -396,6 +396,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);
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698