Flutter Engine
The Flutter Engine
|
#include <ax_event_generator.h>
Classes | |
struct | EventParams |
class | Iterator |
struct | TargetedEvent |
Public Member Functions | |
AXEventGenerator () | |
AXEventGenerator (AXTree *tree) | |
~AXEventGenerator () override | |
void | SetTree (AXTree *new_tree) |
void | ReleaseTree () |
Iterator | begin () const |
Iterator | end () const |
void | ClearEvents () |
void | AddEvent (ui::AXNode *node, Event event) |
void | set_always_fire_load_complete (bool val) |
Public Member Functions inherited from ui::AXTreeObserver | |
AXTreeObserver () | |
virtual | ~AXTreeObserver () |
virtual void | OnNodeDataWillChange (AXTree *tree, const AXNodeData &old_node_data, const AXNodeData &new_node_data) |
virtual void | OnNodeDataChanged (AXTree *tree, const AXNodeData &old_node_data, const AXNodeData &new_node_data) |
virtual void | OnRoleChanged (AXTree *tree, AXNode *node, ax::mojom::Role old_role, ax::mojom::Role new_role) |
virtual void | OnStateChanged (AXTree *tree, AXNode *node, ax::mojom::State state, bool new_value) |
virtual void | OnStringAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::StringAttribute attr, const std::string &old_value, const std::string &new_value) |
virtual void | OnIntAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::IntAttribute attr, int32_t old_value, int32_t new_value) |
virtual void | OnFloatAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::FloatAttribute attr, float old_value, float new_value) |
virtual void | OnBoolAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::BoolAttribute attr, bool new_value) |
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 | 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 | OnTreeDataChanged (AXTree *tree, const AXTreeData &old_data, const AXTreeData &new_data) |
virtual void | OnNodeWillBeDeleted (AXTree *tree, AXNode *node) |
virtual void | OnSubtreeWillBeDeleted (AXTree *tree, AXNode *node) |
virtual void | OnNodeWillBeReparented (AXTree *tree, AXNode *node) |
virtual void | OnSubtreeWillBeReparented (AXTree *tree, AXNode *node) |
virtual void | OnNodeCreated (AXTree *tree, AXNode *node) |
virtual void | OnNodeDeleted (AXTree *tree, int32_t node_id) |
virtual void | OnNodeReparented (AXTree *tree, AXNode *node) |
virtual void | OnNodeChanged (AXTree *tree, AXNode *node) |
virtual void | OnAtomicUpdateFinished (AXTree *tree, bool root_changed, const std::vector< Change > &changes) |
Protected Member Functions | |
void | OnNodeDataChanged (AXTree *tree, const AXNodeData &old_node_data, const AXNodeData &new_node_data) override |
void | OnRoleChanged (AXTree *tree, AXNode *node, ax::mojom::Role old_role, ax::mojom::Role new_role) override |
void | OnStateChanged (AXTree *tree, AXNode *node, ax::mojom::State state, bool new_value) override |
void | OnStringAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::StringAttribute attr, const std::string &old_value, const std::string &new_value) override |
void | OnIntAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::IntAttribute attr, int32_t old_value, int32_t new_value) override |
void | OnFloatAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::FloatAttribute attr, float old_value, float new_value) override |
void | OnBoolAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::BoolAttribute attr, bool new_value) override |
void | OnIntListAttributeChanged (AXTree *tree, AXNode *node, ax::mojom::IntListAttribute attr, const std::vector< int32_t > &old_value, const std::vector< int32_t > &new_value) override |
void | OnTreeDataChanged (AXTree *tree, const ui::AXTreeData &old_data, const ui::AXTreeData &new_data) override |
void | OnNodeWillBeDeleted (AXTree *tree, AXNode *node) override |
void | OnSubtreeWillBeDeleted (AXTree *tree, AXNode *node) override |
void | OnNodeWillBeReparented (AXTree *tree, AXNode *node) override |
void | OnSubtreeWillBeReparented (AXTree *tree, AXNode *node) override |
void | OnAtomicUpdateFinished (AXTree *tree, bool root_changed, const std::vector< Change > &changes) override |
Definition at line 25 of file ax_event_generator.h.
Definition at line 157 of file ax_event_generator.h.
using ui::AXEventGenerator::IgnoredChangedStatesBitset = std::bitset<static_cast<size_t>(IgnoredChangedState::kCount)> |
Definition at line 155 of file ax_event_generator.h.
Definition at line 158 of file ax_event_generator.h.
Definition at line 159 of file ax_event_generator.h.
|
strong |
Definition at line 27 of file ax_event_generator.h.
|
strong |
|
default |
|
explicit |
Definition at line 150 of file ax_event_generator.cc.
|
overridedefault |
void ui::AXEventGenerator::AddEvent | ( | ui::AXNode * | node, |
Event | event | ||
) |
Definition at line 174 of file ax_event_generator.cc.
|
inline |
Definition at line 181 of file ax_event_generator.h.
void ui::AXEventGenerator::ClearEvents | ( | ) |
Definition at line 170 of file ax_event_generator.cc.
|
inline |
Definition at line 184 of file ax_event_generator.h.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 599 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 469 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 431 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 332 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 506 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 185 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 581 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 590 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 203 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 211 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 258 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 586 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 595 of file ax_event_generator.cc.
|
overrideprotectedvirtual |
Reimplemented from ui::AXTreeObserver.
Definition at line 551 of file ax_event_generator.cc.
void ui::AXEventGenerator::ReleaseTree | ( | ) |
Definition at line 165 of file ax_event_generator.cc.
|
inline |
Definition at line 198 of file ax_event_generator.h.
void ui::AXEventGenerator::SetTree | ( | AXTree * | new_tree | ) |
Definition at line 157 of file ax_event_generator.cc.