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

Unified Diff: ui/accessibility/ax_enums.idl

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Exposes appropriate state and action names when controls are disabled. Created 4 years, 1 month 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 5f8c39e147be389d1880b2354fa8b3ddda9273de..09e5b985bdd0cff79df31a4dbf5b9bd259cba78e 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -231,6 +231,7 @@
};
// An action to be taken on an accessibility node.
+ // In contrast to |AXSupportedAction|, these describe what happens to the object, e.g. "FOCUS".
enum AXAction {
blur,
@@ -283,6 +284,20 @@
request_inline_text_boxes
};
+ // Lists the actions that can be performed on a given node.
+ // In contrast to |AXAction|, these describe what the user can do on the object, e.g. "PRESS", not what happens to the object as a result.
+ // Only one action is supported for now.
+ enum AXSupportedAction {
+ activate,
+ check,
+ click,
+ jump,
+ open,
+ press,
+ select,
+ uncheck
+ };
+
// A change to the accessibility tree.
enum AXMutation {
node_created,
@@ -293,7 +308,6 @@
[cpp_enum_prefix_override="ax_attr"] enum AXStringAttribute {
access_key,
- action,
// Only used when invalid_state == invalid_state_other.
aria_invalid_value,
auto_complete,
@@ -317,6 +331,7 @@
};
[cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute {
+ action,
// Scrollable container attributes.
scroll_x,
scroll_x_min,

Powered by Google App Engine
This is Rietveld 408576698