summaryrefslogtreecommitdiffstats
path: root/views/views_delegate.h
diff options
context:
space:
mode:
authordtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 17:32:17 +0000
committerdtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 17:32:17 +0000
commitddd919e0e7a8c024953aff2dd75e807e440f7722 (patch)
treec915bf1196d546ffecc5a3d69466df2076cabd21 /views/views_delegate.h
parentf8be5b0e0a1514d13f2ac63b31c6de52d3fdf6cc (diff)
downloadchromium_src-ddd919e0e7a8c024953aff2dd75e807e440f7722.zip
chromium_src-ddd919e0e7a8c024953aff2dd75e807e440f7722.tar.gz
chromium_src-ddd919e0e7a8c024953aff2dd75e807e440f7722.tar.bz2
Reland r54074.
Review URL: http://codereview.chromium.org/3010040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/views_delegate.h')
-rw-r--r--views/views_delegate.h9
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;