| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 199 |
| 200 // Returns true if a braille display is connected to the system, otherwise | 200 // Returns true if a braille display is connected to the system, otherwise |
| 201 // false. | 201 // false. |
| 202 bool IsBrailleDisplayConnected() const; | 202 bool IsBrailleDisplayConnected() const; |
| 203 | 203 |
| 204 // SessionStateObserver overrides: | 204 // SessionStateObserver overrides: |
| 205 void ActiveUserChanged(const AccountId& account_id) override; | 205 void ActiveUserChanged(const AccountId& account_id) override; |
| 206 | 206 |
| 207 // ShellObserver overrides: | 207 // ShellObserver overrides: |
| 208 void OnAppTerminating() override; | 208 void OnAppTerminating() override; |
| 209 void OnFullscreenStateChanged(bool is_fullscreen, |
| 210 aura::Window* root_window) override; |
| 209 | 211 |
| 210 void SetProfileForTest(Profile* profile); | 212 void SetProfileForTest(Profile* profile); |
| 211 | 213 |
| 212 static void SetBrailleControllerForTest( | 214 static void SetBrailleControllerForTest( |
| 213 extensions::api::braille_display_private::BrailleController* controller); | 215 extensions::api::braille_display_private::BrailleController* controller); |
| 214 | 216 |
| 215 // Enables/disables system sounds. | 217 // Enables/disables system sounds. |
| 216 void EnableSystemSounds(bool system_sounds_enabled); | 218 void EnableSystemSounds(bool system_sounds_enabled); |
| 217 | 219 |
| 218 // Initiates play of shutdown sound and returns it's duration. | 220 // Initiates play of shutdown sound and returns it's duration. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 scoped_ptr<AccessibilityHighlightManager> accessibility_highlight_manager_; | 387 scoped_ptr<AccessibilityHighlightManager> accessibility_highlight_manager_; |
| 386 | 388 |
| 387 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; | 389 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; |
| 388 | 390 |
| 389 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); | 391 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); |
| 390 }; | 392 }; |
| 391 | 393 |
| 392 } // namespace chromeos | 394 } // namespace chromeos |
| 393 | 395 |
| 394 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 396 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |