| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "ash/accessibility_delegate.h" | 10 #include "ash/accessibility_delegate.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void HandleProfileChanged(Profile* previous_profile, | 69 void HandleProfileChanged(Profile* previous_profile, |
| 70 Profile* current_profile); | 70 Profile* current_profile); |
| 71 | 71 |
| 72 private: | 72 private: |
| 73 const char* pref_path_; | 73 const char* pref_path_; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 // Returns true when the accessibility menu should be shown. | 76 // Returns true when the accessibility menu should be shown. |
| 77 bool ShouldShowAccessibilityMenu(); | 77 bool ShouldShowAccessibilityMenu(); |
| 78 | 78 |
| 79 // Returns true when cursor compositing should be enabled. |
| 80 bool ShouldEnableCursorCompositing(); |
| 81 |
| 79 // Enables or disables the large cursor. | 82 // Enables or disables the large cursor. |
| 80 void EnableLargeCursor(bool enabled); | 83 void EnableLargeCursor(bool enabled); |
| 81 // Returns true if the large cursor is enabled, or false if not. | 84 // Returns true if the large cursor is enabled, or false if not. |
| 82 bool IsLargeCursorEnabled(); | 85 bool IsLargeCursorEnabled(); |
| 83 | 86 |
| 84 // Enables or disable Sticky Keys. | 87 // Enables or disable Sticky Keys. |
| 85 void EnableStickyKeys(bool enabled); | 88 void EnableStickyKeys(bool enabled); |
| 86 | 89 |
| 87 // Returns true if Incognito mode is allowed, or false if not. | 90 // Returns true if Incognito mode is allowed, or false if not. |
| 88 bool IsIncognitoAllowed(); | 91 bool IsIncognitoAllowed(); |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 bool should_speak_chrome_vox_announcements_on_user_screen_; | 221 bool should_speak_chrome_vox_announcements_on_user_screen_; |
| 219 | 222 |
| 220 bool system_sounds_enabled_; | 223 bool system_sounds_enabled_; |
| 221 | 224 |
| 222 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); | 225 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); |
| 223 }; | 226 }; |
| 224 | 227 |
| 225 } // namespace chromeos | 228 } // namespace chromeos |
| 226 | 229 |
| 227 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 230 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |