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

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: 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 a5e7439e3d0b2868a520bc4903a1b9fe9f9c2074..e09e5c1683dc64fd6a6636c99a537c4748b547c1 100644
--- a/public/web/WebAXEnums.h
+++ b/public/web/WebAXEnums.h
@@ -240,6 +240,14 @@ enum WebAXExpanded {
WebAXExpandedExpanded
};
+// 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