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

Unified Diff: chrome/browser/about_flags.cc

Issue 2765373002: CrOS: Move force UI mode switch from switches to ash switches. (Closed)
Patch Set: Rebased. Created 3 years, 9 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 | « ash/common/ash_switches.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 8fed82549c57f7f4de2dca44846afe7b53ab8de1..654e9fba942ba9978abbd3e92a4062fa49646373 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -506,14 +506,17 @@ const FeatureEntry::Choice kNtpSwitchToExistingTabChoices[] = {
#endif // OS_ANDROID
#if defined(OS_CHROMEOS)
-const FeatureEntry::Choice kForceTabletModeChoices[] = {
+const FeatureEntry::Choice kAshForceTabletModeChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
- {flag_descriptions::kForceTabletModeTouchview, switches::kForceTabletMode,
- switches::kForceTabletModeTouchView},
- {flag_descriptions::kForceTabletModeClamshell, switches::kForceTabletMode,
- switches::kForceTabletModeClamshell},
- {flag_descriptions::kForceTabletModeAuto, switches::kForceTabletMode,
- switches::kForceTabletModeAuto},
+ {flag_descriptions::kForceTabletModeTouchview,
+ ash::switches::kAshForceTabletMode,
+ ash::switches::kAshForceTabletModeTouchView},
+ {flag_descriptions::kForceTabletModeClamshell,
+ ash::switches::kAshForceTabletMode,
+ ash::switches::kAshForceTabletModeClamshell},
+ {flag_descriptions::kForceTabletModeAuto,
+ ash::switches::kAshForceTabletMode,
+ ash::switches::kAshForceTabletModeAuto},
};
#endif // OS_CHROMEOS
@@ -2481,7 +2484,7 @@ const FeatureEntry kFeatureEntries[] = {
#if defined(OS_CHROMEOS)
{"force-tablet-mode", flag_descriptions::kForceTabletModeName,
flag_descriptions::kForceTabletModeDescription, kOsCrOS,
- MULTI_VALUE_TYPE(kForceTabletModeChoices)},
+ MULTI_VALUE_TYPE(kAshForceTabletModeChoices)},
#endif // OS_CHROMEOS
#if defined(OS_ANDROID)
« no previous file with comments | « ash/common/ash_switches.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698