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

Unified Diff: chrome/browser/flag_descriptions.cc

Issue 2888203003: Add separate feature flag for VR CCT browsing. (Closed)
Patch Set: Add histogram enums + add matching buildflags for descriptions. Created 3 years, 7 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
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/flag_descriptions.cc
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 277b9c1e9ff9281979aaaaa8988a8be988123b55..b7d938b148cd07f83df8df7a4f59519a8d9f1200 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -587,6 +587,8 @@ const char kWebvrDescription[] =
"Enabling this option allows web applications to access experimental "
"Virtual Reality APIs.";
+#if BUILDFLAG(ENABLE_VR)
+
const char kWebvrExperimentalRenderingName[] =
"WebVR experimental rendering optimizations";
@@ -594,6 +596,8 @@ const char kWebvrExperimentalRenderingDescription[] =
"Enabling this option activates experimental rendering path "
"optimizations for WebVR.";
+#endif // BUILDFLAG(ENABLE_VR)
+
const char kGamepadExtensionsName[] = "Gamepad Extensions";
const char kGamepadExtensionsDescription[] =
@@ -2526,12 +2530,18 @@ const char kVibrateRequiresUserGestureDescription[] =
"the frame or any embedded frame.";
#if defined(OS_ANDROID)
-
+#if BUILDFLAG(ENABLE_VR)
const char kEnableVrShellName[] = "Enable Chrome VR.";
const char kEnableVrShellDescription[] =
"Allow browsing with a VR headset if available for this device.";
+const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
+
+const char kVrCustomTabBrowsingDescription[] =
+ "Allow browsing with a VR headset in a Custom Tab if available for this "
+ "device.";
+#endif // BUILDFLAG(ENABLE_VR)
#endif // defined(OS_ANDROID)
// Web payments
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698