| 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_types.h" | 10 #include "ash/accessibility_types.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 228 |
| 229 // Returns true if a braille display is connected to the system, otherwise | 229 // Returns true if a braille display is connected to the system, otherwise |
| 230 // false. | 230 // false. |
| 231 bool IsBrailleDisplayConnected() const; | 231 bool IsBrailleDisplayConnected() const; |
| 232 | 232 |
| 233 // user_manager::UserManager::UserSessionStateObserver overrides: | 233 // user_manager::UserManager::UserSessionStateObserver overrides: |
| 234 void ActiveUserChanged(const user_manager::User* active_user) override; | 234 void ActiveUserChanged(const user_manager::User* active_user) override; |
| 235 | 235 |
| 236 // ShellObserver overrides: | 236 // ShellObserver overrides: |
| 237 void OnFullscreenStateChanged(bool is_fullscreen, | 237 void OnFullscreenStateChanged(bool is_fullscreen, |
| 238 ash::WmWindow* root_window) override; | 238 aura::Window* root_window) override; |
| 239 | 239 |
| 240 void SetProfileForTest(Profile* profile); | 240 void SetProfileForTest(Profile* profile); |
| 241 | 241 |
| 242 static void SetBrailleControllerForTest( | 242 static void SetBrailleControllerForTest( |
| 243 extensions::api::braille_display_private::BrailleController* controller); | 243 extensions::api::braille_display_private::BrailleController* controller); |
| 244 | 244 |
| 245 // Enables/disables system sounds. | 245 // Enables/disables system sounds. |
| 246 void EnableSystemSounds(bool system_sounds_enabled); | 246 void EnableSystemSounds(bool system_sounds_enabled); |
| 247 | 247 |
| 248 // Initiates play of shutdown sound and returns it's duration. | 248 // Initiates play of shutdown sound and returns it's duration. |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 switch_access_event_handler_; | 454 switch_access_event_handler_; |
| 455 | 455 |
| 456 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; | 456 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; |
| 457 | 457 |
| 458 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); | 458 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); |
| 459 }; | 459 }; |
| 460 | 460 |
| 461 } // namespace chromeos | 461 } // namespace chromeos |
| 462 | 462 |
| 463 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 463 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |