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

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

Issue 2547533002: Add flags to enable screen orientation lock for fullscreen video on Android. (Closed)
Patch Set: rebased Created 4 years 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 5d947a12be77f0f5619accee8f7a4ec7b5485f22..540c6fe15bbb51a9b826cb79032e0a6b94304fc6 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -356,4 +356,8 @@ void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
}
+void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
+ RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698