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

Unified Diff: ui/accessibility/ax_enums.idl

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 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
« 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 d160ef41218fe79235783156797de57bd7785f53..b3deda05e8dd917f7e74f08d9e811a4763dafd75 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -241,7 +241,6 @@
container_live_status,
description,
display,
- help,
html_tag,
// Only used when invalid_state == invalid_state_other.
aria_invalid_value,
@@ -291,8 +290,15 @@
// Tree control attributes.
hierarchical_level,
+ // What information was used to compute the object's name
+ // (of type AXNameFrom).
+ name_from,
+
+ // What information was used to compute the object's description
+ // (of type AXDescriptionFrom).
+ description_from,
+
// Relationships between this element and other elements.
- title_ui_element,
activedescendant_id,
// Identifies a child tree which this node hosts.
@@ -305,7 +311,6 @@
// In the case of AX_ROLE_COLOR_WELL, specifies the selected color.
color_value,
-
// Text attributes.
// Foreground and background color in RGBA.
@@ -370,7 +375,6 @@
describedby_ids,
flowto_ids,
labelledby_ids,
- owns_ids,
// Character indices where line breaks occur.
line_breaks,
@@ -429,4 +433,20 @@
sort_direction_other
};
+ [cpp_enum_prefix_override="ax"] enum AXNameFrom {
+ name_from_uninitialized = 0,
+ name_from_attribute,
+ name_from_contents,
+ name_from_placeholder,
+ name_from_related_element,
+ name_from_value
+ };
+
+ [cpp_enum_prefix_override="ax"] enum AXDescriptionFrom {
+ description_from_uninitialized = 0,
+ description_from_attribute,
+ description_from_contents,
+ description_from_placeholder,
+ description_from_related_element
+ };
};
« 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