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

Unified Diff: content/browser/accessibility/browser_accessibility_manager.cc

Issue 2315733002: Merge to 54: On the Mac, AX_EVENT_LOAD_COMPLETE should only be fired on the top document. (Closed)
Patch Set: Created 4 years, 3 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: content/browser/accessibility/browser_accessibility_manager.cc
diff --git a/content/browser/accessibility/browser_accessibility_manager.cc b/content/browser/accessibility/browser_accessibility_manager.cc
index 3564fe2f8ffc01893ae49dad5233d179009d97d4..f02dc9c8a8ecae9ddc2b2759ca3b5c229fa56e91 100644
--- a/content/browser/accessibility/browser_accessibility_manager.cc
+++ b/content/browser/accessibility/browser_accessibility_manager.cc
@@ -1032,6 +1032,10 @@ BrowserAccessibilityDelegate*
return nullptr;
}
+bool BrowserAccessibilityManager::IsRootTree() {
+ return delegate() && delegate()->AccessibilityGetAcceleratedWidget();
+}
+
ui::AXTreeUpdate
BrowserAccessibilityManager::SnapshotAXTreeForTesting() {
std::unique_ptr<

Powered by Google App Engine
This is Rietveld 408576698