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

Side by Side Diff: ui/events/event_constants.h

Issue 306483003: Prepare for Unified Gesture Recognizer landing in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace, disable UGR. Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_ 5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_
6 #define UI_EVENTS_EVENT_CONSTANTS_H_ 6 #define UI_EVENTS_EVENT_CONSTANTS_H_
7 7
8 namespace ui { 8 namespace ui {
9 9
10 // Event types. (prefixed because of a conflict with windows headers) 10 // Event types. (prefixed because of a conflict with windows headers)
(...skipping 20 matching lines...) Expand all
31 // GestureEvent types 31 // GestureEvent types
32 ET_GESTURE_SCROLL_BEGIN, 32 ET_GESTURE_SCROLL_BEGIN,
33 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN, 33 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN,
34 ET_GESTURE_SCROLL_END, 34 ET_GESTURE_SCROLL_END,
35 ET_GESTURE_SCROLL_UPDATE, 35 ET_GESTURE_SCROLL_UPDATE,
36 ET_GESTURE_TAP, 36 ET_GESTURE_TAP,
37 ET_GESTURE_TAP_DOWN, 37 ET_GESTURE_TAP_DOWN,
38 ET_GESTURE_TAP_CANCEL, 38 ET_GESTURE_TAP_CANCEL,
39 ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired. 39 ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired.
40 ET_GESTURE_DOUBLE_TAP, 40 ET_GESTURE_DOUBLE_TAP,
41 ET_GESTURE_BEGIN, // Sent before any other gesture types. 41 ET_GESTURE_BEGIN, // The first event sent when each finger is pressed.
42 ET_GESTURE_END, // Sent after any other gestures. 42 ET_GESTURE_END, // Sent for each released finger.
43 ET_GESTURE_TWO_FINGER_TAP, 43 ET_GESTURE_TWO_FINGER_TAP,
44 ET_GESTURE_PINCH_BEGIN, 44 ET_GESTURE_PINCH_BEGIN,
45 ET_GESTURE_PINCH_END, 45 ET_GESTURE_PINCH_END,
46 ET_GESTURE_PINCH_UPDATE, 46 ET_GESTURE_PINCH_UPDATE,
47 ET_GESTURE_LONG_PRESS, 47 ET_GESTURE_LONG_PRESS,
48 ET_GESTURE_LONG_TAP, 48 ET_GESTURE_LONG_TAP,
49 // A SWIPE gesture can happen at the end of a touch sequence involving one or 49 // A SWIPE gesture can happen at the end of a touch sequence involving one or
50 // more fingers if the finger velocity was high enough when the first finger 50 // more fingers if the finger velocity was high enough when the first finger
51 // was released. 51 // was released.
52 ET_GESTURE_SWIPE, 52 ET_GESTURE_SWIPE,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 EP_PREDISPATCH, 128 EP_PREDISPATCH,
129 EP_PRETARGET, 129 EP_PRETARGET,
130 EP_TARGET, 130 EP_TARGET,
131 EP_POSTTARGET, 131 EP_POSTTARGET,
132 EP_POSTDISPATCH 132 EP_POSTDISPATCH
133 }; 133 };
134 134
135 } // namespace ui 135 } // namespace ui
136 136
137 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ 137 #endif // UI_EVENTS_EVENT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/aura/window_event_dispatcher_unittest.cc ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698