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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10827146: crbug.com/127841 - Request Tablet Site on CB with touch screen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix for Dan's comments Created 8 years, 3 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
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 93bd7d26e77157423bea02f839a33b7299158847..90524877ad4698e2b7339172a7d2676c7c9980f1 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1442,6 +1442,14 @@ const char kEnableGView[] = "enable-gview";
// Enable Kiosk mode for ChromeOS
const char kEnableKioskMode[] = "enable-kiosk-mode";
+// Enables request of tablet site (via user agent override).
+// Normally, this is only available on Chromebooks with a touch screen.
+// The second flag is for testing. It enables it for Chromebooks
+// regardless of touch screen availability.
+const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
sky 2012/09/07 18:05:30 The bug makes it sounds like this is experimental,
sschmitz 2012/09/07 22:33:09 Done.
+const char kEnableRequestTabletSiteEvenIfNonTouchDevice[] =
+ "enable-request-tablet-site-even-if-non-touch-device";
+
// Enables static ip configuration. This flag should be removed when it's on by
// default.
const char kEnableStaticIPConfig[] = "enable-static-ip-config";

Powered by Google App Engine
This is Rietveld 408576698