diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-25 20:03:04 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-25 20:03:04 +0000 |
commit | bcb93db51e916f338431a703bf108211c6420c89 (patch) | |
tree | e5e1b01efee1d0006b1d55c1ea93077398f0c3d1 /ui/base/ui_base_switches.cc | |
parent | 8467a39901a346bd655e906438c018ca78b7f994 (diff) | |
download | chromium_src-bcb93db51e916f338431a703bf108211c6420c89.zip chromium_src-bcb93db51e916f338431a703bf108211c6420c89.tar.gz chromium_src-bcb93db51e916f338431a703bf108211c6420c89.tar.bz2 |
Promotes touch-devices to ui_base so that ash can use it.
BUG=none
TEST=none
R=sadrul@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10449027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ui_base_switches.cc')
-rw-r--r-- | ui/base/ui_base_switches.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc index b39441f..b163349 100644 --- a/ui/base/ui_base_switches.cc +++ b/ui/base/ui_base_switches.cc @@ -55,4 +55,11 @@ const char kDisableCompositedCoreAnimationPlugins[] = "disable-composited-core-animation-plugins"; #endif +#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) +// 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 + } // namespace switches |