OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ACCESSIBILITY_DELEGATE_H_ | 5 #ifndef ASH_ACCESSIBILITY_DELEGATE_H_ |
6 #define ASH_ACCESSIBILITY_DELEGATE_H_ | 6 #define ASH_ACCESSIBILITY_DELEGATE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "ui/chromeos/accessibility_types.h" | 10 #include "ui/chromeos/accessibility_types.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 // Returns if autoclick is enabled or not. | 53 // Returns if autoclick is enabled or not. |
54 virtual bool IsAutoclickEnabled() const = 0; | 54 virtual bool IsAutoclickEnabled() const = 0; |
55 | 55 |
56 // Invoked to enable or disable the a11y on-screen keyboard. | 56 // Invoked to enable or disable the a11y on-screen keyboard. |
57 virtual void SetVirtualKeyboardEnabled(bool enabled) = 0; | 57 virtual void SetVirtualKeyboardEnabled(bool enabled) = 0; |
58 | 58 |
59 // Returns if the a11y virtual keyboard is enabled. | 59 // Returns if the a11y virtual keyboard is enabled. |
60 virtual bool IsVirtualKeyboardEnabled() const = 0; | 60 virtual bool IsVirtualKeyboardEnabled() const = 0; |
61 | 61 |
| 62 // Invoked to enable or disable the mono audio output. |
| 63 virtual void SetMonoAudioEnabled(bool enabled) = 0; |
| 64 |
| 65 // Returns if the mono audio output is enabled. |
| 66 virtual bool IsMonoAudioEnabled() const = 0; |
| 67 |
62 // Invoked to enable or disable caret highlighting. | 68 // Invoked to enable or disable caret highlighting. |
63 virtual void SetCaretHighlightEnabled(bool enabled) = 0; | 69 virtual void SetCaretHighlightEnabled(bool enabled) = 0; |
64 | 70 |
65 // Returns if caret highlighting is enabled. | 71 // Returns if caret highlighting is enabled. |
66 virtual bool IsCaretHighlightEnabled() const = 0; | 72 virtual bool IsCaretHighlightEnabled() const = 0; |
67 | 73 |
68 // Invoked to enable or disable cursor highlighting. | 74 // Invoked to enable or disable cursor highlighting. |
69 virtual void SetCursorHighlightEnabled(bool enabled) = 0; | 75 virtual void SetCursorHighlightEnabled(bool enabled) = 0; |
70 | 76 |
71 // Returns if cursor highlighting is enabled. | 77 // Returns if cursor highlighting is enabled. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // chromeos/audio/chromeos_sounds.h. | 122 // chromeos/audio/chromeos_sounds.h. |
117 virtual void PlayEarcon(int sound_key) = 0; | 123 virtual void PlayEarcon(int sound_key) = 0; |
118 | 124 |
119 // Initiates play of shutdown sound and returns it's duration. | 125 // Initiates play of shutdown sound and returns it's duration. |
120 virtual base::TimeDelta PlayShutdownSound() const = 0; | 126 virtual base::TimeDelta PlayShutdownSound() const = 0; |
121 }; | 127 }; |
122 | 128 |
123 } // namespace ash | 129 } // namespace ash |
124 | 130 |
125 #endif // ASH_ACCESSIBILITY_DELEGATE_H_ | 131 #endif // ASH_ACCESSIBILITY_DELEGATE_H_ |
OLD | NEW |