Chromium Code Reviews| 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..4242ea8106aa876837f01852f35a7b8824f69fa7 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_NONE, |
| + EP_PRETARGET, |
| + EP_TARGET, |
| + EP_POSTTARGET, |
| + EP_COMPLETE |
|
Ben Goodger (Google)
2012/09/10 18:07:14
i'd tend to reset to EP_NONE after dispatch.
if y
sadrul
2012/09/10 18:35:24
I renamed NONE,COMPLETE to PREDISPATCH/POSTDISPATC
|
| +}; |
| + |
| enum TouchStatus { |
| TOUCH_STATUS_UNKNOWN = 0, // Unknown touch status. This is used to indicate |
| // that the touch event was not handled. |