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

Unified Diff: public/web/WebAXEnums.h

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add COMPILE ASSERT for new enum type Created 6 years, 2 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 | « Source/web/WebAXObject.cpp ('k') | public/web/WebAXObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebAXEnums.h
diff --git a/public/web/WebAXEnums.h b/public/web/WebAXEnums.h
index be747f560947bc1e9f72d04720b0502a8440c113..35afcb3a42649599d63a81ad7e17280e8d77b336 100644
--- a/public/web/WebAXEnums.h
+++ b/public/web/WebAXEnums.h
@@ -203,7 +203,6 @@ enum WebAXRole {
enum WebAXState {
WebAXStateBusy,
WebAXStateChecked,
- WebAXStateCollapsed,
WebAXStateEnabled,
WebAXStateExpanded,
WebAXStateFocusable,
@@ -233,6 +232,15 @@ enum WebAXTextDirection {
WebAXTextDirectionBT
};
+// Expanded State.
+// These values must match blink::AccessibilityExpanded values.
+// Enforced in AssertMatchingEnums.cpp.
+enum WebAXExpanded {
+ WebAXExpandedUndefined = 0,
+ WebAXExpandedCollapsed,
+ WebAXExpandedExpanded
+};
+
} // namespace blink
#endif
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698