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

Unified Diff: chrome/renderer/extensions/automation_internal_custom_bindings.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
Index: chrome/renderer/extensions/automation_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
index 6764354b25c80ddd5f72212767ef4b88c2423ad2..d4228e748b25af052f946a2832f0cea2f474c4c8 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -141,6 +141,9 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
void UpdateOverallTreeChangeObserverFilter();
// AXTreeDelegate implementation.
+ void OnNodeDataWillChange(ui::AXTree* tree,
+ const ui::AXNodeData& old_node_data,
+ const ui::AXNodeData& new_node_data) override;
void OnTreeDataChanged(ui::AXTree* tree) override;
void OnNodeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override;
void OnSubtreeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override;
@@ -163,6 +166,7 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
api::automation::TreeChangeObserverFilter
tree_change_observer_overall_filter_;
std::vector<int> deleted_node_ids_;
+ std::vector<int> text_changed_node_ids_;
DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
};
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698