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

Unified Diff: ui/accessibility/ax_enums.idl

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Added activate action to text field. Created 4 years 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 2209a2726b347f5dfd362e4a29d8da5930f29a3f..4529aca387f480589c2bc019d6099ef9343c7483 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -237,6 +237,7 @@
};
// An action to be taken on an accessibility node.
+ // In contrast to |AXSupportedAction|, these describe what happens to the object, e.g. "FOCUS".
dmazzoni 2016/12/13 23:24:34 nit: wrap
enum AXAction {
blur,
@@ -292,6 +293,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.
dmazzoni 2016/12/13 23:24:34 nit: wrap
+ // 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,
@@ -302,7 +317,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,
@@ -327,6 +341,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