| 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";
|
|
|