| 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 <vector> | 12 #include <vector> |
| 12 | 13 |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
| 15 #include "base/memory/scoped_ptr.h" | |
| 16 #include "ui/events/event_constants.h" | 16 #include "ui/events/event_constants.h" |
| 17 #include "ui/events/events_export.h" | 17 #include "ui/events/events_export.h" |
| 18 #include "ui/events/gestures/gesture_provider_aura.h" | 18 #include "ui/events/gestures/gesture_provider_aura.h" |
| 19 #include "ui/events/gestures/gesture_recognizer.h" | 19 #include "ui/events/gestures/gesture_recognizer.h" |
| 20 #include "ui/gfx/geometry/point.h" | 20 #include "ui/gfx/geometry/point.h" |
| 21 | 21 |
| 22 namespace ui { | 22 namespace ui { |
| 23 class GestureConsumer; | 23 class GestureConsumer; |
| 24 class GestureEvent; | 24 class GestureEvent; |
| 25 class GestureEventHelper; | 25 class GestureEventHelper; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); | 91 DISALLOW_COPY_AND_ASSIGN(GestureRecognizerImpl); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 // Provided only for testing: | 94 // Provided only for testing: |
| 95 EVENTS_EXPORT void SetGestureRecognizerForTesting( | 95 EVENTS_EXPORT void SetGestureRecognizerForTesting( |
| 96 GestureRecognizer* gesture_recognizer); | 96 GestureRecognizer* gesture_recognizer); |
| 97 | 97 |
| 98 } // namespace ui | 98 } // namespace ui |
| 99 | 99 |
| 100 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ | 100 #endif // UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
| OLD | NEW |