Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: ash/ash_touch_exploration_manager_chromeos.h

Issue 2074913005: Convert TrayAccessibility to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webnotification
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 5 #ifndef ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
6 #define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 6 #define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/system/tray_accessibility.h" 11 #include "ash/common/system/accessibility_observer.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "ui/chromeos/touch_exploration_controller.h" 13 #include "ui/chromeos/touch_exploration_controller.h"
14 #include "ui/wm/public/activation_change_observer.h" 14 #include "ui/wm/public/activation_change_observer.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 class CrasAudioHandler; 17 class CrasAudioHandler;
18 } 18 }
19 19
20 namespace ash { 20 namespace ash {
21 class RootWindowController; 21 class RootWindowController;
22 22
23 // Responsible for initializing TouchExplorationController when spoken 23 // Responsible for initializing TouchExplorationController when spoken
24 // feedback is on for ChromeOS only. This class implements 24 // feedback is on for ChromeOS only. This class implements
25 // TouchExplorationControllerDelegate which allows touch gestures to manipulate 25 // TouchExplorationControllerDelegate which allows touch gestures to manipulate
26 // the system. 26 // the system.
27 class ASH_EXPORT AshTouchExplorationManager 27 class ASH_EXPORT AshTouchExplorationManager
28 : public ash::AccessibilityObserver, 28 : public AccessibilityObserver,
29 public ui::TouchExplorationControllerDelegate, 29 public ui::TouchExplorationControllerDelegate,
30 public aura::client::ActivationChangeObserver { 30 public aura::client::ActivationChangeObserver {
31 public: 31 public:
32 explicit AshTouchExplorationManager( 32 explicit AshTouchExplorationManager(
33 RootWindowController* root_window_controller); 33 RootWindowController* root_window_controller);
34 ~AshTouchExplorationManager() override; 34 ~AshTouchExplorationManager() override;
35 35
36 // AccessibilityObserver overrides: 36 // AccessibilityObserver overrides:
37 void OnAccessibilityModeChanged( 37 void OnAccessibilityModeChanged(
38 ui::AccessibilityNotificationVisibility notify) override; 38 ui::AccessibilityNotificationVisibility notify) override;
(...skipping 24 matching lines...) Expand all
63 std::unique_ptr<ui::TouchExplorationController> touch_exploration_controller_; 63 std::unique_ptr<ui::TouchExplorationController> touch_exploration_controller_;
64 RootWindowController* root_window_controller_; 64 RootWindowController* root_window_controller_;
65 chromeos::CrasAudioHandler* audio_handler_; 65 chromeos::CrasAudioHandler* audio_handler_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); 67 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager);
68 }; 68 };
69 69
70 } // namespace ash 70 } // namespace ash
71 71
72 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 72 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698