| 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 #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"; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const char kCompensateForUnstablePinchZoom[] = | 27 const char kCompensateForUnstablePinchZoom[] = |
| 28 "compensate-for-unstable-pinch-zoom"; | 28 "compensate-for-unstable-pinch-zoom"; |
| 29 | 29 |
| 30 #if defined(OS_LINUX) | 30 #if defined(OS_LINUX) |
| 31 // Tells chrome to interpret events from these devices as touch events. Only | 31 // Tells chrome to interpret events from these devices as touch events. Only |
| 32 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 32 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
| 33 // devices can be retrieved from 'xinput list'. | 33 // devices can be retrieved from 'xinput list'. |
| 34 const char kTouchDevices[] = "touch-devices"; | 34 const char kTouchDevices[] = "touch-devices"; |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 #if defined(USE_XI2_MT) || defined(USE_OZONE) | 37 #if defined(USE_X11) || defined(USE_OZONE) |
| 38 // The calibration factors given as "<left>,<right>,<top>,<bottom>". | 38 // The calibration factors given as "<left>,<right>,<top>,<bottom>". |
| 39 const char kTouchCalibration[] = "touch-calibration"; | 39 const char kTouchCalibration[] = "touch-calibration"; |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 } // namespace switches | 42 } // namespace switches |
| OLD | NEW |