| Index: chrome/browser/ui/ash/volume_controller_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/volume_controller_chromeos.cc b/chrome/browser/ui/ash/volume_controller_chromeos.cc
|
| index 58e4478c169109943e3a902e1dbd517dc5a53316..cdd310bc3f7c1e9a874606faa55a51ce0b4dcfce 100644
|
| --- a/chrome/browser/ui/ash/volume_controller_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/volume_controller_chromeos.cc
|
| @@ -4,10 +4,10 @@
|
|
|
| #include "chrome/browser/ui/ash/volume_controller_chromeos.h"
|
|
|
| -#include "ash/audio/sounds.h"
|
| #include "ash/common/ash_switches.h"
|
| #include "base/command_line.h"
|
| #include "chrome/browser/browser_process.h"
|
| +#include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
|
| #include "chrome/browser/extensions/api/system_private/system_private_api.h"
|
| #include "chromeos/audio/chromeos_sounds.h"
|
| #include "chromeos/chromeos_switches.h"
|
| @@ -29,8 +29,11 @@ bool VolumeAdjustSoundEnabled() {
|
| }
|
|
|
| void PlayVolumeAdjustSound() {
|
| - if (VolumeAdjustSoundEnabled())
|
| - ash::PlaySystemSoundIfSpokenFeedback(chromeos::SOUND_VOLUME_ADJUST);
|
| + if (VolumeAdjustSoundEnabled()) {
|
| + chromeos::AccessibilityManager::Get()->PlayEarcon(
|
| + chromeos::SOUND_VOLUME_ADJUST,
|
| + chromeos::PlaySoundOption::SPOKEN_FEEDBACK_ENABLED);
|
| + }
|
| }
|
|
|
| } // namespace
|
|
|