5#ifndef UI_ACCESSIBILITY_AX_TABLE_INFO_H_
6#define UI_ACCESSIBILITY_AX_TABLE_INFO_H_
11#include <unordered_map>
47 bool valid()
const {
return valid_; }
98 int aria_row_count = 0;
99 int aria_col_count = 0;
107 void BuildCellDataVectorFromRowAndCellNodes(
108 const std::vector<AXNode*>& row_node_list,
109 const std::vector<std::vector<AXNode*>>& cell_nodes_per_row);
110 void BuildCellAndHeaderVectorsFromCellData();
111 void UpdateExtraMacNodes();
112 void ClearExtraMacNodes();
113 AXNode* CreateExtraMacColumnNode(
size_t col_index);
114 AXNode* CreateExtraMacTableHeaderNode();
115 void UpdateExtraMacColumnNodeAttributes(
size_t col_index);
118 AXNode* table_node_ =
nullptr;
120 std::map<int, std::map<int, CellData>> incremental_row_col_map_;
static sk_sp< Effect > Create()
std::vector< std::vector< int32_t > > col_headers
std::vector< CellData > cell_data_vector
std::vector< std::vector< int32_t > > cell_ids
std::unordered_map< int32_t, size_t > row_id_to_index
std::vector< AXNode * > extra_mac_nodes
std::unordered_map< int32_t, size_t > cell_id_to_index
std::vector< AXNode * > row_nodes
std::vector< int32_t > all_headers
std::vector< std::vector< int32_t > > row_headers
std::vector< int32_t > unique_cell_ids
const char * ToString(ax::mojom::Event event)