| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 break; | 609 break; |
| 610 case AX_ATTR_DISPLAY: | 610 case AX_ATTR_DISPLAY: |
| 611 result += " display=" + value; | 611 result += " display=" + value; |
| 612 break; | 612 break; |
| 613 case AX_ATTR_FONT_FAMILY: | 613 case AX_ATTR_FONT_FAMILY: |
| 614 result += " font-family=" + value; | 614 result += " font-family=" + value; |
| 615 break; | 615 break; |
| 616 case AX_ATTR_HTML_TAG: | 616 case AX_ATTR_HTML_TAG: |
| 617 result += " html_tag=" + value; | 617 result += " html_tag=" + value; |
| 618 break; | 618 break; |
| 619 case AX_ATTR_IMAGE_DATA_URL: |
| 620 result += " image_data_url=(" + |
| 621 IntToString(static_cast<int>(value.size())) + " bytes)"; |
| 622 break; |
| 619 case AX_ATTR_LANGUAGE: | 623 case AX_ATTR_LANGUAGE: |
| 620 result += " language=" + value; | 624 result += " language=" + value; |
| 621 break; | 625 break; |
| 622 case AX_ATTR_LIVE_RELEVANT: | 626 case AX_ATTR_LIVE_RELEVANT: |
| 623 result += " relevant=" + value; | 627 result += " relevant=" + value; |
| 624 break; | 628 break; |
| 625 case AX_ATTR_LIVE_STATUS: | 629 case AX_ATTR_LIVE_STATUS: |
| 626 result += " live=" + value; | 630 result += " live=" + value; |
| 627 break; | 631 break; |
| 628 case AX_ATTR_CONTAINER_LIVE_RELEVANT: | 632 case AX_ATTR_CONTAINER_LIVE_RELEVANT: |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 } | 785 } |
| 782 } | 786 } |
| 783 | 787 |
| 784 if (!child_ids.empty()) | 788 if (!child_ids.empty()) |
| 785 result += " child_ids=" + IntVectorToString(child_ids); | 789 result += " child_ids=" + IntVectorToString(child_ids); |
| 786 | 790 |
| 787 return result; | 791 return result; |
| 788 } | 792 } |
| 789 | 793 |
| 790 } // namespace ui | 794 } // namespace ui |
| OLD | NEW |