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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 break; | 807 break; |
808 case AX_ATTR_PLACEHOLDER: | 808 case AX_ATTR_PLACEHOLDER: |
809 result += " placeholder=" + value; | 809 result += " placeholder=" + value; |
810 break; | 810 break; |
811 case AX_ATTR_ROLE: | 811 case AX_ATTR_ROLE: |
812 result += " role=" + value; | 812 result += " role=" + value; |
813 break; | 813 break; |
814 case AX_ATTR_ROLE_DESCRIPTION: | 814 case AX_ATTR_ROLE_DESCRIPTION: |
815 result += " role_description=" + value; | 815 result += " role_description=" + value; |
816 break; | 816 break; |
817 case AX_ATTR_SHORTCUT: | |
818 result += " shortcut=" + value; | |
819 break; | |
820 case AX_ATTR_URL: | 817 case AX_ATTR_URL: |
821 result += " url=" + value; | 818 result += " url=" + value; |
822 break; | 819 break; |
823 case AX_ATTR_NAME: | 820 case AX_ATTR_NAME: |
824 result += " name=" + value; | 821 result += " name=" + value; |
825 break; | 822 break; |
826 case AX_ATTR_VALUE: | 823 case AX_ATTR_VALUE: |
827 result += " value=" + value; | 824 result += " value=" + value; |
828 break; | 825 break; |
829 case AX_STRING_ATTRIBUTE_NONE: | 826 case AX_STRING_ATTRIBUTE_NONE: |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 | 965 |
969 result += " actions=" + ActionsBitfieldToString(actions); | 966 result += " actions=" + ActionsBitfieldToString(actions); |
970 | 967 |
971 if (!child_ids.empty()) | 968 if (!child_ids.empty()) |
972 result += " child_ids=" + IntVectorToString(child_ids); | 969 result += " child_ids=" + IntVectorToString(child_ids); |
973 | 970 |
974 return result; | 971 return result; |
975 } | 972 } |
976 | 973 |
977 } // namespace ui | 974 } // namespace ui |
OLD | NEW |