Index: views/views_delegate.h |
=================================================================== |
--- views/views_delegate.h (revision 53979) |
+++ views/views_delegate.h (working copy) |
@@ -11,6 +11,8 @@ |
#include <windows.h> |
#endif |
+#include "views/accessibility/accessibility_types.h" |
+ |
class Clipboard; |
namespace gfx { |
@@ -19,6 +21,8 @@ |
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 @@ |
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; |