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

Unified Diff: Source/modules/accessibility/AXScrollView.cpp

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: Source/modules/accessibility/AXScrollView.cpp
diff --git a/Source/modules/accessibility/AXScrollView.cpp b/Source/modules/accessibility/AXScrollView.cpp
index 8dbd4855c46556edb7e1e2a1dfe0adae8c064c8f..37c4f247fd8564a0aa6d3a836f038f5af0ce06fa 100644
--- a/Source/modules/accessibility/AXScrollView.cpp
+++ b/Source/modules/accessibility/AXScrollView.cpp
@@ -65,6 +65,8 @@ AXObject* AXScrollView::scrollBar(AccessibilityOrientation orientation)
return m_verticalScrollbar ? m_verticalScrollbar.get() : 0;
case AccessibilityOrientationHorizontal:
return m_horizontalScrollbar ? m_horizontalScrollbar.get() : 0;
+ case AccessibilityOrientationUndefined:
+ return 0;
}
return 0;

Powered by Google App Engine
This is Rietveld 408576698