| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ | 5 #ifndef UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ |
| 6 #define UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ | 6 #define UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/time/tick_clock.h" | 9 #include "base/time/tick_clock.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "ui/accessibility/ax_enums.h" | |
| 13 #include "ui/chromeos/ui_chromeos_export.h" | 12 #include "ui/chromeos/ui_chromeos_export.h" |
| 14 #include "ui/events/event.h" | 13 #include "ui/events/event.h" |
| 15 #include "ui/events/event_rewriter.h" | 14 #include "ui/events/event_rewriter.h" |
| 16 #include "ui/events/gesture_detection/gesture_detector.h" | 15 #include "ui/events/gesture_detection/gesture_detector.h" |
| 17 #include "ui/events/gestures/gesture_provider_aura.h" | 16 #include "ui/events/gestures/gesture_provider_aura.h" |
| 18 #include "ui/gfx/geometry/point.h" | 17 #include "ui/gfx/geometry/point.h" |
| 19 | 18 |
| 20 namespace aura { | 19 namespace aura { |
| 21 class Window; | 20 class Window; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace ui { | 23 namespace ui { |
| 25 | 24 |
| 25 enum AXGesture : int; |
| 26 class Event; | 26 class Event; |
| 27 class EventHandler; | 27 class EventHandler; |
| 28 class GestureEvent; | 28 class GestureEvent; |
| 29 class GestureProviderAura; | 29 class GestureProviderAura; |
| 30 class TouchEvent; | 30 class TouchEvent; |
| 31 | 31 |
| 32 // A delegate to handle commands in response to detected accessibility gesture | 32 // A delegate to handle commands in response to detected accessibility gesture |
| 33 // events. | 33 // events. |
| 34 class TouchExplorationControllerDelegate { | 34 class TouchExplorationControllerDelegate { |
| 35 public: | 35 public: |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 // When touch_exploration_controller gets time relative to real time during | 474 // When touch_exploration_controller gets time relative to real time during |
| 475 // testing, this clock is set to the simulated clock and used. | 475 // testing, this clock is set to the simulated clock and used. |
| 476 base::TickClock* tick_clock_; | 476 base::TickClock* tick_clock_; |
| 477 | 477 |
| 478 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); | 478 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); |
| 479 }; | 479 }; |
| 480 | 480 |
| 481 } // namespace ui | 481 } // namespace ui |
| 482 | 482 |
| 483 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ | 483 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ |
| OLD | NEW |