5#ifndef UI_ACCESSIBILITY_AX_TREE_OBSERVER_H_
6#define UI_ACCESSIBILITY_AX_TREE_OBSERVER_H_
63 const std::string& old_value,
64 const std::string& new_value) {}
83 const std::vector<int32_t>& old_value,
84 const std::vector<int32_t>& new_value) {}
89 const std::vector<std::string>& old_value,
90 const std::vector<std::string>& new_value) {}
156 const std::vector<Change>& changes) {}
virtual void OnAtomicUpdateFinished(AXTree *tree, bool root_changed, const std::vector< Change > &changes)
virtual void OnIntListAttributeChanged(AXTree *tree, AXNode *node, ax::mojom::IntListAttribute attr, const std::vector< int32_t > &old_value, const std::vector< int32_t > &new_value)
virtual void OnRoleChanged(AXTree *tree, AXNode *node, ax::mojom::Role old_role, ax::mojom::Role new_role)
virtual void OnNodeWillBeReparented(AXTree *tree, AXNode *node)
virtual void OnSubtreeWillBeReparented(AXTree *tree, AXNode *node)
virtual void OnIntAttributeChanged(AXTree *tree, AXNode *node, ax::mojom::IntAttribute attr, int32_t old_value, int32_t new_value)
virtual void OnNodeDataWillChange(AXTree *tree, const AXNodeData &old_node_data, const AXNodeData &new_node_data)
virtual void OnSubtreeWillBeDeleted(AXTree *tree, AXNode *node)
virtual void OnNodeWillBeDeleted(AXTree *tree, AXNode *node)
virtual void OnBoolAttributeChanged(AXTree *tree, AXNode *node, ax::mojom::BoolAttribute attr, bool new_value)
virtual void OnStateChanged(AXTree *tree, AXNode *node, ax::mojom::State state, bool new_value)
virtual void OnStringListAttributeChanged(AXTree *tree, AXNode *node, ax::mojom::StringListAttribute attr, const std::vector< std::string > &old_value, const std::vector< std::string > &new_value)
virtual void OnNodeDataChanged(AXTree *tree, const AXNodeData &old_node_data, const AXNodeData &new_node_data)
virtual void OnNodeReparented(AXTree *tree, AXNode *node)
virtual ~AXTreeObserver()
virtual void OnNodeDeleted(AXTree *tree, int32_t node_id)
virtual void OnStringAttributeChanged(AXTree *tree, AXNode *node, ax::mojom::StringAttribute attr, const std::string &old_value, const std::string &new_value)
virtual void OnNodeCreated(AXTree *tree, AXNode *node)
virtual void OnTreeDataChanged(AXTree *tree, const AXTreeData &old_data, const AXTreeData &new_data)
virtual void OnNodeChanged(AXTree *tree, AXNode *node)
virtual void OnFloatAttributeChanged(AXTree *tree, AXNode *node, ax::mojom::FloatAttribute attr, float old_value, float new_value)
Change(AXNode *node, ChangeType type)