42 std::u16string
value =
54 std::u16string inner_text;
101 lowest_unignored_delegate;
104 ancestor_delegate->GetParentDelegate())) {
105 if (ancestor_delegate->IsLeaf())
106 highest_leaf_delegate = ancestor_delegate;
108 if (highest_leaf_delegate)
111 if (lowest_unignored_delegate)
191 : index_(index), parent_(parent) {
198 : index_(it.index_), parent_(it.parent_) {
233 return parent_->ChildAtIndex(index_);
254 return platform_node ? platform_node->
GetDelegate() :
nullptr;
257std::unique_ptr<AXPlatformNodeDelegate::ChildIterator>
259 return std::make_unique<ChildIteratorBase>(
this, 0);
262std::unique_ptr<AXPlatformNodeDelegate::ChildIterator>
264 return std::make_unique<ChildIteratorBase>(
this,
GetChildCount());
272 return std::u16string();
293 const int start_offset,
294 const int end_offset,
302 const int start_offset,
303 const int end_offset,
323 int screen_physical_pixel_x,
324 int screen_physical_pixel_y)
const {
350 if (child_node && child_node->
GetDelegate() ==
this)
356gfx::AcceleratedWidget
358 return gfx::kNullAcceleratedWidget;
374 int aria_column_count;
376 &aria_column_count)) {
379 return aria_column_count;
388 return aria_row_count;
405 int col_index)
const {
414 int row_index)
const {
465 int col_index)
const {
474 int cell_index)
const {
510 return std::u16string();
516 return std::u16string();
521 return std::u16string();
526 return std::u16string();
531 return std::u16string();
537 attributes_map[0] = default_attributes;
538 return attributes_map;
544 return std::string();
576 if (!
GetData().GetIntAttribute(attr, &target_id))
583 const std::set<int32_t>& ids) {
584 std::set<AXPlatformNode*> nodes;
585 for (int32_t node_id : ids) {
593std::vector<AXPlatformNode*>
597 std::vector<int32_t> target_ids;
598 if (!
GetData().GetIntListAttribute(attr, &target_ids))
599 return std::vector<AXPlatformNode*>();
605 std::vector<ui::AXPlatformNode*> nodes;
606 for (int32_t target_id : target_ids) {
608 if (
std::find(nodes.begin(), nodes.end(), node) == nodes.end())
609 nodes.push_back(node);
623 return std::set<AXPlatformNode*>();
628 return std::set<AXPlatformNode*>();
632 return std::u16string();
637 return *dummy_unique_id;
648const std::vector<gfx::NativeViewAccessible>
654 return std::string();
678 for (
auto iter = iter_start; iter != iter_end; ++iter) {
int find(T *array, int N, T item)
std::unique_ptr< AXPosition< AXNodePosition, AXNode > > AXPositionInstance
static AXPositionInstance CreateNullPosition()
UnimplementedNativeViewAccessible * NativeViewAccessible
bool IsNodeIdIntAttribute(ax::mojom::IntAttribute attr)
bool IsCellOrTableHeader(const ax::mojom::Role role)
bool IsTableRow(ax::mojom::Role role)
std::vector< TextAttribute > TextAttributeList
bool IsTableLike(const ax::mojom::Role role)
bool IsNodeIdIntListAttribute(ax::mojom::IntListAttribute attr)
std::map< int, TextAttributeList > TextAttributeMap
bool IsText(ax::mojom::Role role)
int GetIntAttribute(ax::mojom::IntAttribute attribute) const
const std::string & GetStringAttribute(ax::mojom::StringAttribute attribute) const
bool GetString16Attribute(ax::mojom::StringAttribute attribute, std::u16string *value) const
std::shared_ptr< const fml::Mapping > data
#define BASE_DCHECK(condition)