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

Side by Side Diff: ui/events/event_switches.cc

Issue 28513004: Move evdev events support into EventFactoryDelegateEvdev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/_evdev//, add event_factory_delegate_ozone.cc, move GetRequestedDelegate() Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/event_switches.h" 5 #include "ui/events/event_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Enable scroll prediction for scroll update events. 9 // Enable scroll prediction for scroll update events.
10 const char kEnableScrollPrediction[] = "enable-scroll-prediction"; 10 const char kEnableScrollPrediction[] = "enable-scroll-prediction";
11 11
12 // Enable support for touch events. 12 // Enable support for touch events.
13 const char kTouchEvents[] = "touch-events"; 13 const char kTouchEvents[] = "touch-events";
14 14
15 // The values the kTouchEvents switch may have, as in --touch-events=disabled. 15 // The values the kTouchEvents switch may have, as in --touch-events=disabled.
16 // auto: enabled at startup when an attached touchscreen is present. 16 // auto: enabled at startup when an attached touchscreen is present.
17 const char kTouchEventsAuto[] = "auto"; 17 const char kTouchEventsAuto[] = "auto";
18 // enabled: touch events always enabled. 18 // enabled: touch events always enabled.
19 const char kTouchEventsEnabled[] = "enabled"; 19 const char kTouchEventsEnabled[] = "enabled";
20 // disabled: touch events are disabled. 20 // disabled: touch events are disabled.
21 const char kTouchEventsDisabled[] = "disabled"; 21 const char kTouchEventsDisabled[] = "disabled";
22 22
23 #if defined(OS_LINUX) 23 #if defined(OS_LINUX)
24 // Tells chrome to interpret events from these devices as touch events. Only 24 // Tells chrome to interpret events from these devices as touch events. Only
25 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 25 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
26 // devices can be retrieved from 'xinput list'. 26 // devices can be retrieved from 'xinput list'.
27 const char kTouchDevices[] = "touch-devices"; 27 const char kTouchDevices[] = "touch-devices";
28 #endif 28 #endif
29 29
30 #if defined(USE_OZONE)
31 // Specify default ozone events implementation.
32 const char kOzoneEvents[] = "ozone-events";
33 #endif
34
30 } // namespace switches 35 } // namespace switches
OLDNEW
« no previous file with comments | « ui/events/event_switches.h ('k') | ui/events/events.gyp » ('j') | ui/events/events.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698