| 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 "base/time/time.h" | 10 #include "base/time/time.h" |
| 10 #include "ui/accessibility/ax_enums.h" | 11 #include "ui/accessibility/ax_enums.h" |
| 11 #include "ui/chromeos/accessibility_types.h" | |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 | 14 |
| 15 // A delegate class to control and query accessibility features. | 15 // A delegate class to control and query accessibility features. |
| 16 class ASH_EXPORT AccessibilityDelegate { | 16 class ASH_EXPORT AccessibilityDelegate { |
| 17 public: | 17 public: |
| 18 virtual ~AccessibilityDelegate() {} | 18 virtual ~AccessibilityDelegate() {} |
| 19 | 19 |
| 20 // Invoked to toggle spoken feedback for accessibility | 20 // Invoked to toggle spoken feedback for accessibility |
| 21 virtual void ToggleSpokenFeedback( | 21 virtual void ToggleSpokenFeedback( |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 virtual base::TimeDelta PlayShutdownSound() const = 0; | 127 virtual base::TimeDelta PlayShutdownSound() const = 0; |
| 128 | 128 |
| 129 // Forward an accessibility gesture from the touch exploration controller to | 129 // Forward an accessibility gesture from the touch exploration controller to |
| 130 // ChromeVox. | 130 // ChromeVox. |
| 131 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; | 131 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace ash | 134 } // namespace ash |
| 135 | 135 |
| 136 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ | 136 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ |
| OLD | NEW |