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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 case blink::WebAXRoleBusyIndicator: | 99 case blink::WebAXRoleBusyIndicator: |
100 return ui::AX_ROLE_BUSY_INDICATOR; | 100 return ui::AX_ROLE_BUSY_INDICATOR; |
101 case blink::WebAXRoleButton: | 101 case blink::WebAXRoleButton: |
102 return ui::AX_ROLE_BUTTON; | 102 return ui::AX_ROLE_BUTTON; |
103 case blink::WebAXRoleCanvas: | 103 case blink::WebAXRoleCanvas: |
104 return ui::AX_ROLE_CANVAS; | 104 return ui::AX_ROLE_CANVAS; |
105 case blink::WebAXRoleCell: | 105 case blink::WebAXRoleCell: |
106 return ui::AX_ROLE_CELL; | 106 return ui::AX_ROLE_CELL; |
107 case blink::WebAXRoleCheckBox: | 107 case blink::WebAXRoleCheckBox: |
108 return ui::AX_ROLE_CHECK_BOX; | 108 return ui::AX_ROLE_CHECK_BOX; |
| 109 case blink::WebAXRoleCheckBoxMenuItem: |
| 110 return ui::AX_ROLE_CHECK_BOX_MENU_ITEM; |
109 case blink::WebAXRoleColorWell: | 111 case blink::WebAXRoleColorWell: |
110 return ui::AX_ROLE_COLOR_WELL; | 112 return ui::AX_ROLE_COLOR_WELL; |
111 case blink::WebAXRoleColumn: | 113 case blink::WebAXRoleColumn: |
112 return ui::AX_ROLE_COLUMN; | 114 return ui::AX_ROLE_COLUMN; |
113 case blink::WebAXRoleColumnHeader: | 115 case blink::WebAXRoleColumnHeader: |
114 return ui::AX_ROLE_COLUMN_HEADER; | 116 return ui::AX_ROLE_COLUMN_HEADER; |
115 case blink::WebAXRoleComboBox: | 117 case blink::WebAXRoleComboBox: |
116 return ui::AX_ROLE_COMBO_BOX; | 118 return ui::AX_ROLE_COMBO_BOX; |
117 case blink::WebAXRoleComplementary: | 119 case blink::WebAXRoleComplementary: |
118 return ui::AX_ROLE_COMPLEMENTARY; | 120 return ui::AX_ROLE_COMPLEMENTARY; |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 case blink::WebAXTextDirectionBT: | 394 case blink::WebAXTextDirectionBT: |
393 return ui::AX_TEXT_DIRECTION_BT; | 395 return ui::AX_TEXT_DIRECTION_BT; |
394 default: | 396 default: |
395 NOTREACHED(); | 397 NOTREACHED(); |
396 } | 398 } |
397 | 399 |
398 return ui::AX_TEXT_DIRECTION_NONE; | 400 return ui::AX_TEXT_DIRECTION_NONE; |
399 } | 401 } |
400 | 402 |
401 } // namespace content | 403 } // namespace content |
OLD | NEW |