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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 3250014: Update browser accessibility tree on a renderer accessibility object state ch... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix lint errors 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
Index: chrome/browser/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 57984)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -1968,8 +1968,14 @@
view()->OnAccessibilityFocusChange(acc_obj_id);
}
-void RenderViewHost::OnAccessibilityObjectStateChange(int acc_obj_id) {
- view()->OnAccessibilityObjectStateChange(acc_obj_id);
+void RenderViewHost::OnAccessibilityObjectStateChange(
+ const webkit_glue::WebAccessibility& acc_obj) {
+ view()->OnAccessibilityObjectStateChange(acc_obj);
+
+ NotificationService::current()->Notify(
+ NotificationType::RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
+ Source<RenderViewHost>(this),
+ NotificationService::NoDetails());
}
void RenderViewHost::OnAccessibilityObjectChildrenChange(

Powered by Google App Engine
This is Rietveld 408576698