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

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: git cl set_commit 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
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.cc ('k') | ui/accessibility/ax_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree.h
diff --git a/ui/accessibility/ax_tree.h b/ui/accessibility/ax_tree.h
index 62b0709fc35aaa9f4d25f0a14c5c71699727e355..888170749a4befc482ec40fe56a292b14c075bda 100644
--- a/ui/accessibility/ax_tree.h
+++ b/ui/accessibility/ax_tree.h
@@ -41,6 +41,11 @@ class AX_EXPORT AXTreeDelegate {
AXTreeDelegate();
virtual ~AXTreeDelegate();
+ // Called before a node's data gets updated.
+ virtual void OnNodeDataWillChange(AXTree* tree,
+ const AXNodeData& old_node_data,
+ const AXNodeData& new_node_data) = 0;
+
// Called when tree data changes.
virtual void OnTreeDataChanged(AXTree* tree) = 0;
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.cc ('k') | ui/accessibility/ax_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698