OLD | NEW |
---|---|
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 #ifndef UI_EVENTS_EVENTS_SWITCHES_H_ | 5 #ifndef UI_EVENTS_EVENTS_SWITCHES_H_ |
6 #define UI_EVENTS_EVENTS_SWITCHES_H_ | 6 #define UI_EVENTS_EVENTS_SWITCHES_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ui/events/events_base_export.h" | 10 #include "ui/events/events_base_export.h" |
11 | 11 |
12 namespace switches { | 12 namespace switches { |
13 | 13 |
14 EVENTS_BASE_EXPORT extern const char kEnableScrollPrediction[]; | 14 EVENTS_BASE_EXPORT extern const char kEnableScrollPrediction[]; |
15 EVENTS_BASE_EXPORT extern const char kTouchEvents[]; | 15 EVENTS_BASE_EXPORT extern const char kTouchEventFeatureDetection[]; |
16 EVENTS_BASE_EXPORT extern const char kTouchEventsAuto[]; | 16 EVENTS_BASE_EXPORT extern const char kTouchEventFeatureDetectionAuto[]; |
17 EVENTS_BASE_EXPORT extern const char kTouchEventsEnabled[]; | 17 EVENTS_BASE_EXPORT extern const char kTouchEventFeatureDetectionEnabled[]; |
18 EVENTS_BASE_EXPORT extern const char kTouchEventsDisabled[]; | 18 EVENTS_BASE_EXPORT extern const char kTouchEventFeatureDetectionDisabled[]; |
sadrul
2016/12/07 02:55:59
Can you move these out of ui and into content, sin
sunyunjia
2016/12/07 18:24:25
Done.
| |
19 EVENTS_BASE_EXPORT extern const char kCompensateForUnstablePinchZoom[]; | 19 EVENTS_BASE_EXPORT extern const char kCompensateForUnstablePinchZoom[]; |
20 | 20 |
21 #if defined(OS_LINUX) | 21 #if defined(OS_LINUX) |
22 EVENTS_BASE_EXPORT extern const char kTouchDevices[]; | 22 EVENTS_BASE_EXPORT extern const char kTouchDevices[]; |
23 #endif | 23 #endif |
24 | 24 |
25 #if defined(USE_X11) || defined(USE_OZONE) | 25 #if defined(USE_X11) || defined(USE_OZONE) |
26 EVENTS_BASE_EXPORT extern const char kExtraTouchNoiseFiltering[]; | 26 EVENTS_BASE_EXPORT extern const char kExtraTouchNoiseFiltering[]; |
27 EVENTS_BASE_EXPORT extern const char kTouchCalibration[]; | 27 EVENTS_BASE_EXPORT extern const char kTouchCalibration[]; |
28 #endif | 28 #endif |
29 | 29 |
30 } // namespace switches | 30 } // namespace switches |
31 | 31 |
32 #endif // UI_EVENTS_EVENTS_SWITCHES_H_ | 32 #endif // UI_EVENTS_EVENTS_SWITCHES_H_ |
OLD | NEW |