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

Unified Diff: content/browser/accessibility/browser_accessibility_manager_mac.mm

Issue 2961913002: Fire load complete notifications on Mac even when page loads quickly. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_manager_mac.mm
diff --git a/content/browser/accessibility/browser_accessibility_manager_mac.mm b/content/browser/accessibility/browser_accessibility_manager_mac.mm
index c71ffbe2b2120b9688d9efffa53e215141b5696c..1a976e35d250eed54ebd99f358d0ae657606ca36 100644
--- a/content/browser/accessibility/browser_accessibility_manager_mac.mm
+++ b/content/browser/accessibility/browser_accessibility_manager_mac.mm
@@ -577,6 +577,9 @@ void BrowserAccessibilityManagerMac::OnAtomicUpdateFinished(
tree_events_[live_root->id()].insert(ui::AX_EVENT_LIVE_REGION_CHANGED);
}
}
+
+ if (root_changed && tree->data().loaded)
+ tree_events_[tree->root()->id()].insert(ui::AX_EVENT_LOAD_COMPLETE);
}
NSDictionary* BrowserAccessibilityManagerMac::
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698