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

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

Issue 8869006: Remove special casing for firing load completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Poll while busy a11y tree returned. Created 9 years 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: content/browser/renderer_host/render_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index f663f6ef2e3cf1def738c7b972df7413587661d2..ab0ce6d23f64f9ee510787c6bb60f74f9ec52da2 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -1400,13 +1400,12 @@ void RenderViewHost::OnAccessibilityNotifications(
if (param.notification_type == ViewHostMsg_AccEvent::LOAD_COMPLETE &&
save_accessibility_tree_for_testing_) {
accessibility_tree_ = param.acc_tree;
+ content::NotificationService::current()->Notify(
+ content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
+ content::Source<RenderViewHost>(this),
+ content::NotificationService::NoDetails());
}
}
-
- content::NotificationService::current()->Notify(
- content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
- content::Source<RenderViewHost>(this),
- content::NotificationService::NoDetails());
}
Send(new ViewMsg_AccessibilityNotifications_ACK(routing_id()));
« no previous file with comments | « content/browser/accessibility/renderer_accessibility_browsertest.cc ('k') | content/renderer/renderer_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698