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

Unified Diff: ui/accessibility/ax_enums.idl

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Added missing braces. 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
« no previous file with comments | « ui/accessibility/DEPS ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_enums.idl
diff --git a/ui/accessibility/ax_enums.idl b/ui/accessibility/ax_enums.idl
index 2209a2726b347f5dfd362e4a29d8da5930f29a3f..dd5d60b9d7813b62ce103defe0cb683c305bb8cb 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -237,6 +237,8 @@
};
// 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,
@@ -292,6 +294,21 @@
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,
@@ -302,7 +319,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 +343,7 @@
};
[cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute {
+ action,
// Scrollable container attributes.
scroll_x,
scroll_x_min,
« no previous file with comments | « ui/accessibility/DEPS ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698