OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h | 5 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h |
6 // until the Chromium and Blink trees are merged. | 6 // until the Chromium and Blink trees are merged. |
7 [camel_case_enum_to_string=true] namespace ui { | 7 [camel_case_enum_to_string=true] namespace ui { |
8 | 8 |
9 // For new entries to the following three enums, also add to | 9 // For new entries to the following three enums, also add to |
10 // chrome/common/extensions/api/automation.idl. | 10 // chrome/common/extensions/api/automation.idl. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 }; | 63 }; |
64 | 64 |
65 enum AXRole { | 65 enum AXRole { |
66 alert_dialog, | 66 alert_dialog, |
67 alert, | 67 alert, |
68 annotation, | 68 annotation, |
69 application, | 69 application, |
70 article, | 70 article, |
71 banner, | 71 banner, |
72 blockquote, | 72 blockquote, |
73 browser, | |
74 busy_indicator, | 73 busy_indicator, |
75 button, | 74 button, |
76 button_drop_down, | 75 button_drop_down, |
77 canvas, | 76 canvas, |
78 cell, | 77 cell, |
79 check_box, | 78 check_box, |
80 client, | 79 client, |
81 color_well, | 80 color_well, |
82 column_header, | 81 column_header, |
83 column, | 82 column, |
84 combo_box, | 83 combo_box, |
85 complementary, | 84 complementary, |
86 content_info, | 85 content_info, |
87 date, | 86 date, |
88 date_time, | 87 date_time, |
89 definition, | 88 definition, |
90 description_list_detail, | 89 description_list_detail, |
91 description_list, | 90 description_list, |
92 description_list_term, | 91 description_list_term, |
93 desktop, | 92 desktop, |
94 details, | 93 details, |
95 dialog, | 94 dialog, |
96 directory, | 95 directory, |
97 disclosure_triangle, | 96 disclosure_triangle, |
98 div, | 97 div, |
99 document, | 98 document, |
100 drawer, | |
101 editable_text, | 99 editable_text, |
102 embedded_object, | 100 embedded_object, |
103 figcaption, | 101 figcaption, |
104 figure, | 102 figure, |
105 footer, | 103 footer, |
106 form, | 104 form, |
107 grid, | 105 grid, |
108 group, | 106 group, |
109 grow_area, | 107 grow_area, |
110 heading, | 108 heading, |
111 help_tag, | |
112 iframe, | 109 iframe, |
113 ignored, | 110 ignored, |
114 image_map_link, | 111 image_map_link, |
115 image_map, | 112 image_map, |
116 image, | 113 image, |
117 inline_text_box, | 114 inline_text_box, |
118 label_text, | 115 label_text, |
119 legend, | 116 legend, |
120 link, | 117 link, |
121 list_box_option, | 118 list_box_option, |
122 list_box, | 119 list_box, |
123 list_item, | 120 list_item, |
124 list_marker, | 121 list_marker, |
125 list, | 122 list, |
126 location_bar, | 123 location_bar, |
127 log, | 124 log, |
128 main, | 125 main, |
129 marquee, | 126 marquee, |
130 math, | 127 math, |
131 matte, | |
132 menu_bar, | 128 menu_bar, |
133 menu_button, | 129 menu_button, |
134 menu_item, | 130 menu_item, |
135 menu_item_check_box, | 131 menu_item_check_box, |
136 menu_item_radio, | 132 menu_item_radio, |
137 menu_list_option, | 133 menu_list_option, |
138 menu_list_popup, | 134 menu_list_popup, |
139 menu, | 135 menu, |
140 meter, | 136 meter, |
141 navigation, | 137 navigation, |
142 note, | 138 note, |
143 outline, | 139 outline, |
144 pane, | 140 pane, |
145 paragraph, | 141 paragraph, |
146 pop_up_button, | 142 pop_up_button, |
147 pre, | 143 pre, |
148 presentational, | 144 presentational, |
149 progress_indicator, | 145 progress_indicator, |
150 radio_button, | 146 radio_button, |
151 radio_group, | 147 radio_group, |
152 region, | 148 region, |
153 root_web_area, | 149 root_web_area, |
154 row_header, | 150 row_header, |
155 row, | 151 row, |
156 ruby, | 152 ruby, |
157 ruler_marker, | |
158 ruler, | 153 ruler, |
159 svg_root, | 154 svg_root, |
160 scroll_area, | 155 scroll_area, |
161 scroll_bar, | 156 scroll_bar, |
162 seamless_web_area, | 157 seamless_web_area, |
163 search, | 158 search, |
164 sheet, | |
165 slider, | 159 slider, |
166 slider_thumb, | 160 slider_thumb, |
167 spin_button_part, | 161 spin_button_part, |
168 spin_button, | 162 spin_button, |
169 split_group, | 163 split_group, |
170 splitter, | 164 splitter, |
171 static_text, | 165 static_text, |
172 status, | 166 status, |
173 system_wide, | |
174 tab_group, | 167 tab_group, |
175 tab_list, | 168 tab_list, |
176 tab_panel, | 169 tab_panel, |
177 tab, | 170 tab, |
178 table_header_container, | 171 table_header_container, |
179 table, | 172 table, |
180 text_area, | 173 text_area, |
181 text_field, | 174 text_field, |
182 time, | 175 time, |
183 timer, | 176 timer, |
184 title_bar, | 177 title_bar, |
185 toggle_button, | 178 toggle_button, |
186 toolbar, | 179 toolbar, |
187 tree_grid, | 180 tree_grid, |
188 tree_item, | 181 tree_item, |
189 tree, | 182 tree, |
190 unknown, | 183 unknown, |
191 tooltip, | 184 tooltip, |
192 value_indicator, | |
193 web_area, | 185 web_area, |
194 web_view, | 186 web_view, |
195 window | 187 window |
196 }; | 188 }; |
197 | 189 |
198 // TODO(dmazzoni): switch content/ to use AX_STATE_DISABLED instead of | 190 // TODO(dmazzoni): switch content/ to use AX_STATE_DISABLED instead of |
199 // !AX_STATE_ENABLED, and AX_STATE_EDITABLE instead of !AX_STATE_READONLY. | 191 // !AX_STATE_ENABLED, and AX_STATE_EDITABLE instead of !AX_STATE_READONLY. |
200 enum AXState { | 192 enum AXState { |
201 busy, | 193 busy, |
202 checked, | 194 checked, |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 word_ends | 379 word_ends |
388 }; | 380 }; |
389 | 381 |
390 [cpp_enum_prefix_override="ax"] enum AXTextDirection { | 382 [cpp_enum_prefix_override="ax"] enum AXTextDirection { |
391 text_direction_lr, | 383 text_direction_lr, |
392 text_direction_rl, | 384 text_direction_rl, |
393 text_direction_tb, | 385 text_direction_tb, |
394 text_direction_bt | 386 text_direction_bt |
395 }; | 387 }; |
396 }; | 388 }; |
OLD | NEW |