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_DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 5 #ifndef ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
6 #define ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 6 #define ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
7 | 7 |
8 #include "ash/accessibility_delegate.h" | 8 #include "ash/accessibility_delegate.h" |
9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 virtual void SetLargeCursorEnabled(bool enabled) OVERRIDE; | 28 virtual void SetLargeCursorEnabled(bool enabled) OVERRIDE; |
29 virtual bool IsLargeCursorEnabled() const OVERRIDE; | 29 virtual bool IsLargeCursorEnabled() const OVERRIDE; |
30 virtual void SetAutoclickEnabled(bool enabled) OVERRIDE; | 30 virtual void SetAutoclickEnabled(bool enabled) OVERRIDE; |
31 virtual bool IsAutoclickEnabled() const OVERRIDE; | 31 virtual bool IsAutoclickEnabled() const OVERRIDE; |
32 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; | 32 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; |
33 virtual void SilenceSpokenFeedback() const OVERRIDE; | 33 virtual void SilenceSpokenFeedback() const OVERRIDE; |
34 virtual void ToggleSpokenFeedback( | 34 virtual void ToggleSpokenFeedback( |
35 AccessibilityNotificationVisibility notify) OVERRIDE; | 35 AccessibilityNotificationVisibility notify) OVERRIDE; |
36 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; | 36 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; |
37 virtual double GetSavedScreenMagnifierScale() OVERRIDE; | 37 virtual double GetSavedScreenMagnifierScale() OVERRIDE; |
| 38 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) OVERRIDE; |
| 39 virtual AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE; |
38 | 40 |
39 private: | 41 private: |
40 bool spoken_feedback_enabled_; | 42 bool spoken_feedback_enabled_; |
41 bool high_contrast_enabled_; | 43 bool high_contrast_enabled_; |
42 bool screen_magnifier_enabled_; | 44 bool screen_magnifier_enabled_; |
43 MagnifierType screen_magnifier_type_; | 45 MagnifierType screen_magnifier_type_; |
44 bool large_cursor_enabled_; | 46 bool large_cursor_enabled_; |
45 bool autoclick_enabled_; | 47 bool autoclick_enabled_; |
46 | 48 AccessibilityAlert accessibility_alert_; |
47 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); | 49 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); |
48 }; | 50 }; |
49 | 51 |
50 } // namespace internal | 52 } // namespace internal |
51 } // namespace ash | 53 } // namespace ash |
52 | 54 |
53 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 55 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
OLD | NEW |