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, |