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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 175613002: Include relationship ARIA objects in serialized accessibility tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuse MAYBE(x) for failing android test Created 6 years, 9 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 9a796a3d9f73e9f60d8192b2da9897bd654521bb..d287ac906d9624393af4b5320be0f1940223dfd4 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -192,6 +192,9 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_TITLE_UI_ELEMENT:
result += " title_elem=" + value;
break;
+ case AX_ATTR_ACTIVEDESCENDANT_ID:
+ result += " activedescendant=" + value;
+ break;
case AX_ATTR_COLOR_VALUE_RED:
result += " color_value_red=" + value;
break;
@@ -352,6 +355,21 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_INDIRECT_CHILD_IDS:
result += " indirect_child_ids=" + IntVectorToString(values);
break;
+ case AX_ATTR_CONTROLS_IDS:
+ result += " controls_ids=" + IntVectorToString(values);
+ break;
+ case AX_ATTR_DESCRIBEDBY_IDS:
+ result += " describedby_ids=" + IntVectorToString(values);
+ break;
+ case AX_ATTR_FLOWTO_IDS:
+ result += " flowto_ids=" + IntVectorToString(values);
+ break;
+ case AX_ATTR_LABELLEDBY_IDS:
+ result += " labelledby_ids=" + IntVectorToString(values);
+ break;
+ case AX_ATTR_OWNS_IDS:
+ result += " owns_ids=" + IntVectorToString(values);
+ break;
case AX_ATTR_LINE_BREAKS:
result += " line_breaks=" + IntVectorToString(values);
break;
« 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