Chromium Code Reviews| Index: ui/accessibility/ax_node_data.cc |
| diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc |
| index f32cd3029e1d2391c3c27e5c89620f89f5f88737..6ca7df22ea90df532d47eddbe6406ab5736be96a 100644 |
| --- a/ui/accessibility/ax_node_data.cc |
| +++ b/ui/accessibility/ax_node_data.cc |
| @@ -188,6 +188,22 @@ std::string AXNodeData::ToString() const { |
| case AX_ATTR_TABLE_ROW_INDEX: |
| result += " row_index=" + value; |
| break; |
| + case AX_ATTR_SORT_DIRECTION: |
|
dmazzoni
2015/01/27 18:59:17
nit: indent 2 less
|
| + switch (int_attributes[i].second) { |
| + case AX_SORT_DIRECTION_UNSORTED: |
| + result += " sort_direction=none"; |
| + break; |
| + case AX_SORT_DIRECTION_ASCENDING: |
| + result += " sort_direction=ascending"; |
| + break; |
| + case AX_SORT_DIRECTION_DESCENDING: |
| + result += " sort_direction=descending"; |
| + break; |
| + case AX_SORT_DIRECTION_OTHER: |
| + result += " sort_direction=other"; |
| + break; |
| + } |
| + break; |
| case AX_ATTR_TITLE_UI_ELEMENT: |
| result += " title_elem=" + value; |
| break; |