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

Unified Diff: ui/accessibility/ax_tree.h

Issue 1716663002: Add a treeChange type to Automation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 62b0709fc35aaa9f4d25f0a14c5c71699727e355..3f0868f15309b0d35bcdf58dda3bf8eb44499c79 100644
--- a/ui/accessibility/ax_tree.h
+++ b/ui/accessibility/ax_tree.h
@@ -41,6 +41,10 @@ class AX_EXPORT AXTreeDelegate {
AXTreeDelegate();
virtual ~AXTreeDelegate();
+ // Called before a node's data gets updated.
+ virtual void OnNodeDataWillChange(const AXNodeData& old_node_data,
dmazzoni 2016/02/19 23:20:23 For completeness I'd pass the AXTree* and AXNode*
+ const AXNodeData& new_node_data) = 0;
+
// Called when tree data changes.
virtual void OnTreeDataChanged(AXTree* tree) = 0;

Powered by Google App Engine
This is Rietveld 408576698