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

Unified Diff: public/web/WebAXEnums.h

Issue 730113003: Introduce new API orientation() to expose aria-orientation correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updating condition for TreeGridRole Created 6 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
Index: public/web/WebAXEnums.h
diff --git a/public/web/WebAXEnums.h b/public/web/WebAXEnums.h
index 235635df1ce9bc4315fe01b0c53ea8c11b258a37..215bc3a5a264febdb54aac3fb26fc76fb8a7ce34 100644
--- a/public/web/WebAXEnums.h
+++ b/public/web/WebAXEnums.h
@@ -249,6 +249,14 @@ enum WebAXOptionalBool {
WebAXOptionalBoolFalse
};
+// These values must match blink::AccessibilityOrientation values.
+// Enforced in AssertMatchingEnums.cpp.
+enum WebAXOrientation {
+ WebAXOrientationUndefined = 0,
+ WebAXOrientationVertical,
+ WebAXOrientationHorizontal,
+};
+
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698