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

Unified Diff: chrome/common/chrome_switches.cc

Issue 6975045: touch: Always expect XInput2 availability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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') | ui/views/focus/accelerator_handler.h » ('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 310df883dc64a106c10f0133cc13c5fd4d637459..4fbbe1bd5d59464ec5b35ac7de4b65b29bd944ac 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1177,10 +1177,15 @@ const char kDebugViewsPaint[] = "debug-views-paint";
const char kViewsDesktop[] = "views-desktop";
#endif
+#if defined(TOUCH_UI)
// Debug only switch to prevent the mouse cursor from disappearing when
// touch is enabled
-#if defined(TOUCH_UI)
const char kKeepMouseCursor[] = "keep-mouse-cursor";
+
+// Tells chrome to interpret events from these devices as touch events. Only
+// available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices
+// can be retrieved from 'xinput list'.
+const char kTouchDevices[] = "touch-devices";
#endif
#ifndef NDEBUG
@@ -1201,13 +1206,6 @@ const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host";
const char kExposePrivateExtensionApi[] = "expose-private-extension-api";
#endif
-#if defined(HAVE_XINPUT2)
-// Tells chrome to interpret events from these devices as touch events. Only
-// available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices
-// can be retrieved from 'xinput list'.
-const char kTouchDevices[] = "touch-devices";
-#endif
-
#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX)
// Disable print preview (Not exposed via about:flags. Only used for testing.)
const char kDisablePrintPreview[] = "disable-print-preview";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | ui/views/focus/accelerator_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698