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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_switches.cc
diff --git a/ui/events/event_switches.cc b/ui/events/event_switches.cc
index dcc001475dcfa87c627a4629dce8384be275620c..a17fd8ecb80d59780dd468f2e196540a8410e18c 100644
--- a/ui/events/event_switches.cc
+++ b/ui/events/event_switches.cc
@@ -43,4 +43,9 @@ const char kExtraTouchNoiseFiltering[] = "touch-noise-filtering";
const char kTouchCalibration[] = "touch-calibration";
#endif
+#if defined(USE_X11)
+// Dispatch one event per iteration of the message loop.
+const char kDispatchOneEventPerLoop[] = "dispatch-one-event-per-loop";
+#endif
+
} // namespace switches
« 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