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_DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 5 #ifndef ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
6 #define ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 6 #define ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/common/accessibility_delegate.h" | 9 #include "ash/common/accessibility_delegate.h" |
10 #include "ash/common/accessibility_types.h" | 10 #include "ash/common/accessibility_types.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 void SetVirtualKeyboardEnabled(bool enabled) override; | 31 void SetVirtualKeyboardEnabled(bool enabled) override; |
32 bool IsVirtualKeyboardEnabled() const override; | 32 bool IsVirtualKeyboardEnabled() const override; |
33 void SetMonoAudioEnabled(bool enabled) override; | 33 void SetMonoAudioEnabled(bool enabled) override; |
34 bool IsMonoAudioEnabled() const override; | 34 bool IsMonoAudioEnabled() const override; |
35 void SetCaretHighlightEnabled(bool enabled) override; | 35 void SetCaretHighlightEnabled(bool enabled) override; |
36 bool IsCaretHighlightEnabled() const override; | 36 bool IsCaretHighlightEnabled() const override; |
37 void SetCursorHighlightEnabled(bool enabled) override; | 37 void SetCursorHighlightEnabled(bool enabled) override; |
38 bool IsCursorHighlightEnabled() const override; | 38 bool IsCursorHighlightEnabled() const override; |
39 void SetFocusHighlightEnabled(bool enabled) override; | 39 void SetFocusHighlightEnabled(bool enabled) override; |
40 bool IsFocusHighlightEnabled() const override; | 40 bool IsFocusHighlightEnabled() const override; |
| 41 void SetStickyKeysEnabled(bool enabled) override; |
| 42 bool IsStickyKeysEnabled() const override; |
| 43 void SetTapDraggingEnabled(bool enabled) override; |
| 44 bool IsTapDraggingEnabled() const override; |
41 void SetSelectToSpeakEnabled(bool enabled) override; | 45 void SetSelectToSpeakEnabled(bool enabled) override; |
42 bool IsSelectToSpeakEnabled() const override; | 46 bool IsSelectToSpeakEnabled() const override; |
43 void SetSwitchAccessEnabled(bool enabled) override; | 47 void SetSwitchAccessEnabled(bool enabled) override; |
44 bool IsSwitchAccessEnabled() const override; | 48 bool IsSwitchAccessEnabled() const override; |
45 bool ShouldShowAccessibilityMenu() const override; | 49 bool ShouldShowAccessibilityMenu() const override; |
46 bool IsBrailleDisplayConnected() const override; | 50 bool IsBrailleDisplayConnected() const override; |
47 void SilenceSpokenFeedback() const override; | 51 void SilenceSpokenFeedback() const override; |
48 void ClearFocusHighlight() const override; | 52 void ClearFocusHighlight() const override; |
49 void ToggleSpokenFeedback( | 53 void ToggleSpokenFeedback( |
50 AccessibilityNotificationVisibility notify) override; | 54 AccessibilityNotificationVisibility notify) override; |
(...skipping 12 matching lines...) Expand all Loading... |
63 bool high_contrast_enabled_ = false; | 67 bool high_contrast_enabled_ = false; |
64 bool screen_magnifier_enabled_ = false; | 68 bool screen_magnifier_enabled_ = false; |
65 MagnifierType screen_magnifier_type_ = kDefaultMagnifierType; | 69 MagnifierType screen_magnifier_type_ = kDefaultMagnifierType; |
66 bool large_cursor_enabled_ = false; | 70 bool large_cursor_enabled_ = false; |
67 bool autoclick_enabled_ = false; | 71 bool autoclick_enabled_ = false; |
68 bool virtual_keyboard_enabled_ = false; | 72 bool virtual_keyboard_enabled_ = false; |
69 bool mono_audio_enabled_ = false; | 73 bool mono_audio_enabled_ = false; |
70 bool caret_highlight_enabled_ = false; | 74 bool caret_highlight_enabled_ = false; |
71 bool cursor_highlight_enabled_ = false; | 75 bool cursor_highlight_enabled_ = false; |
72 bool focus_highligh_enabled_ = false; | 76 bool focus_highligh_enabled_ = false; |
| 77 bool sticky_keys_enabled_ = false; |
| 78 bool tap_dragging_enabled_ = false; |
73 bool select_to_speak_enabled_ = false; | 79 bool select_to_speak_enabled_ = false; |
74 bool switch_access_enabled_ = false; | 80 bool switch_access_enabled_ = false; |
75 AccessibilityAlert accessibility_alert_ = A11Y_ALERT_NONE; | 81 AccessibilityAlert accessibility_alert_ = A11Y_ALERT_NONE; |
76 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); | 82 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); |
77 }; | 83 }; |
78 | 84 |
79 } // namespace ash | 85 } // namespace ash |
80 | 86 |
81 #endif // ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 87 #endif // ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
OLD | NEW |