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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // When touch_exploration_controller gets time relative to real time during | 504 // When touch_exploration_controller gets time relative to real time during |
505 // testing, this clock is set to the simulated clock and used. | 505 // testing, this clock is set to the simulated clock and used. |
506 base::TickClock* tick_clock_; | 506 base::TickClock* tick_clock_; |
507 | 507 |
508 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); | 508 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); |
509 }; | 509 }; |
510 | 510 |
511 } // namespace ui | 511 } // namespace ui |
512 | 512 |
513 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ | 513 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ |
OLD | NEW |