| 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_BASE_EVENTS_H_ | 5 #ifndef UI_BASE_EVENTS_H_ |
| 6 #define UI_BASE_EVENTS_H_ | 6 #define UI_BASE_EVENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/event_types.h" | 9 #include "base/event_types.h" |
| 10 #include "ui/base/keycodes/keyboard_codes.h" | 10 #include "ui/base/keycodes/keyboard_codes.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 ET_DROP_TARGET_EVENT, | 45 ET_DROP_TARGET_EVENT, |
| 46 ET_FOCUS_CHANGE, | 46 ET_FOCUS_CHANGE, |
| 47 ET_TRANSLATED_KEY_PRESS, | 47 ET_TRANSLATED_KEY_PRESS, |
| 48 ET_TRANSLATED_KEY_RELEASE, | 48 ET_TRANSLATED_KEY_RELEASE, |
| 49 | 49 |
| 50 // GestureEvent types | 50 // GestureEvent types |
| 51 ET_GESTURE_SCROLL_BEGIN, | 51 ET_GESTURE_SCROLL_BEGIN, |
| 52 ET_GESTURE_SCROLL_END, | 52 ET_GESTURE_SCROLL_END, |
| 53 ET_GESTURE_SCROLL_UPDATE, | 53 ET_GESTURE_SCROLL_UPDATE, |
| 54 ET_GESTURE_TAP, | 54 ET_GESTURE_TAP, |
| 55 ET_GESTURE_TAP_DOWN, | 55 ET_GESTURE_TAP_DOWN, // Sent before any other gesture types. |
| 56 ET_GESTURE_BEGIN, // Sent before any other gesture types. | 56 ET_GESTURE_TAP_UP, // Sent after any other gestures. |
| 57 ET_GESTURE_END, // Sent after any other gestures. | |
| 58 ET_GESTURE_DOUBLE_TAP, | 57 ET_GESTURE_DOUBLE_TAP, |
| 59 ET_GESTURE_TWO_FINGER_TAP, | 58 ET_GESTURE_TWO_FINGER_TAP, |
| 60 ET_GESTURE_PINCH_BEGIN, | 59 ET_GESTURE_PINCH_BEGIN, |
| 61 ET_GESTURE_PINCH_END, | 60 ET_GESTURE_PINCH_END, |
| 62 ET_GESTURE_PINCH_UPDATE, | 61 ET_GESTURE_PINCH_UPDATE, |
| 63 ET_GESTURE_LONG_PRESS, | 62 ET_GESTURE_LONG_PRESS, |
| 64 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the | 63 // A SWIPE gesture can happen at the end of a TAP_UP gesture if the |
| 65 // finger(s) were moving quickly before they are released. | 64 // finger(s) were moving quickly before they are released. |
| 66 ET_GESTURE_MULTIFINGER_SWIPE, | 65 ET_GESTURE_MULTIFINGER_SWIPE, |
| 67 | 66 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 // Creates and returns no-op event. | 209 // Creates and returns no-op event. |
| 211 UI_EXPORT base::NativeEvent CreateNoopEvent(); | 210 UI_EXPORT base::NativeEvent CreateNoopEvent(); |
| 212 | 211 |
| 213 #if defined(OS_WIN) | 212 #if defined(OS_WIN) |
| 214 UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel); | 213 UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel); |
| 215 #endif | 214 #endif |
| 216 | 215 |
| 217 } // namespace ui | 216 } // namespace ui |
| 218 | 217 |
| 219 #endif // UI_BASE_EVENTS_H_ | 218 #endif // UI_BASE_EVENTS_H_ |
| OLD | NEW |