| 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/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 void SetMagnifierEnabled(bool enabled) override; | 23 void SetMagnifierEnabled(bool enabled) override; |
| 24 void SetMagnifierType(ui::MagnifierType type) override; | 24 void SetMagnifierType(ui::MagnifierType type) override; |
| 25 bool IsMagnifierEnabled() const override; | 25 bool IsMagnifierEnabled() const override; |
| 26 ui::MagnifierType GetMagnifierType() const override; | 26 ui::MagnifierType GetMagnifierType() const override; |
| 27 void SetLargeCursorEnabled(bool enabled) override; | 27 void SetLargeCursorEnabled(bool enabled) override; |
| 28 bool IsLargeCursorEnabled() const override; | 28 bool IsLargeCursorEnabled() const override; |
| 29 void SetAutoclickEnabled(bool enabled) override; | 29 void SetAutoclickEnabled(bool enabled) override; |
| 30 bool IsAutoclickEnabled() const override; | 30 bool IsAutoclickEnabled() const override; |
| 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; |
| 34 bool IsMonoAudioEnabled() const override; |
| 33 void SetCaretHighlightEnabled(bool enabled) override; | 35 void SetCaretHighlightEnabled(bool enabled) override; |
| 34 bool IsCaretHighlightEnabled() const override; | 36 bool IsCaretHighlightEnabled() const override; |
| 35 void SetCursorHighlightEnabled(bool enabled) override; | 37 void SetCursorHighlightEnabled(bool enabled) override; |
| 36 bool IsCursorHighlightEnabled() const override; | 38 bool IsCursorHighlightEnabled() const override; |
| 37 void SetFocusHighlightEnabled(bool enabled) override; | 39 void SetFocusHighlightEnabled(bool enabled) override; |
| 38 bool IsFocusHighlightEnabled() const override; | 40 bool IsFocusHighlightEnabled() const override; |
| 39 void SetSelectToSpeakEnabled(bool enabled) override; | 41 void SetSelectToSpeakEnabled(bool enabled) override; |
| 40 bool IsSelectToSpeakEnabled() const override; | 42 bool IsSelectToSpeakEnabled() const override; |
| 41 void SetSwitchAccessEnabled(bool enabled) override; | 43 void SetSwitchAccessEnabled(bool enabled) override; |
| 42 bool IsSwitchAccessEnabled() const override; | 44 bool IsSwitchAccessEnabled() const override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 53 base::TimeDelta PlayShutdownSound() const override; | 55 base::TimeDelta PlayShutdownSound() const override; |
| 54 | 56 |
| 55 private: | 57 private: |
| 56 bool spoken_feedback_enabled_ = false; | 58 bool spoken_feedback_enabled_ = false; |
| 57 bool high_contrast_enabled_ = false; | 59 bool high_contrast_enabled_ = false; |
| 58 bool screen_magnifier_enabled_ = false; | 60 bool screen_magnifier_enabled_ = false; |
| 59 ui::MagnifierType screen_magnifier_type_ = ui::kDefaultMagnifierType; | 61 ui::MagnifierType screen_magnifier_type_ = ui::kDefaultMagnifierType; |
| 60 bool large_cursor_enabled_ = false; | 62 bool large_cursor_enabled_ = false; |
| 61 bool autoclick_enabled_ = false; | 63 bool autoclick_enabled_ = false; |
| 62 bool virtual_keyboard_enabled_ = false; | 64 bool virtual_keyboard_enabled_ = false; |
| 65 bool mono_audio_enabled_ = false; |
| 63 bool caret_highlight_enabled_ = false; | 66 bool caret_highlight_enabled_ = false; |
| 64 bool cursor_highlight_enabled_ = false; | 67 bool cursor_highlight_enabled_ = false; |
| 65 bool focus_highligh_enabled_ = false; | 68 bool focus_highligh_enabled_ = false; |
| 66 bool select_to_speak_enabled_ = false; | 69 bool select_to_speak_enabled_ = false; |
| 67 bool switch_access_enabled_ = false; | 70 bool switch_access_enabled_ = false; |
| 68 ui::AccessibilityAlert accessibility_alert_ = ui::A11Y_ALERT_NONE; | 71 ui::AccessibilityAlert accessibility_alert_ = ui::A11Y_ALERT_NONE; |
| 69 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); | 72 DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate); |
| 70 }; | 73 }; |
| 71 | 74 |
| 72 } // namespace ash | 75 } // namespace ash |
| 73 | 76 |
| 74 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ | 77 #endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_ |
| OLD | NEW |