OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/accessibility/ax_node_data.h" | 5 #include "ui/accessibility/ax_node_data.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 break; | 245 break; |
246 case AX_ATTR_DOC_DOCTYPE: | 246 case AX_ATTR_DOC_DOCTYPE: |
247 result += " doc_doctype=" + value; | 247 result += " doc_doctype=" + value; |
248 break; | 248 break; |
249 case AX_ATTR_ACCESS_KEY: | 249 case AX_ATTR_ACCESS_KEY: |
250 result += " access_key=" + value; | 250 result += " access_key=" + value; |
251 break; | 251 break; |
252 case AX_ATTR_ACTION: | 252 case AX_ATTR_ACTION: |
253 result += " action=" + value; | 253 result += " action=" + value; |
254 break; | 254 break; |
| 255 case AX_ATTR_AUTO_COMPLETE: |
| 256 result += " autocomplete=" + value; |
| 257 break; |
255 case AX_ATTR_DESCRIPTION: | 258 case AX_ATTR_DESCRIPTION: |
256 result += " description=" + value; | 259 result += " description=" + value; |
257 break; | 260 break; |
258 case AX_ATTR_DISPLAY: | 261 case AX_ATTR_DISPLAY: |
259 result += " display=" + value; | 262 result += " display=" + value; |
260 break; | 263 break; |
261 case AX_ATTR_HELP: | 264 case AX_ATTR_HELP: |
262 result += " help=" + value; | 265 result += " help=" + value; |
263 break; | 266 break; |
264 case AX_ATTR_HTML_TAG: | 267 case AX_ATTR_HTML_TAG: |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 } | 407 } |
405 } | 408 } |
406 | 409 |
407 if (!child_ids.empty()) | 410 if (!child_ids.empty()) |
408 result += " child_ids=" + IntVectorToString(child_ids); | 411 result += " child_ids=" + IntVectorToString(child_ids); |
409 | 412 |
410 return result; | 413 return result; |
411 } | 414 } |
412 | 415 |
413 } // namespace ui | 416 } // namespace ui |
OLD | NEW |