| 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_ACCESSIBILITY_DELEGATE_H_ |
| 6 #define ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ | 6 #define ASH_ACCESSIBILITY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/accessibility_types.h" |
| 8 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
| 9 #include "ash/common/accessibility_types.h" | |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "ui/accessibility/ax_enums.h" | 11 #include "ui/accessibility/ax_enums.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 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // Initiates play of shutdown sound and returns it's duration. | 136 // Initiates play of shutdown sound and returns it's duration. |
| 137 virtual base::TimeDelta PlayShutdownSound() const = 0; | 137 virtual base::TimeDelta PlayShutdownSound() const = 0; |
| 138 | 138 |
| 139 // Forward an accessibility gesture from the touch exploration controller to | 139 // Forward an accessibility gesture from the touch exploration controller to |
| 140 // ChromeVox. | 140 // ChromeVox. |
| 141 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; | 141 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace ash | 144 } // namespace ash |
| 145 | 145 |
| 146 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ | 146 #endif // ASH_ACCESSIBILITY_DELEGATE_H_ |
| OLD | NEW |