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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 2799443002: Implemented ARIA colindex, rowindex, colcount and rowcount for Chromevox. (Closed)
Patch Set: Fixed Blink test.# with '#' will be ignored, and an empty message aborts the commit. Created 3 years, 8 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
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index c150deec6382f570f8b4579ac4fdc434d8796486..0debb01196624557961d0d53f0ab626673a77874 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -110,10 +110,10 @@ bool IsNodeIdIntAttribute(AXIntAttribute attr) {
case AX_ATTR_CHECKED_STATE:
case AX_ATTR_TEXT_DIRECTION:
case AX_ATTR_TEXT_STYLE:
- case AX_ATTR_ARIA_COL_COUNT:
- case AX_ATTR_ARIA_COL_INDEX:
+ case AX_ATTR_ARIA_COLUMN_COUNT:
+ case AX_ATTR_ARIA_CELL_COLUMN_INDEX:
case AX_ATTR_ARIA_ROW_COUNT:
- case AX_ATTR_ARIA_ROW_INDEX:
+ case AX_ATTR_ARIA_CELL_ROW_INDEX:
return false;
}
@@ -524,17 +524,17 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_TEXT_SEL_END:
result += " sel_end=" + value;
break;
- case AX_ATTR_ARIA_COL_COUNT:
- result += " aria_col_count=" + value;
+ case AX_ATTR_ARIA_COLUMN_COUNT:
+ result += " aria_column_count=" + value;
break;
- case AX_ATTR_ARIA_COL_INDEX:
- result += " aria_col_index=" + value;
+ case AX_ATTR_ARIA_CELL_COLUMN_INDEX:
+ result += " aria_cell_column_index=" + value;
break;
case AX_ATTR_ARIA_ROW_COUNT:
result += " aria_row_count=" + value;
break;
- case AX_ATTR_ARIA_ROW_INDEX:
- result += " aria_row_index=" + value;
+ case AX_ATTR_ARIA_CELL_ROW_INDEX:
+ result += " aria_cell_row_index=" + value;
break;
case AX_ATTR_TABLE_ROW_COUNT:
result += " rows=" + value;
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698