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

Unified Diff: ui/events/event_constants.h

Issue 680413006: Re-enable Eager Gesture Recognition on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sadrul's comments. Created 6 years 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.cc ('k') | ui/events/gesture_detection/filtered_gesture_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_constants.h
diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h
index c3677ada7ada3b1294c8071dd94f1a93ebb4148d..e404468ed0a77412b636e6eb52965c8f51e77c6a 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -119,12 +119,17 @@ enum MouseEventFlags {
// Result of dispatching an event.
enum EventResult {
- ER_UNHANDLED = 0, // The event hasn't been handled. The event can be
- // propagated to other handlers.
- ER_HANDLED = 1 << 0, // The event has already been handled, but it can
- // still be propagated to other handlers.
- ER_CONSUMED = 1 << 1, // The event has been handled, and it should not be
- // propagated to other handlers.
+ ER_UNHANDLED = 0, // The event hasn't been handled. The event can be
+ // propagated to other handlers.
+ ER_HANDLED = 1 << 0, // The event has already been handled, but it can
+ // still be propagated to other handlers.
+ ER_CONSUMED = 1 << 1, // The event has been handled, and it should not be
+ // propagated to other handlers.
+ ER_DISABLE_SYNC_HANDLING =
+ 1 << 2, // The event shouldn't be handled synchronously. This
+ // happens if the event is being handled
+ // asynchronously, or if the event is invalid and
+ // shouldn't be handled at all.
};
// Phase of the event dispatch.
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/gesture_detection/filtered_gesture_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698