Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1374)

Unified Diff: ui/accessibility/ax_enums.idl

Issue 2694903010: AX checked state changes (Closed)
Patch Set: Fix compiler error Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698