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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 default, | 201 default, |
202 disabled, // ui/views only | 202 disabled, // ui/views only |
203 editable, | 203 editable, |
204 enabled, // content only | 204 enabled, // content only |
205 expanded, | 205 expanded, |
206 focusable, | 206 focusable, |
207 focused, | 207 focused, |
208 haspopup, | 208 haspopup, |
209 horizontal, | 209 horizontal, |
210 hovered, | 210 hovered, |
211 indeterminate, | |
212 invisible, | 211 invisible, |
213 linked, | 212 linked, |
214 multiline, | 213 multiline, |
215 multiselectable, | 214 multiselectable, |
216 offscreen, | 215 offscreen, |
217 pressed, | 216 pressed, |
218 protected, | 217 protected, |
219 read_only, | 218 read_only, |
220 required, | 219 required, |
221 richly_editable, | 220 richly_editable, |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 value_for_range, | 327 value_for_range, |
329 min_value_for_range, | 328 min_value_for_range, |
330 max_value_for_range, | 329 max_value_for_range, |
331 | 330 |
332 // Text attributes. | 331 // Text attributes. |
333 // Font size is in pixels. | 332 // Font size is in pixels. |
334 font_size | 333 font_size |
335 }; | 334 }; |
336 | 335 |
337 [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute { | 336 [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute { |
338 // True if a checkbox or radio button is in the "mixed" state. | 337 // True if an ARIA toggle button, a checkbox or |
339 button_mixed, | 338 // a menu item checkbox is in the "mixed" state. |
| 339 STATE_mixed, |
340 | 340 |
341 // Live region attributes. | 341 // Live region attributes. |
342 container_live_atomic, | 342 container_live_atomic, |
343 container_live_busy, | 343 container_live_busy, |
344 live_atomic, | 344 live_atomic, |
345 live_busy, | 345 live_busy, |
346 | 346 |
347 // ARIA readonly flag. | 347 // ARIA readonly flag. |
348 aria_readonly, | 348 aria_readonly, |
349 | 349 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 }; | 423 }; |
424 | 424 |
425 [cpp_enum_prefix_override="ax"] enum AXSortDirection { | 425 [cpp_enum_prefix_override="ax"] enum AXSortDirection { |
426 sort_direction_unsorted, | 426 sort_direction_unsorted, |
427 sort_direction_ascending, | 427 sort_direction_ascending, |
428 sort_direction_descending, | 428 sort_direction_descending, |
429 sort_direction_other | 429 sort_direction_other |
430 }; | 430 }; |
431 | 431 |
432 }; | 432 }; |
OLD | NEW |