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 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" |
(...skipping 26 matching lines...) Expand all Loading... |
37 void OnAccessibilityModeChanged( | 37 void OnAccessibilityModeChanged( |
38 ui::AccessibilityNotificationVisibility notify) override; | 38 ui::AccessibilityNotificationVisibility notify) override; |
39 | 39 |
40 // TouchExplorationControllerDelegate overrides: | 40 // TouchExplorationControllerDelegate overrides: |
41 void SetOutputLevel(int volume) override; | 41 void SetOutputLevel(int volume) override; |
42 void SilenceSpokenFeedback() override; | 42 void SilenceSpokenFeedback() override; |
43 void PlayVolumeAdjustEarcon() override; | 43 void PlayVolumeAdjustEarcon() override; |
44 void PlayPassthroughEarcon() override; | 44 void PlayPassthroughEarcon() override; |
45 void PlayExitScreenEarcon() override; | 45 void PlayExitScreenEarcon() override; |
46 void PlayEnterScreenEarcon() override; | 46 void PlayEnterScreenEarcon() override; |
| 47 void HandleAccessibilityGesture(ui::AXGesture gesture) override; |
47 | 48 |
48 // aura::client::ActivationChangeObserver overrides: | 49 // aura::client::ActivationChangeObserver overrides: |
49 void OnWindowActivated( | 50 void OnWindowActivated( |
50 aura::client::ActivationChangeObserver::ActivationReason reason, | 51 aura::client::ActivationChangeObserver::ActivationReason reason, |
51 aura::Window* gained_active, | 52 aura::Window* gained_active, |
52 aura::Window* lost_active) override; | 53 aura::Window* lost_active) override; |
53 | 54 |
54 private: | 55 private: |
55 void UpdateTouchExplorationState(); | 56 void UpdateTouchExplorationState(); |
56 bool VolumeAdjustSoundEnabled(); | 57 bool VolumeAdjustSoundEnabled(); |
57 | 58 |
58 std::unique_ptr<ui::TouchExplorationController> touch_exploration_controller_; | 59 std::unique_ptr<ui::TouchExplorationController> touch_exploration_controller_; |
59 RootWindowController* root_window_controller_; | 60 RootWindowController* root_window_controller_; |
60 chromeos::CrasAudioHandler* audio_handler_; | 61 chromeos::CrasAudioHandler* audio_handler_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); | 63 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace ash | 66 } // namespace ash |
66 | 67 |
67 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ | 68 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ |
OLD | NEW |