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

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: impl. review comments Created 8 years, 4 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 1d5b99ad829b585bdb7a41e0151fe1076b091712..11ff30f0ed50db013b195d14ecba4fcdc239b573 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1376,6 +1376,14 @@ const char kEnableKioskMode[] = "enable-kiosk-mode";
// Enables support for policy-configured networks.
const char kEnableONCPolicy[] = "enable-onc-policy";
+// 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";
+const char kEnableRequestTabletSiteEvenIfNonTouchDevice[] =
+ "enable-request-tablet-site-even-if-non-touch-device"; // for testing
+
// 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