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

Unified Diff: ui/accessibility/ax_tree.h

Issue 2917363002: Automatically fire AX events on Mac based on tree changes (Closed)
Patch Set: Fix accidental shadowing of BrowserAccessibilityManager::OnAtomicUpdateFinished, caught by browser … 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
Index: ui/accessibility/ax_tree.h
diff --git a/ui/accessibility/ax_tree.h b/ui/accessibility/ax_tree.h
index 53cd9ea7baeda471161e5d92ccae6908eff9061d..144883837a86c00fd1e01b2950d089fba81cfddf 100644
--- a/ui/accessibility/ax_tree.h
+++ b/ui/accessibility/ax_tree.h
@@ -85,8 +85,9 @@ class AX_EXPORT AXTreeDelegate {
const std::vector<int32_t>& new_value) {}
// Called when tree data changes.
- virtual void OnTreeDataChanged(AXTree* tree) = 0;
-
+ virtual void OnTreeDataChanged(AXTree* tree,
+ const ui::AXTreeData& old_data,
+ const ui::AXTreeData& new_data) = 0;
// Called just before a node is deleted. Its id and data will be valid,
// but its links to parents and children are invalid. This is called
// in the middle of an update, the tree may be in an invalid state!
« no previous file with comments | « content/test/data/accessibility/event/menulist-collapse-expected-mac.txt ('k') | ui/accessibility/ax_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698