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_GESTURES_GESTURE_TYPES_H_ | 5 #ifndef UI_EVENTS_GESTURES_GESTURE_TYPES_H_ |
6 #define UI_EVENTS_GESTURES_GESTURE_TYPES_H_ | 6 #define UI_EVENTS_GESTURES_GESTURE_TYPES_H_ |
7 | 7 |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "ui/base/ui_export.h" |
9 #include "ui/events/event_constants.h" | 10 #include "ui/events/event_constants.h" |
10 #include "ui/events/events_export.h" | 11 #include "ui/events/events_export.h" |
11 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/rect.h" |
12 | 13 |
13 namespace ui { | 14 namespace ui { |
14 | 15 |
15 class GestureEvent; | 16 class GestureEvent; |
16 class TouchEvent; | 17 class TouchEvent; |
17 | 18 |
18 struct EVENTS_EXPORT GestureEventDetails { | 19 struct EVENTS_EXPORT GestureEventDetails { |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 virtual ~GestureEventHelper() { | 207 virtual ~GestureEventHelper() { |
207 } | 208 } |
208 | 209 |
209 virtual bool DispatchLongPressGestureEvent(GestureEvent* event) = 0; | 210 virtual bool DispatchLongPressGestureEvent(GestureEvent* event) = 0; |
210 virtual bool DispatchCancelTouchEvent(TouchEvent* event) = 0; | 211 virtual bool DispatchCancelTouchEvent(TouchEvent* event) = 0; |
211 }; | 212 }; |
212 | 213 |
213 } // namespace ui | 214 } // namespace ui |
214 | 215 |
215 #endif // UI_EVENTS_GESTURES_GESTURE_TYPES_H_ | 216 #endif // UI_EVENTS_GESTURES_GESTURE_TYPES_H_ |
OLD | NEW |