| Index: components/exo/wm_helper_ash.cc
|
| diff --git a/components/exo/wm_helper_ash.cc b/components/exo/wm_helper_ash.cc
|
| index 1a646132e124679c08a8ba5d2554043f9e4f034e..21a085fd4b42a942bd5363dd9c818261a4b1932d 100644
|
| --- a/components/exo/wm_helper_ash.cc
|
| +++ b/components/exo/wm_helper_ash.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "components/exo/wm_helper_ash.h"
|
|
|
| +#include "ash/common/accessibility_delegate.h"
|
| #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/display/display_manager.h"
|
| @@ -89,6 +90,16 @@ bool WMHelperAsh::IsMaximizeModeWindowManagerEnabled() const {
|
| ->IsMaximizeModeWindowManagerEnabled();
|
| }
|
|
|
| +bool WMHelperAsh::IsSpokenFeedbackEnabled() const {
|
| + return ash::WmShell::Get()
|
| + ->accessibility_delegate()
|
| + ->IsSpokenFeedbackEnabled();
|
| +}
|
| +
|
| +void WMHelperAsh::PlayEarcon(int sound_key) const {
|
| + return ash::WmShell::Get()->accessibility_delegate()->PlayEarcon(sound_key);
|
| +}
|
| +
|
| void WMHelperAsh::OnWindowActivated(
|
| aura::client::ActivationChangeObserver::ActivationReason reason,
|
| aura::Window* gained_active,
|
| @@ -109,6 +120,11 @@ void WMHelperAsh::OnCursorSetChanged(ui::CursorSetType cursor_set) {
|
| NotifyCursorSetChanged(cursor_set);
|
| }
|
|
|
| +void WMHelperAsh::OnAccessibilityModeChanged(
|
| + ash::AccessibilityNotificationVisibility notify) {
|
| + NotifyAccessibilityModeChanged();
|
| +}
|
| +
|
| void WMHelperAsh::OnMaximizeModeStarted() {
|
| NotifyMaximizeModeStarted();
|
| }
|
|
|