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/timer/timer.h" | 9 #include "base/timer/timer.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "ui/accessibility/ax_enums.h" | 11 #include "ui/accessibility/ax_enums.h" |
12 #include "ui/chromeos/ui_chromeos_export.h" | 12 #include "ui/chromeos/ui_chromeos_export.h" |
13 #include "ui/events/event.h" | 13 #include "ui/events/event.h" |
14 #include "ui/events/event_rewriter.h" | 14 #include "ui/events/event_rewriter.h" |
15 #include "ui/events/gesture_detection/gesture_detector.h" | 15 #include "ui/events/gesture_detection/gesture_detector.h" |
16 #include "ui/events/gestures/gesture_provider_aura.h" | 16 #include "ui/events/gestures/gesture_provider_aura.h" |
17 #include "ui/gfx/geometry/point.h" | 17 #include "ui/gfx/geometry/point.h" |
18 | 18 |
19 namespace aura { | 19 namespace aura { |
20 class Window; | 20 class Window; |
21 } | 21 } |
22 | 22 |
23 namespace ui { | 23 namespace ui { |
24 | 24 |
25 class Event; | 25 class Event; |
26 class EventHandler; | |
27 class GestureEvent; | 26 class GestureEvent; |
28 class GestureProviderAura; | 27 class GestureProviderAura; |
29 class TouchEvent; | 28 class TouchEvent; |
30 | 29 |
31 // A delegate to handle commands in response to detected accessibility gesture | 30 // A delegate to handle commands in response to detected accessibility gesture |
32 // events. | 31 // events. |
33 class TouchExplorationControllerDelegate { | 32 class TouchExplorationControllerDelegate { |
34 public: | 33 public: |
35 virtual ~TouchExplorationControllerDelegate() {} | 34 virtual ~TouchExplorationControllerDelegate() {} |
36 | 35 |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 505 |
507 // LocatedEvents within this area should be left alone. | 506 // LocatedEvents within this area should be left alone. |
508 gfx::Rect exclude_bounds_; | 507 gfx::Rect exclude_bounds_; |
509 | 508 |
510 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); | 509 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); |
511 }; | 510 }; |
512 | 511 |
513 } // namespace ui | 512 } // namespace ui |
514 | 513 |
515 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ | 514 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ |
OLD | NEW |