| Index: components/exo/shell_surface.h
|
| diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h
|
| index 54a5081659e42fe0a08aeb5144751a65fc1ffc01..3fd85d57eb35dbd3a04d8a48d3b4bcd494b7f8e0 100644
|
| --- a/components/exo/shell_surface.h
|
| +++ b/components/exo/shell_surface.h
|
| @@ -9,7 +9,6 @@
|
| #include <memory>
|
| #include <string>
|
|
|
| -#include "ash/common/system/accessibility_observer.h"
|
| #include "ash/common/wm/window_state_observer.h"
|
| #include "base/macros.h"
|
| #include "base/strings/string16.h"
|
| @@ -43,10 +42,10 @@ class ShellSurface : public SurfaceDelegate,
|
| public SurfaceObserver,
|
| public views::WidgetDelegate,
|
| public views::View,
|
| - public ash::AccessibilityObserver,
|
| public ash::wm::WindowStateObserver,
|
| public aura::WindowObserver,
|
| - public WMHelper::ActivationObserver {
|
| + public WMHelper::ActivationObserver,
|
| + public WMHelper::AccessibilityObserver {
|
| public:
|
| ShellSurface(Surface* surface,
|
| ShellSurface* parent,
|
| @@ -196,10 +195,6 @@ class ShellSurface : public SurfaceDelegate,
|
| // Overridden from views::View:
|
| gfx::Size GetPreferredSize() const override;
|
|
|
| - // Overridden from ash::AccessibilityObserver:
|
| - void OnAccessibilityModeChanged(
|
| - ash::AccessibilityNotificationVisibility notify) override;
|
| -
|
| // Overridden from ash::wm::WindowStateObserver:
|
| void OnPreWindowStateTypeChange(ash::wm::WindowState* window_state,
|
| ash::wm::WindowStateType old_type) override;
|
| @@ -217,6 +212,9 @@ class ShellSurface : public SurfaceDelegate,
|
| aura::Window* gained_active,
|
| aura::Window* lost_active) override;
|
|
|
| + // Overridden from WMHelper::AccessibilityObserver:
|
| + void OnAccessibilityModeChanged() override;
|
| +
|
| // Overridden from ui::EventHandler:
|
| void OnKeyEvent(ui::KeyEvent* event) override;
|
| void OnMouseEvent(ui::MouseEvent* event) override;
|
|
|