Chromium Code Reviews| 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 28 matching lines...) Expand all Loading... | |
| 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, // Sent before any other gesture types. |
| 42 ET_GESTURE_END, // Sent after any other gestures. | 42 ET_GESTURE_END, // Sent after any other gestures. |
| 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 TAP_UP gesture if the | 49 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the |
|
tdresser
2014/05/26 20:49:58
This comment still kinda implies that multiple fin
mfomitchev
2014/05/26 22:07:14
Done.
| |
| 50 // finger(s) were moving quickly before they are released. | 50 // finger(s) were moving quickly before they are released. |
| 51 ET_GESTURE_MULTIFINGER_SWIPE, | 51 ET_GESTURE_SWIPE, |
| 52 ET_GESTURE_SHOW_PRESS, | 52 ET_GESTURE_SHOW_PRESS, |
| 53 | 53 |
| 54 // Sent by Win8+ metro when the user swipes from the bottom or top. | 54 // Sent by Win8+ metro when the user swipes from the bottom or top. |
| 55 ET_GESTURE_WIN8_EDGE_SWIPE, | 55 ET_GESTURE_WIN8_EDGE_SWIPE, |
| 56 | 56 |
| 57 // Scroll support. | 57 // Scroll support. |
| 58 // TODO[davemoore] we need to unify these events w/ touch and gestures. | 58 // TODO[davemoore] we need to unify these events w/ touch and gestures. |
| 59 ET_SCROLL, | 59 ET_SCROLL, |
| 60 ET_SCROLL_FLING_START, | 60 ET_SCROLL_FLING_START, |
| 61 ET_SCROLL_FLING_CANCEL, | 61 ET_SCROLL_FLING_CANCEL, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 125 EP_PREDISPATCH, | 125 EP_PREDISPATCH, |
| 126 EP_PRETARGET, | 126 EP_PRETARGET, |
| 127 EP_TARGET, | 127 EP_TARGET, |
| 128 EP_POSTTARGET, | 128 EP_POSTTARGET, |
| 129 EP_POSTDISPATCH | 129 EP_POSTDISPATCH |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace ui | 132 } // namespace ui |
| 133 | 133 |
| 134 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ | 134 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ |
| OLD | NEW |