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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #include "content/public/browser/web_contents.h" | 56 #include "content/public/browser/web_contents.h" |
57 #include "content/public/browser/web_ui.h" | 57 #include "content/public/browser/web_ui.h" |
58 #include "extensions/browser/extension_system.h" | 58 #include "extensions/browser/extension_system.h" |
59 #include "extensions/browser/file_reader.h" | 59 #include "extensions/browser/file_reader.h" |
60 #include "extensions/common/extension.h" | 60 #include "extensions/common/extension.h" |
61 #include "extensions/common/extension_messages.h" | 61 #include "extensions/common/extension_messages.h" |
62 #include "extensions/common/extension_resource.h" | 62 #include "extensions/common/extension_resource.h" |
63 #include "grit/browser_resources.h" | 63 #include "grit/browser_resources.h" |
64 #include "grit/generated_resources.h" | 64 #include "grit/generated_resources.h" |
65 #include "media/audio/sounds/sounds_manager.h" | 65 #include "media/audio/sounds/sounds_manager.h" |
66 #include "ui/base/l10n/l10n_util.h" | |
67 #include "ui/base/resource/resource_bundle.h" | 66 #include "ui/base/resource/resource_bundle.h" |
68 #include "ui/keyboard/keyboard_controller.h" | 67 #include "ui/keyboard/keyboard_controller.h" |
69 #include "ui/keyboard/keyboard_util.h" | 68 #include "ui/keyboard/keyboard_util.h" |
70 | 69 |
71 using content::BrowserThread; | 70 using content::BrowserThread; |
72 using content::RenderViewHost; | 71 using content::RenderViewHost; |
73 using extensions::api::braille_display_private::BrailleController; | 72 using extensions::api::braille_display_private::BrailleController; |
74 using extensions::api::braille_display_private::DisplayState; | 73 using extensions::api::braille_display_private::DisplayState; |
75 using extensions::api::braille_display_private::KeyEvent; | 74 using extensions::api::braille_display_private::KeyEvent; |
76 | 75 |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 chrome_vox_loaded_on_lock_screen_; | 1105 chrome_vox_loaded_on_lock_screen_; |
1107 } | 1106 } |
1108 | 1107 |
1109 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { | 1108 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { |
1110 // Do any teardown work needed immediately after ChromeVox actually unloads. | 1109 // Do any teardown work needed immediately after ChromeVox actually unloads. |
1111 if (system_sounds_enabled_) | 1110 if (system_sounds_enabled_) |
1112 ash::PlaySystemSoundAlways(SOUND_SPOKEN_FEEDBACK_DISABLED); | 1111 ash::PlaySystemSoundAlways(SOUND_SPOKEN_FEEDBACK_DISABLED); |
1113 } | 1112 } |
1114 | 1113 |
1115 } // namespace chromeos | 1114 } // namespace chromeos |
OLD | NEW |