| 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 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 5 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 6 | 6 |
| 7 #include "ash/audio/sounds.h" | 7 #include "ash/audio/sounds.h" |
| 8 #include "ash/autoclick/autoclick_controller.h" | 8 #include "ash/autoclick/autoclick_controller.h" |
| 9 #include "ash/high_contrast/high_contrast_controller.h" | 9 #include "ash/high_contrast/high_contrast_controller.h" |
| 10 #include "ash/metrics/user_metrics_recorder.h" | 10 #include "ash/metrics/user_metrics_recorder.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | 28 #include "chrome/browser/chromeos/login/login_display_host_impl.h" |
| 29 #include "chrome/browser/chromeos/login/screen_locker.h" | 29 #include "chrome/browser/chromeos/login/screen_locker.h" |
| 30 #include "chrome/browser/chromeos/login/user_manager.h" | 30 #include "chrome/browser/chromeos/login/user_manager.h" |
| 31 #include "chrome/browser/chromeos/login/webui_login_view.h" | 31 #include "chrome/browser/chromeos/login/webui_login_view.h" |
| 32 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 32 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 33 #include "chrome/browser/extensions/component_loader.h" | 33 #include "chrome/browser/extensions/component_loader.h" |
| 34 #include "chrome/browser/extensions/extension_service.h" | 34 #include "chrome/browser/extensions/extension_service.h" |
| 35 #include "chrome/browser/profiles/profile.h" | 35 #include "chrome/browser/profiles/profile.h" |
| 36 #include "chrome/browser/profiles/profile_manager.h" | 36 #include "chrome/browser/profiles/profile_manager.h" |
| 37 #include "chrome/common/chrome_paths.h" | 37 #include "chrome/common/chrome_paths.h" |
| 38 #include "chrome/common/extensions/api/experimental_accessibility.h" | 38 #include "chrome/common/extensions/api/accessibility_private.h" |
| 39 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" | 39 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" |
| 40 #include "chrome/common/pref_names.h" | 40 #include "chrome/common/pref_names.h" |
| 41 #include "chromeos/audio/chromeos_sounds.h" | 41 #include "chromeos/audio/chromeos_sounds.h" |
| 42 #include "chromeos/login/login_state.h" | 42 #include "chromeos/login/login_state.h" |
| 43 #include "content/public/browser/browser_accessibility_state.h" | 43 #include "content/public/browser/browser_accessibility_state.h" |
| 44 #include "content/public/browser/browser_thread.h" | 44 #include "content/public/browser/browser_thread.h" |
| 45 #include "content/public/browser/notification_details.h" | 45 #include "content/public/browser/notification_details.h" |
| 46 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
| 47 #include "content/public/browser/notification_source.h" | 47 #include "content/public/browser/notification_source.h" |
| 48 #include "content/public/browser/render_process_host.h" | 48 #include "content/public/browser/render_process_host.h" |
| (...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 chrome_vox_loaded_on_lock_screen_; | 1012 chrome_vox_loaded_on_lock_screen_; |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { | 1015 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { |
| 1016 // Do any teardown work needed immediately after ChromeVox actually unloads. | 1016 // Do any teardown work needed immediately after ChromeVox actually unloads. |
| 1017 if (system_sounds_enabled_) | 1017 if (system_sounds_enabled_) |
| 1018 ash::PlaySystemSoundAlways(SOUND_SPOKEN_FEEDBACK_DISABLED); | 1018 ash::PlaySystemSoundAlways(SOUND_SPOKEN_FEEDBACK_DISABLED); |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 } // namespace chromeos | 1021 } // namespace chromeos |
| OLD | NEW |