Chromium Code Reviews| Index: ui/accessibility/ax_enums.idl |
| diff --git a/ui/accessibility/ax_enums.idl b/ui/accessibility/ax_enums.idl |
| index 2016c2419ef1d90afc6b4fe1862df727a23e50f0..fddb848521b4e30c4c8264edd3a70af8547d6c1d 100644 |
| --- a/ui/accessibility/ax_enums.idl |
| +++ b/ui/accessibility/ax_enums.idl |
| @@ -212,7 +212,6 @@ |
| enum AXState { |
| busy, |
| - checked, |
| collapsed, |
| default, |
| disabled, |
| @@ -431,6 +430,9 @@ |
| // if an element has an aria-invalid attribute. |
| invalid_state, |
| + // Unchecked (0), Checked (1), Mixed (2) |
|
dmazzoni
2017/02/28 00:10:50
Don't specify the enum values, just say it's of
ty
|
| + checked_state, |
| + |
| // Specifies the direction of the text, e.g., right-to-left. |
| text_direction, |
| @@ -450,10 +452,6 @@ |
| }; |
| [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute { |
| - // True if an ARIA toggle button, a checkbox or |
| - // a menu item checkbox is in the "mixed" state. |
| - STATE_mixed, |
| - |
| // Live region attributes. |
| container_live_atomic, |
| container_live_busy, |
| @@ -589,6 +587,12 @@ |
| other |
| }; |
| + enum AXCheckedState { |
| + false, |
| + true, |
| + mixed |
| + }; |
| + |
| enum AXSortDirection { |
| unsorted, |
| ascending, |