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

Unified Diff: chrome/browser/about_flags.cc

Issue 2547533002: Add flags to enable screen orientation lock for fullscreen video on Android. (Closed)
Patch Set: 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c42000ecd864c84f059209e7a47c507059647573..f0d09342775c1fc0f940a74d064d720f6238b0cc 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2101,6 +2101,12 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_MEDIA_REMOTING_ENCRYPTED_DESCRIPTION, kOsDesktop,
FEATURE_VALUE_TYPE(features::kMediaRemotingEncrypted)},
#endif
+#if defined(OS_ANDROID)
+ {"video-fullscreen-orientation-lock",
+ IDS_FLAGS_VIDEO_FULLSCREEN_ORIENTATION_LOCK_NAME,
+ IDS_FLAGS_VIDEO_FULLSCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsAndroid,
+ FEATURE_VALUE_TYPE(features::kVideoFullscreenOrientationLock)},
+#endif
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in

Powered by Google App Engine
This is Rietveld 408576698