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

Unified Diff: chrome/common/chrome_switches.cc

Issue 2749633006: CrOS: Add a flag to allow easy selection of tablet mode. (Closed)
Patch Set: Reparent to master. 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 | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index fcbb09014d1237ecede0d85b79c1cb1bd1a6169a..509015d39c25201ff0616c2fd42f9a7a0404d190 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -493,6 +493,15 @@ const char kForceFirstRun[] = "force-first-run";
// Forces Chrome to use localNTP instead of server (GWS) NTP.
const char kForceLocalNtp[] = "force-local-ntp";
+// Enables required things for the selected UI mode, regardless of whether the
+// chromebook is currently in the selected UI mode.
+const char kForceTabletMode[] = "force-tablet-mode";
+
+// Values for the kForceTabletMode flag.
+const char kForceTabletModeAuto[] = "auto";
+const char kForceTabletModeClamshell[] = "clamshell";
+const char kForceTabletModeTouchView[] = "touch_view";
+
// Forces additional Chrome Variation Ids that will be sent in X-Client-Data
// header, specified as a 64-bit encoded list of numeric experiment ids. Ids
// prefixed with the character "t" will be treated as Trigger Variation Ids.
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698