| 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 #include "ui/base/gestures/gesture_recognizer_impl.h" | 5 #include "ui/base/gestures/gesture_recognizer_impl.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "ui/base/event.h" | 10 #include "ui/base/events/event.h" |
| 11 #include "ui/base/events.h" | 11 #include "ui/base/events/event_constants.h" |
| 12 #include "ui/base/gestures/gesture_configuration.h" | 12 #include "ui/base/gestures/gesture_configuration.h" |
| 13 #include "ui/base/gestures/gesture_sequence.h" | 13 #include "ui/base/gestures/gesture_sequence.h" |
| 14 #include "ui/base/gestures/gesture_types.h" | 14 #include "ui/base/gestures/gesture_types.h" |
| 15 | 15 |
| 16 namespace ui { | 16 namespace ui { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 // This is used to pop a std::queue when returning from a function. | 20 // This is used to pop a std::queue when returning from a function. |
| 21 class ScopedPop { | 21 class ScopedPop { |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 RemoveConsumerFromMap(consumer, &touch_id_target_); | 353 RemoveConsumerFromMap(consumer, &touch_id_target_); |
| 354 RemoveConsumerFromMap(consumer, &touch_id_target_for_gestures_); | 354 RemoveConsumerFromMap(consumer, &touch_id_target_for_gestures_); |
| 355 } | 355 } |
| 356 | 356 |
| 357 // GestureRecognizer, static | 357 // GestureRecognizer, static |
| 358 GestureRecognizer* GestureRecognizer::Create(GestureEventHelper* helper) { | 358 GestureRecognizer* GestureRecognizer::Create(GestureEventHelper* helper) { |
| 359 return new GestureRecognizerImpl(helper); | 359 return new GestureRecognizerImpl(helper); |
| 360 } | 360 } |
| 361 | 361 |
| 362 } // namespace ui | 362 } // namespace ui |
| OLD | NEW |