| 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 #if defined(USE_X11) || defined(USE_OZONE) | 37 #if defined(USE_X11) || defined(USE_OZONE) |
| 38 // Tells Chrome to do additional touch noise filtering. Should only be used if | 38 // Tells Chrome to do additional touch noise filtering. Should only be used if |
| 39 // the driver level filtering is insufficient. | 39 // the driver level filtering is insufficient. |
| 40 const char kExtraTouchNoiseFiltering[] = "touch-noise-filtering"; | 40 const char kExtraTouchNoiseFiltering[] = "touch-noise-filtering"; |
| 41 | 41 |
| 42 // The calibration factors given as "<left>,<right>,<top>,<bottom>". | 42 // The calibration factors given as "<left>,<right>,<top>,<bottom>". |
| 43 const char kTouchCalibration[] = "touch-calibration"; | 43 const char kTouchCalibration[] = "touch-calibration"; |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 #if defined(USE_X11) |
| 47 // Dispatch one event per iteration of the message loop. |
| 48 const char kDispatchOneEventPerLoop[] = "dispatch-one-event-per-loop"; |
| 49 #endif |
| 50 |
| 46 } // namespace switches | 51 } // namespace switches |
| OLD | NEW |