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

Unified Diff: ui/accessibility/ax_enums.idl

Issue 1952863003: Implemented the "aria-current" state on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed switch statements to handle NONE case. Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/public/web/WebAXObject.h ('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 e8299f84099a0d802d3d4aa227eb7631e3cebb3a..ef9cee3ee2233a4ec1957ca22d8fd982f02b5615 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -317,6 +317,10 @@
// In the case of AX_ROLE_COLOR_WELL, specifies the selected color.
color_value,
+ // Indicates the element that represents the current item within a container
+ // or set of related elements.
+ aria_current_state,
+
// Text attributes.
// Foreground and background color in RGBA.
@@ -425,6 +429,16 @@
text_style_line_through = 8
};
+ [cpp_enum_prefix_override="ax"] enum AXAriaCurrentState {
+ aria_current_state_false,
+ aria_current_state_true,
+ aria_current_state_page,
+ aria_current_state_step,
+ aria_current_state_location,
+ aria_current_state_date,
+ aria_current_state_time
+ };
+
[cpp_enum_prefix_override="ax"] enum AXInvalidState {
invalid_state_false,
invalid_state_true,
« no previous file with comments | « third_party/WebKit/public/web/WebAXObject.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698