| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 value_for_range, | 332 value_for_range, |
| 334 min_value_for_range, | 333 min_value_for_range, |
| 335 max_value_for_range, | 334 max_value_for_range, |
| 336 | 335 |
| 337 // Text attributes. | 336 // Text attributes. |
| 338 // Font size is in pixels. | 337 // Font size is in pixels. |
| 339 font_size | 338 font_size |
| 340 }; | 339 }; |
| 341 | 340 |
| 342 [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute { | 341 [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute { |
| 343 // True if a checkbox or radio button is in the "mixed" state. | 342 // True if an ARIA toggle button, a checkbox or |
| 344 button_mixed, | 343 // a menu item checkbox is in the "mixed" state. |
| 344 STATE_mixed, |
| 345 | 345 |
| 346 // Live region attributes. | 346 // Live region attributes. |
| 347 container_live_atomic, | 347 container_live_atomic, |
| 348 container_live_busy, | 348 container_live_busy, |
| 349 live_atomic, | 349 live_atomic, |
| 350 live_busy, | 350 live_busy, |
| 351 | 351 |
| 352 // ARIA readonly flag. | 352 // ARIA readonly flag. |
| 353 aria_readonly, | 353 aria_readonly, |
| 354 | 354 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 }; | 443 }; |
| 444 | 444 |
| 445 [cpp_enum_prefix_override="ax"] enum AXDescriptionFrom { | 445 [cpp_enum_prefix_override="ax"] enum AXDescriptionFrom { |
| 446 description_from_uninitialized = 0, | 446 description_from_uninitialized = 0, |
| 447 description_from_attribute, | 447 description_from_attribute, |
| 448 description_from_contents, | 448 description_from_contents, |
| 449 description_from_placeholder, | 449 description_from_placeholder, |
| 450 description_from_related_element | 450 description_from_related_element |
| 451 }; | 451 }; |
| 452 }; | 452 }; |
| OLD | NEW |