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 66deec361b660a098663da34a9a7490dbd7b4af4..cb91aad4c18187fd321c1b916c5990e9bcef110a 100644 |
| --- a/ui/accessibility/ax_node_data.cc |
| +++ b/ui/accessibility/ax_node_data.cc |
| @@ -392,6 +392,9 @@ std::string AXNodeData::ToString() const { |
| for (size_t i = 0; i < int_attributes.size(); ++i) { |
| std::string value = IntToString(int_attributes[i].second); |
| switch (int_attributes[i].first) { |
| + case AX_ATTR_ACTION: |
| + result += " action=" + value; |
|
dmazzoni
2016/11/29 16:28:11
Please print this as a string, something like
ui:
|
| + break; |
| case AX_ATTR_SCROLL_X: |
| result += " scroll_x=" + value; |
| break; |
| @@ -595,9 +598,6 @@ std::string AXNodeData::ToString() const { |
| case AX_ATTR_ACCESS_KEY: |
| result += " access_key=" + value; |
| break; |
| - case AX_ATTR_ACTION: |
| - result += " action=" + value; |
| - break; |
| case AX_ATTR_ARIA_INVALID_VALUE: |
| result += " aria_invalid_value=" + value; |
| break; |