| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/linked_ptr.h" | |
| 16 #include "ui/events/event_constants.h" | 15 #include "ui/events/event_constants.h" |
| 17 #include "ui/events/events_export.h" | 16 #include "ui/events/events_export.h" |
| 18 #include "ui/events/gestures/gesture_provider_aura.h" | 17 #include "ui/events/gestures/gesture_provider_aura.h" |
| 19 #include "ui/events/gestures/gesture_recognizer.h" | 18 #include "ui/events/gestures/gesture_recognizer.h" |
| 20 #include "ui/gfx/geometry/point.h" | 19 #include "ui/gfx/geometry/point.h" |
| 21 | 20 |
| 22 namespace ui { | 21 namespace ui { |
| 23 class GestureConsumer; | 22 class GestureConsumer; |
| 24 class GestureEvent; | 23 class GestureEvent; |
| 25 class GestureEventHelper; | 24 class GestureEventHelper; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); | 98 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 // Provided only for testing: | 101 // Provided only for testing: |
| 103 EVENTS_EXPORT void SetGestureRecognizerForTesting( | 102 EVENTS_EXPORT void SetGestureRecognizerForTesting( |
| 104 GestureRecognizer* gesture_recognizer); | 103 GestureRecognizer* gesture_recognizer); |
| 105 | 104 |
| 106 } // namespace ui | 105 } // namespace ui |
| 107 | 106 |
| 108 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ | 107 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
| OLD | NEW |