| 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_COMMON_ACCESSIBILITY_DELEGATE_H_ | 5 #ifndef ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ |
| 6 #define ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ | 6 #define ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/accessibility_types.h" | 9 #include "ash/common/accessibility_types.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // Returns if cursor highlighting is enabled. | 78 // Returns if cursor highlighting is enabled. |
| 79 virtual bool IsCursorHighlightEnabled() const = 0; | 79 virtual bool IsCursorHighlightEnabled() const = 0; |
| 80 | 80 |
| 81 // Invoked to enable or disable focus highlighting. | 81 // Invoked to enable or disable focus highlighting. |
| 82 virtual void SetFocusHighlightEnabled(bool enabled) = 0; | 82 virtual void SetFocusHighlightEnabled(bool enabled) = 0; |
| 83 | 83 |
| 84 // Returns if focus highlighting is enabled. | 84 // Returns if focus highlighting is enabled. |
| 85 virtual bool IsFocusHighlightEnabled() const = 0; | 85 virtual bool IsFocusHighlightEnabled() const = 0; |
| 86 | 86 |
| 87 // Invoked to enable or disable sticky keys. |
| 88 virtual void SetStickyKeysEnabled(bool enabled) = 0; |
| 89 |
| 90 // Returns if sticky keys is enabled. |
| 91 virtual bool IsStickyKeysEnabled() const = 0; |
| 92 |
| 93 // Invoked to enable or disable tap dragging. |
| 94 virtual void SetTapDraggingEnabled(bool enabled) = 0; |
| 95 |
| 96 // Returns if tap dragging is enabled. |
| 97 virtual bool IsTapDraggingEnabled() const = 0; |
| 98 |
| 87 // Invoked to enable or disable select-to-speak. | 99 // Invoked to enable or disable select-to-speak. |
| 88 virtual void SetSelectToSpeakEnabled(bool enabled) = 0; | 100 virtual void SetSelectToSpeakEnabled(bool enabled) = 0; |
| 89 | 101 |
| 90 // Returns if select-to-speak is enabled. | 102 // Returns if select-to-speak is enabled. |
| 91 virtual bool IsSelectToSpeakEnabled() const = 0; | 103 virtual bool IsSelectToSpeakEnabled() const = 0; |
| 92 | 104 |
| 93 // Invoked to enable or disable switch access. | 105 // Invoked to enable or disable switch access. |
| 94 virtual void SetSwitchAccessEnabled(bool enabled) = 0; | 106 virtual void SetSwitchAccessEnabled(bool enabled) = 0; |
| 95 | 107 |
| 96 // Returns if switch access is enabled. | 108 // Returns if switch access is enabled. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 virtual base::TimeDelta PlayShutdownSound() const = 0; | 149 virtual base::TimeDelta PlayShutdownSound() const = 0; |
| 138 | 150 |
| 139 // Forward an accessibility gesture from the touch exploration controller to | 151 // Forward an accessibility gesture from the touch exploration controller to |
| 140 // ChromeVox. | 152 // ChromeVox. |
| 141 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; | 153 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; |
| 142 }; | 154 }; |
| 143 | 155 |
| 144 } // namespace ash | 156 } // namespace ash |
| 145 | 157 |
| 146 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ | 158 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ |
| OLD | NEW |