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_RECOGNIZER_IMPL_H_ | 5 #ifndef UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
6 #define UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ | 6 #define UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "ui/events/event_constants.h" | 13 #include "ui/events/event_constants.h" |
14 #include "ui/events/events_export.h" | 14 #include "ui/events/events_export.h" |
15 #include "ui/events/gestures/gesture_provider_aura.h" | 15 #include "ui/events/gestures/gesture_provider_aura.h" |
16 #include "ui/events/gestures/gesture_recognizer.h" | 16 #include "ui/events/gestures/gesture_recognizer.h" |
17 #include "ui/gfx/point.h" | 17 #include "ui/gfx/geometry/point.h" |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class GestureConsumer; | 20 class GestureConsumer; |
21 class GestureEvent; | 21 class GestureEvent; |
22 class GestureEventHelper; | 22 class GestureEventHelper; |
23 class TouchEvent; | 23 class TouchEvent; |
24 | 24 |
25 // TODO(tdresser): Once the unified gesture recognition process sticks | 25 // TODO(tdresser): Once the unified gesture recognition process sticks |
26 // (crbug.com/332418), GestureRecognizerImpl can be cleaned up | 26 // (crbug.com/332418), GestureRecognizerImpl can be cleaned up |
27 // significantly. | 27 // significantly. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); | 92 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); |
93 }; | 93 }; |
94 | 94 |
95 // Provided only for testing: | 95 // Provided only for testing: |
96 EVENTS_EXPORT void SetGestureRecognizerForTesting( | 96 EVENTS_EXPORT void SetGestureRecognizerForTesting( |
97 GestureRecognizer* gesture_recognizer); | 97 GestureRecognizer* gesture_recognizer); |
98 | 98 |
99 } // namespace ui | 99 } // namespace ui |
100 | 100 |
101 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ | 101 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
OLD | NEW |