Index: components/exo/shell_surface.h |
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h |
index 1c7e3072d1045684ff0c92d207664547205a4651..0ca52c06c64df1a8ebf5ede13b1da3b30f189606 100644 |
--- a/components/exo/shell_surface.h |
+++ b/components/exo/shell_surface.h |
@@ -9,6 +9,7 @@ |
#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" |
@@ -42,6 +43,7 @@ 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 { |
@@ -194,6 +196,10 @@ 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; |
@@ -212,6 +218,7 @@ class ShellSurface : public SurfaceDelegate, |
aura::Window* lost_active) override; |
// Overridden from ui::EventHandler: |
+ void OnEvent(ui::Event* event) override; |
void OnKeyEvent(ui::KeyEvent* event) override; |
void OnMouseEvent(ui::MouseEvent* event) override; |
@@ -298,6 +305,7 @@ class ShellSurface : public SurfaceDelegate, |
int top_inset_height_ = 0; |
int pending_top_inset_height_ = 0; |
float rectangular_shadow_background_opacity_ = 1.0; |
+ bool audio_feedback_ = false; |
DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
}; |