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

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

Issue 1913913004: Regularly poll the X11 event queue. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 4 years, 7 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/platform/x11/x11_event_source.h » ('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 25 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « ui/events/event_switches.h ('k') | ui/events/platform/x11/x11_event_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698