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/events/gestures/gesture_sequence.h" | 17 #include "ui/events/gestures/gesture_sequence.h" |
18 #include "ui/gfx/point.h" | 18 #include "ui/gfx/geometry/point.h" |
19 | 19 |
20 namespace ui { | 20 namespace ui { |
21 class GestureConsumer; | 21 class GestureConsumer; |
22 class GestureEvent; | 22 class GestureEvent; |
23 class GestureEventHelper; | 23 class GestureEventHelper; |
24 class GestureSequence; | 24 class GestureSequence; |
25 class TouchEvent; | 25 class TouchEvent; |
26 | 26 |
27 // TODO(tdresser): Once the unified gesture recognition process sticks | 27 // TODO(tdresser): Once the unified gesture recognition process sticks |
28 // (crbug.com/332418), GestureRecognizerImpl can be cleaned up | 28 // (crbug.com/332418), GestureRecognizerImpl can be cleaned up |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); | 102 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); |
103 }; | 103 }; |
104 | 104 |
105 // Provided only for testing: | 105 // Provided only for testing: |
106 EVENTS_EXPORT void SetGestureRecognizerForTesting( | 106 EVENTS_EXPORT void SetGestureRecognizerForTesting( |
107 GestureRecognizer* gesture_recognizer); | 107 GestureRecognizer* gesture_recognizer); |
108 | 108 |
109 } // namespace ui | 109 } // namespace ui |
110 | 110 |
111 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ | 111 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
OLD | NEW |