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 18 matching lines...) Expand all Loading... |
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/experimental_accessibility.h" |
39 #include "chrome/common/extensions/extension_messages.h" | |
40 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" | 39 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" |
41 #include "chrome/common/pref_names.h" | 40 #include "chrome/common/pref_names.h" |
42 #include "chromeos/audio/chromeos_sounds.h" | 41 #include "chromeos/audio/chromeos_sounds.h" |
43 #include "chromeos/login/login_state.h" | 42 #include "chromeos/login/login_state.h" |
44 #include "content/public/browser/browser_accessibility_state.h" | 43 #include "content/public/browser/browser_accessibility_state.h" |
45 #include "content/public/browser/browser_thread.h" | 44 #include "content/public/browser/browser_thread.h" |
46 #include "content/public/browser/notification_details.h" | 45 #include "content/public/browser/notification_details.h" |
47 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
48 #include "content/public/browser/notification_source.h" | 47 #include "content/public/browser/notification_source.h" |
49 #include "content/public/browser/render_process_host.h" | 48 #include "content/public/browser/render_process_host.h" |
50 #include "content/public/browser/render_view_host.h" | 49 #include "content/public/browser/render_view_host.h" |
51 #include "content/public/browser/web_contents.h" | 50 #include "content/public/browser/web_contents.h" |
52 #include "content/public/browser/web_ui.h" | 51 #include "content/public/browser/web_ui.h" |
53 #include "extensions/browser/extension_system.h" | 52 #include "extensions/browser/extension_system.h" |
54 #include "extensions/browser/file_reader.h" | 53 #include "extensions/browser/file_reader.h" |
55 #include "extensions/common/extension.h" | 54 #include "extensions/common/extension.h" |
| 55 #include "extensions/common/extension_messages.h" |
56 #include "extensions/common/extension_resource.h" | 56 #include "extensions/common/extension_resource.h" |
57 #include "grit/browser_resources.h" | 57 #include "grit/browser_resources.h" |
58 #include "grit/generated_resources.h" | 58 #include "grit/generated_resources.h" |
59 #include "media/audio/sounds/sounds_manager.h" | 59 #include "media/audio/sounds/sounds_manager.h" |
60 #include "ui/base/l10n/l10n_util.h" | 60 #include "ui/base/l10n/l10n_util.h" |
61 #include "ui/base/resource/resource_bundle.h" | 61 #include "ui/base/resource/resource_bundle.h" |
62 #include "ui/keyboard/keyboard_controller.h" | 62 #include "ui/keyboard/keyboard_controller.h" |
63 #include "ui/keyboard/keyboard_util.h" | 63 #include "ui/keyboard/keyboard_util.h" |
64 | 64 |
65 using content::BrowserThread; | 65 using content::BrowserThread; |
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 chrome_vox_loaded_on_lock_screen_; | 981 chrome_vox_loaded_on_lock_screen_; |
982 } | 982 } |
983 | 983 |
984 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { | 984 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { |
985 // Do any teardown work needed immediately after ChromeVox actually unloads. | 985 // Do any teardown work needed immediately after ChromeVox actually unloads. |
986 if (system_sounds_enabled_) | 986 if (system_sounds_enabled_) |
987 ash::PlaySystemSoundAlways(SOUND_SPOKEN_FEEDBACK_DISABLED); | 987 ash::PlaySystemSoundAlways(SOUND_SPOKEN_FEEDBACK_DISABLED); |
988 } | 988 } |
989 | 989 |
990 } // namespace chromeos | 990 } // namespace chromeos |
OLD | NEW |