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_ACCESSIBILITY_DELEGATE_H_ | 5 #ifndef ASH_ACCESSIBILITY_DELEGATE_H_ |
6 #define ASH_ACCESSIBILITY_DELEGATE_H_ | 6 #define ASH_ACCESSIBILITY_DELEGATE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "ui/chromeos/accessibility_types.h" | 10 #include "ui/chromeos/accessibility_types.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 // Returns true if the screen magnifier is enabled. | 38 // Returns true if the screen magnifier is enabled. |
39 virtual bool IsMagnifierEnabled() const = 0; | 39 virtual bool IsMagnifierEnabled() const = 0; |
40 | 40 |
41 // Returns the current screen magnifier mode. | 41 // Returns the current screen magnifier mode. |
42 virtual ui::MagnifierType GetMagnifierType() const = 0; | 42 virtual ui::MagnifierType GetMagnifierType() const = 0; |
43 | 43 |
44 // Invoked to enable Large Cursor. | 44 // Invoked to enable Large Cursor. |
45 virtual void SetLargeCursorEnabled(bool enabled) = 0; | 45 virtual void SetLargeCursorEnabled(bool enabled) = 0; |
46 | 46 |
47 // Returns ture if Large Cursor is enabled. | 47 // Returns true if Large Cursor is enabled. |
48 virtual bool IsLargeCursorEnabled() const = 0; | 48 virtual bool IsLargeCursorEnabled() const = 0; |
49 | 49 |
50 // Invoked to enable autoclick. | 50 // Invoked to enable autoclick. |
51 virtual void SetAutoclickEnabled(bool enabled) = 0; | 51 virtual void SetAutoclickEnabled(bool enabled) = 0; |
52 | 52 |
53 // Returns if autoclick is enabled or not. | 53 // Returns if autoclick is enabled or not. |
54 virtual bool IsAutoclickEnabled() const = 0; | 54 virtual bool IsAutoclickEnabled() const = 0; |
55 | 55 |
56 // Invoked to enable or disable the a11y on-screen keyboard. | 56 // Invoked to enable or disable the a11y on-screen keyboard. |
57 virtual void SetVirtualKeyboardEnabled(bool enabled) = 0; | 57 virtual void SetVirtualKeyboardEnabled(bool enabled) = 0; |
(...skipping 28 matching lines...) Expand all Loading... |
86 // chromeos/audio/chromeos_sounds.h. | 86 // chromeos/audio/chromeos_sounds.h. |
87 virtual void PlayEarcon(int sound_key) = 0; | 87 virtual void PlayEarcon(int sound_key) = 0; |
88 | 88 |
89 // Initiates play of shutdown sound and returns it's duration. | 89 // Initiates play of shutdown sound and returns it's duration. |
90 virtual base::TimeDelta PlayShutdownSound() const = 0; | 90 virtual base::TimeDelta PlayShutdownSound() const = 0; |
91 }; | 91 }; |
92 | 92 |
93 } // namespace ash | 93 } // namespace ash |
94 | 94 |
95 #endif // ASH_ACCESSIBILITY_DELEGATE_H_ | 95 #endif // ASH_ACCESSIBILITY_DELEGATE_H_ |
OLD | NEW |