diff options
Diffstat (limited to 'views/views_delegate.h')
-rw-r--r-- | views/views_delegate.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/views/views_delegate.h b/views/views_delegate.h index bc05b45..27e4498 100644 --- a/views/views_delegate.h +++ b/views/views_delegate.h @@ -11,6 +11,8 @@ #include <windows.h> #endif +#include "views/accessibility/accessibility_types.h" + class Clipboard; namespace gfx { @@ -19,6 +21,8 @@ class Rect; namespace views { +class View; + // ViewsDelegate is an interface implemented by an object using the views // framework. It is used to obtain various high level application utilities // and perform some actions such as window placement saving. @@ -48,6 +52,11 @@ class ViewsDelegate { virtual bool GetSavedMaximizedState(const std::wstring& window_name, bool* maximized) const = 0; + // Notify the delegate that an accessibility event has happened in + // a particular view. + virtual void NotifyAccessibilityEvent( + views::View* view, AccessibilityTypes::Event event_type) = 0; + #if defined(OS_WIN) // Retrieves the default window icon to use for windows if none is specified. virtual HICON GetDefaultWindowIcon() const = 0; |