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

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: 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..b153625972e83a96355033889cd206bb40892952 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -141,6 +141,8 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
void UpdateOverallTreeChangeObserverFilter();
// AXTreeDelegate implementation.
+ void OnNodeDataWillChange(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 +165,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);
};

Powered by Google App Engine
This is Rietveld 408576698