OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 ET_TOUCH_CANCELLED, | 29 ET_TOUCH_CANCELLED, |
30 ET_DROP_TARGET_EVENT, | 30 ET_DROP_TARGET_EVENT, |
31 | 31 |
32 // PointerEvent types | 32 // PointerEvent types |
33 ET_POINTER_DOWN, | 33 ET_POINTER_DOWN, |
34 ET_POINTER_MOVED, | 34 ET_POINTER_MOVED, |
35 ET_POINTER_UP, | 35 ET_POINTER_UP, |
36 ET_POINTER_CANCELLED, | 36 ET_POINTER_CANCELLED, |
37 ET_POINTER_ENTERED, | 37 ET_POINTER_ENTERED, |
38 ET_POINTER_EXITED, | 38 ET_POINTER_EXITED, |
| 39 ET_POINTER_WHEEL_CHANGED, |
| 40 ET_POINTER_CAPTURE_CHANGED, |
39 | 41 |
40 // GestureEvent types | 42 // GestureEvent types |
41 ET_GESTURE_SCROLL_BEGIN, | 43 ET_GESTURE_SCROLL_BEGIN, |
42 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN, | 44 ET_GESTURE_TYPE_START = ET_GESTURE_SCROLL_BEGIN, |
43 ET_GESTURE_SCROLL_END, | 45 ET_GESTURE_SCROLL_END, |
44 ET_GESTURE_SCROLL_UPDATE, | 46 ET_GESTURE_SCROLL_UPDATE, |
45 ET_GESTURE_TAP, | 47 ET_GESTURE_TAP, |
46 ET_GESTURE_TAP_DOWN, | 48 ET_GESTURE_TAP_DOWN, |
47 ET_GESTURE_TAP_CANCEL, | 49 ET_GESTURE_TAP_CANCEL, |
48 ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired. | 50 ET_GESTURE_TAP_UNCONFIRMED, // User tapped, but the tap delay hasn't expired. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // Device type for gesture events. | 181 // Device type for gesture events. |
180 enum class GestureDeviceType : int { | 182 enum class GestureDeviceType : int { |
181 DEVICE_UNKNOWN = 0, | 183 DEVICE_UNKNOWN = 0, |
182 DEVICE_TOUCHPAD, | 184 DEVICE_TOUCHPAD, |
183 DEVICE_TOUCHSCREEN, | 185 DEVICE_TOUCHSCREEN, |
184 }; | 186 }; |
185 | 187 |
186 } // namespace ui | 188 } // namespace ui |
187 | 189 |
188 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ | 190 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ |
OLD | NEW |