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-28 23:55:07 +0000
committerdtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 23:55:07 +0000
commita4286021fa025f747b4b6b699ff3639a4bdba8e4 (patch)
treec5dc8b45fbe387b4176d664c13eada2ed3d167e9 /views/views_delegate.h
parent3e8d2d54f16890e9ca02244883ab35d72721da3c (diff)
downloadchromium_src-a4286021fa025f747b4b6b699ff3639a4bdba8e4.zip
chromium_src-a4286021fa025f747b4b6b699ff3639a4bdba8e4.tar.gz
chromium_src-a4286021fa025f747b4b6b699ff3639a4bdba8e4.tar.bz2
Add initial tests for keyboard access (tabbing in some dialogs).
BUG=none TEST=none Review URL: http://codereview.chromium.org/3015026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54074 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;