diff options
author | tdresser@chromium.org <tdresser@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-04 21:43:35 +0000 |
---|---|---|
committer | tdresser@chromium.org <tdresser@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-04 21:43:35 +0000 |
commit | 3cb7be44cbb2e435fa89d72cb19af1d82ba3eb53 (patch) | |
tree | 7931284d6d8f5b0e81104cbe606f8de7fe5f56e0 /ui/events/event_constants.h | |
parent | 99235fbbecd68c52d65b2acdb1e2cfd8ebd1d6c7 (diff) | |
download | chromium_src-3cb7be44cbb2e435fa89d72cb19af1d82ba3eb53.zip chromium_src-3cb7be44cbb2e435fa89d72cb19af1d82ba3eb53.tar.gz chromium_src-3cb7be44cbb2e435fa89d72cb19af1d82ba3eb53.tar.bz2 |
Use ui::Event in ui/events/gesture_detection.
This is the first step towards merging GestureEventData
and GestureEventDetails.
BUG=348577
TEST=TouchDispositionGestureFilterTest.*
Review URL: https://codereview.chromium.org/184103018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/events/event_constants.h')
-rw-r--r-- | ui/events/event_constants.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h index f550298..26b13a6 100644 --- a/ui/events/event_constants.h +++ b/ui/events/event_constants.h @@ -31,11 +31,14 @@ enum EventType { // GestureEvent types ET_GESTURE_SCROLL_BEGIN, + ET_GESTURE_TYPE_FIRST = ET_GESTURE_SCROLL_BEGIN, ET_GESTURE_SCROLL_END, ET_GESTURE_SCROLL_UPDATE, ET_GESTURE_TAP, ET_GESTURE_TAP_DOWN, ET_GESTURE_TAP_CANCEL, + ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired. + ET_GESTURE_DOUBLE_TAP, ET_GESTURE_BEGIN, // Sent before any other gesture types. ET_GESTURE_END, // Sent after any other gestures. ET_GESTURE_TWO_FINGER_TAP, @@ -57,6 +60,7 @@ enum EventType { ET_SCROLL, ET_SCROLL_FLING_START, ET_SCROLL_FLING_CANCEL, + ET_GESTURE_TYPE_LAST = ET_SCROLL_FLING_CANCEL, // Sent by the system to indicate any modal type operations, such as drag and // drop or menus, should stop. |