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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/tray_accessibility.h" | 9 #include "ash/system/tray_accessibility.h" |
10 #include "ui/chromeos/touch_exploration_controller.h" | 10 #include "ui/chromeos/touch_exploration_controller.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 public: | 26 public: |
27 explicit AshTouchExplorationManager( | 27 explicit AshTouchExplorationManager( |
28 RootWindowController* root_window_controller); | 28 RootWindowController* root_window_controller); |
29 virtual ~AshTouchExplorationManager(); | 29 virtual ~AshTouchExplorationManager(); |
30 | 30 |
31 // AccessibilityObserver overrides: | 31 // AccessibilityObserver overrides: |
32 virtual void OnAccessibilityModeChanged( | 32 virtual void OnAccessibilityModeChanged( |
33 AccessibilityNotificationVisibility notify) OVERRIDE; | 33 AccessibilityNotificationVisibility notify) OVERRIDE; |
34 | 34 |
35 // TouchExplorationControllerDelegate overrides: | 35 // TouchExplorationControllerDelegate overrides: |
36 virtual void PlayVolumeAdjustSound() OVERRIDE; | |
37 virtual void SetOutputLevel(int volume) OVERRIDE; | 36 virtual void SetOutputLevel(int volume) OVERRIDE; |
| 37 virtual void PlayVolumeAdjustEarcon() OVERRIDE; |
| 38 virtual void PlayPassthroughEarcon() OVERRIDE; |
| 39 virtual void PlayExitScreenEarcon() OVERRIDE; |
| 40 virtual void PlayEnterScreenEarcon() OVERRIDE; |
38 | 41 |
39 private: | 42 private: |
40 void UpdateTouchExplorationState(); | 43 void UpdateTouchExplorationState(); |
41 bool VolumeAdjustSoundEnabled(); | 44 bool VolumeAdjustSoundEnabled(); |
42 | 45 |
43 scoped_ptr<ui::TouchExplorationController> touch_exploration_controller_; | 46 scoped_ptr<ui::TouchExplorationController> touch_exploration_controller_; |
44 RootWindowController* root_window_controller_; | 47 RootWindowController* root_window_controller_; |
45 chromeos::CrasAudioHandler* audio_handler_; | 48 chromeos::CrasAudioHandler* audio_handler_; |
46 | 49 |
47 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); | 50 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); |
48 }; | 51 }; |
49 | 52 |
50 } // namespace ash | 53 } // namespace ash |
51 | 54 |
52 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ | 55 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ |
OLD | NEW |