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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 break; | 272 break; |
273 case AX_ATTR_LIVE_STATUS: | 273 case AX_ATTR_LIVE_STATUS: |
274 result += " live=" + value; | 274 result += " live=" + value; |
275 break; | 275 break; |
276 case AX_ATTR_CONTAINER_LIVE_RELEVANT: | 276 case AX_ATTR_CONTAINER_LIVE_RELEVANT: |
277 result += " container_relevant=" + value; | 277 result += " container_relevant=" + value; |
278 break; | 278 break; |
279 case AX_ATTR_CONTAINER_LIVE_STATUS: | 279 case AX_ATTR_CONTAINER_LIVE_STATUS: |
280 result += " container_live=" + value; | 280 result += " container_live=" + value; |
281 break; | 281 break; |
| 282 case AX_ATTR_PLACEHOLDER: |
| 283 result += "placeholder" + value; |
| 284 break; |
282 case AX_ATTR_ROLE: | 285 case AX_ATTR_ROLE: |
283 result += " role=" + value; | 286 result += " role=" + value; |
284 break; | 287 break; |
285 case AX_ATTR_SHORTCUT: | 288 case AX_ATTR_SHORTCUT: |
286 result += " shortcut=" + value; | 289 result += " shortcut=" + value; |
287 break; | 290 break; |
288 case AX_ATTR_TEXT_INPUT_TYPE: | 291 case AX_ATTR_TEXT_INPUT_TYPE: |
289 result += " text_input_type=" + value; | 292 result += " text_input_type=" + value; |
290 break; | 293 break; |
291 case AX_ATTR_URL: | 294 case AX_ATTR_URL: |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 } | 410 } |
408 } | 411 } |
409 | 412 |
410 if (!child_ids.empty()) | 413 if (!child_ids.empty()) |
411 result += " child_ids=" + IntVectorToString(child_ids); | 414 result += " child_ids=" + IntVectorToString(child_ids); |
412 | 415 |
413 return result; | 416 return result; |
414 } | 417 } |
415 | 418 |
416 } // namespace ui | 419 } // namespace ui |
OLD | NEW |