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

Unified Diff: media/base/media_switches.cc

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
« no previous file with comments | « media/base/media_switches.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index eb2116888563836dcfe598379b9d8264866d59e2..eda42753f46e9489d0e93467c48098b51ac2d6b4 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -186,6 +186,10 @@ const base::Feature kExternalClearKeyForTesting{
// Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback.
const base::Feature kAndroidMediaPlayerRenderer{
"android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT};
+
+// Lock the screen orientation when a video goes fullscreen.
+const base::Feature kVideoFullscreenOrientationLock{
+ "VideoFullscreenOrientationLock", base::FEATURE_DISABLED_BY_DEFAULT};
#endif
} // namespace media
« no previous file with comments | « media/base/media_switches.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698