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

Unified Diff: ui/base/events/event_constants.h

Issue 10916210: events: Inlcude the event-phase and event-result in Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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/base/events/event.cc ('k') | ui/base/events/event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event_constants.h
diff --git a/ui/base/events/event_constants.h b/ui/base/events/event_constants.h
index 91d0be5ce99c371058aa330dbd511733699a75d2..43a0e9041ea9bfc478caf068a86b693111d39fad 100644
--- a/ui/base/events/event_constants.h
+++ b/ui/base/events/event_constants.h
@@ -105,6 +105,15 @@ enum EventResult {
// propagated to other handlers.
};
+// Phase of the event dispatch.
+enum EventPhase {
+ EP_PREDISPATCH,
+ EP_PRETARGET,
+ EP_TARGET,
+ EP_POSTTARGET,
+ EP_POSTDISPATCH
+};
+
enum TouchStatus {
TOUCH_STATUS_UNKNOWN = 0, // Unknown touch status. This is used to indicate
// that the touch event was not handled.
« no previous file with comments | « ui/base/events/event.cc ('k') | ui/base/events/event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698