Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1774)

Unified Diff: views/view.cc

Issue 3056045: Improvements to accessibility extension api support for "views":... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/focus/focus_manager_win.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.cc
===================================================================
--- views/view.cc (revision 55065)
+++ views/view.cc (working copy)
@@ -314,8 +314,15 @@
FocusManager* focus_manager = GetFocusManager();
if (focus_manager)
focus_manager->ClearNativeFocus();
+
+ // Notify assistive technologies of the focus change.
+ NotifyAccessibilityEvent(AccessibilityTypes::EVENT_FOCUS);
}
+void View::NotifyAccessibilityEvent(AccessibilityTypes::Event event_type) {
+ NotifyAccessibilityEvent(event_type, true);
+}
+
void View::SetHotTracked(bool flag) {
}
« no previous file with comments | « views/focus/focus_manager_win.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698