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" |
11 #include "ash/session_state_delegate.h" | 11 #include "ash/session_state_delegate.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "ash/sticky_keys/sticky_keys_controller.h" | 13 #include "ash/sticky_keys/sticky_keys_controller.h" |
14 #include "ash/system/tray/system_tray_notifier.h" | 14 #include "ash/system/tray/system_tray_notifier.h" |
15 #include "ash/wm/event_rewriter_event_filter.h" | |
16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
18 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
19 #include "base/path_service.h" | 18 #include "base/path_service.h" |
20 #include "base/prefs/pref_member.h" | 19 #include "base/prefs/pref_member.h" |
21 #include "base/prefs/pref_service.h" | 20 #include "base/prefs/pref_service.h" |
22 #include "base/time/time.h" | 21 #include "base/time/time.h" |
23 #include "base/values.h" | 22 #include "base/values.h" |
24 #include "chrome/browser/accessibility/accessibility_extension_api.h" | 23 #include "chrome/browser/accessibility/accessibility_extension_api.h" |
25 #include "chrome/browser/browser_process.h" | 24 #include "chrome/browser/browser_process.h" |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 | 962 |
964 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { | 963 void AccessibilityManager::PostUnloadChromeVox(Profile* profile) { |
965 // Do any teardown work needed immediately after ChromeVox actually unloads. | 964 // Do any teardown work needed immediately after ChromeVox actually unloads. |
966 if (system_sounds_enabled_) { | 965 if (system_sounds_enabled_) { |
967 ash::PlaySystemSound(SOUND_SPOKEN_FEEDBACK_DISABLED, | 966 ash::PlaySystemSound(SOUND_SPOKEN_FEEDBACK_DISABLED, |
968 false /* honor_spoken_feedback */); | 967 false /* honor_spoken_feedback */); |
969 } | 968 } |
970 } | 969 } |
971 | 970 |
972 } // namespace chromeos | 971 } // namespace chromeos |
OLD | NEW |