| 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/session/session_state_observer.h" | 10 #include "ash/session/session_state_observer.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // Enables or disables the virtual keyboard. | 157 // Enables or disables the virtual keyboard. |
| 158 void EnableVirtualKeyboard(bool enabled); | 158 void EnableVirtualKeyboard(bool enabled); |
| 159 // Returns true if the virtual keyboard is enabled, otherwise false. | 159 // Returns true if the virtual keyboard is enabled, otherwise false. |
| 160 bool IsVirtualKeyboardEnabled(); | 160 bool IsVirtualKeyboardEnabled(); |
| 161 | 161 |
| 162 // Returns true if a braille display is connected to the system, otherwise | 162 // Returns true if a braille display is connected to the system, otherwise |
| 163 // false. | 163 // false. |
| 164 bool IsBrailleDisplayConnected() const; | 164 bool IsBrailleDisplayConnected() const; |
| 165 | 165 |
| 166 // SessionStateObserver overrides: | 166 // SessionStateObserver overrides: |
| 167 void ActiveUserChanged(const std::string& user_id) override; | 167 void ActiveUserChanged(const AccountId& account_id) override; |
| 168 | 168 |
| 169 // ShellObserver overrides: | 169 // ShellObserver overrides: |
| 170 void OnAppTerminating() override; | 170 void OnAppTerminating() override; |
| 171 | 171 |
| 172 void SetProfileForTest(Profile* profile); | 172 void SetProfileForTest(Profile* profile); |
| 173 | 173 |
| 174 static void SetBrailleControllerForTest( | 174 static void SetBrailleControllerForTest( |
| 175 extensions::api::braille_display_private::BrailleController* controller); | 175 extensions::api::braille_display_private::BrailleController* controller); |
| 176 | 176 |
| 177 // Enables/disables system sounds. | 177 // Enables/disables system sounds. |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 bool braille_ime_current_; | 294 bool braille_ime_current_; |
| 295 | 295 |
| 296 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; | 296 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; |
| 297 | 297 |
| 298 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); | 298 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); |
| 299 }; | 299 }; |
| 300 | 300 |
| 301 } // namespace chromeos | 301 } // namespace chromeos |
| 302 | 302 |
| 303 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 303 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |