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

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

Issue 991533002: Port Chromium OS touch noise filtering to Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « ui/events/event_switches.h ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
(...skipping 17 matching lines...) Expand all
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_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
39 // the driver level filtering is insufficient.
40 const char kExtraTouchNoiseFiltering[] = "touch-noise-filtering";
41
38 // The calibration factors given as "<left>,<right>,<top>,<bottom>". 42 // The calibration factors given as "<left>,<right>,<top>,<bottom>".
39 const char kTouchCalibration[] = "touch-calibration"; 43 const char kTouchCalibration[] = "touch-calibration";
40 #endif 44 #endif
41 45
42 } // namespace switches 46 } // namespace switches
OLDNEW
« no previous file with comments | « ui/events/event_switches.h ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698