diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 07:07:18 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 07:07:18 +0000 |
commit | 6a054ffaae82f5ac8d6b876d7c85f0d87d892e42 (patch) | |
tree | 86b4d5a0c5386f3d50742af099b5009ad1dad14d /views/focus/focus_manager_win.cc | |
parent | 6ca800b9b2618e6ae4b92e189a9b1ae73746e49f (diff) | |
download | chromium_src-6a054ffaae82f5ac8d6b876d7c85f0d87d892e42.zip chromium_src-6a054ffaae82f5ac8d6b876d7c85f0d87d892e42.tar.gz chromium_src-6a054ffaae82f5ac8d6b876d7c85f0d87d892e42.tar.bz2 |
Improvements to accessibility extension api support for "views":
1. Handles the new wrench menu.
2. Uses NotifyAccessibilityEvent to find out when focus changes, rather
than installing focus change listeners that need to be cleaned up.
BUG=none
TEST=Updated AccessibilityEventRouterViewsTest.TestFocusNotification
Review URL: http://codereview.chromium.org/3056045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/focus/focus_manager_win.cc')
-rw-r--r-- | views/focus/focus_manager_win.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/views/focus/focus_manager_win.cc b/views/focus/focus_manager_win.cc index b08bf15..faf3815 100644 --- a/views/focus/focus_manager_win.cc +++ b/views/focus/focus_manager_win.cc @@ -12,12 +12,6 @@ namespace views { void FocusManager::ClearNativeFocus() { // Keep the top root window focused so we get keyboard events. ::SetFocus(widget_->GetNativeView()); - - // We need to let assistive technologies know which child view got focus so - // they can obtain the proper accessibility object for that child view. - if (focused_view_) { - focused_view_->NotifyAccessibilityEvent(AccessibilityTypes::EVENT_FOCUS); - } } void FocusManager::FocusNativeView(gfx::NativeView native_view) { |