OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "content/renderer/accessibility/blink_ax_enum_conversion.h" | 5 #include "content/renderer/accessibility/blink_ax_enum_conversion.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 case blink::WebAXRoleComboBox: | 115 case blink::WebAXRoleComboBox: |
116 return ui::AX_ROLE_COMBO_BOX; | 116 return ui::AX_ROLE_COMBO_BOX; |
117 case blink::WebAXRoleComplementary: | 117 case blink::WebAXRoleComplementary: |
118 return ui::AX_ROLE_COMPLEMENTARY; | 118 return ui::AX_ROLE_COMPLEMENTARY; |
119 case blink::WebAXRoleContentInfo: | 119 case blink::WebAXRoleContentInfo: |
120 return ui::AX_ROLE_CONTENT_INFO; | 120 return ui::AX_ROLE_CONTENT_INFO; |
121 case blink::WebAXRoleDefinition: | 121 case blink::WebAXRoleDefinition: |
122 return ui::AX_ROLE_DEFINITION; | 122 return ui::AX_ROLE_DEFINITION; |
123 case blink::WebAXRoleDescriptionListDetail: | 123 case blink::WebAXRoleDescriptionListDetail: |
124 return ui::AX_ROLE_DESCRIPTION_LIST_DETAIL; | 124 return ui::AX_ROLE_DESCRIPTION_LIST_DETAIL; |
| 125 case blink::WebAXRoleDescriptionList: |
| 126 return ui::AX_ROLE_DESCRIPTION_LIST; |
125 case blink::WebAXRoleDescriptionListTerm: | 127 case blink::WebAXRoleDescriptionListTerm: |
126 return ui::AX_ROLE_DESCRIPTION_LIST_TERM; | 128 return ui::AX_ROLE_DESCRIPTION_LIST_TERM; |
127 case blink::WebAXRoleDetails: | 129 case blink::WebAXRoleDetails: |
128 return ui::AX_ROLE_DETAILS; | 130 return ui::AX_ROLE_DETAILS; |
129 case blink::WebAXRoleDialog: | 131 case blink::WebAXRoleDialog: |
130 return ui::AX_ROLE_DIALOG; | 132 return ui::AX_ROLE_DIALOG; |
131 case blink::WebAXRoleDirectory: | 133 case blink::WebAXRoleDirectory: |
132 return ui::AX_ROLE_DIRECTORY; | 134 return ui::AX_ROLE_DIRECTORY; |
133 case blink::WebAXRoleDisclosureTriangle: | 135 case blink::WebAXRoleDisclosureTriangle: |
134 return ui::AX_ROLE_DISCLOSURE_TRIANGLE; | 136 return ui::AX_ROLE_DISCLOSURE_TRIANGLE; |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 case blink::WebAXTextDirectionBT: | 392 case blink::WebAXTextDirectionBT: |
391 return ui::AX_TEXT_DIRECTION_BT; | 393 return ui::AX_TEXT_DIRECTION_BT; |
392 default: | 394 default: |
393 NOTREACHED(); | 395 NOTREACHED(); |
394 } | 396 } |
395 | 397 |
396 return ui::AX_TEXT_DIRECTION_NONE; | 398 return ui::AX_TEXT_DIRECTION_NONE; |
397 } | 399 } |
398 | 400 |
399 } // namespace content | 401 } // namespace content |
OLD | NEW |