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

Unified Diff: Source/web/WebAXObject.cpp

Issue 1071483002: Implement aria properties setsize and posinset. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
Index: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index ba8d03afa1bafb7f1079452d9a58f5108194cf23..535b79b3d33509de4dd8bed484b1575c1c5a5c60 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -536,6 +536,22 @@ bool WebAXObject::isMultiline() const
return m_private->isMultiline();
}
+int WebAXObject::ariaPosInSet() const
+{
+ if (isDetached())
+ return 0;
+
+ return m_private->ariaPosInSet();
+}
+
+int WebAXObject::ariaSetSize() const
+{
+ if (isDetached())
+ return 0;
+
+ return m_private->ariaSetSize();
+}
+
bool WebAXObject::isInLiveRegion() const
{
if (isDetached())

Powered by Google App Engine
This is Rietveld 408576698