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

Unified Diff: Source/web/WebAXObject.cpp

Issue 736943002: Support aria-grabbed attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update enum name 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
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | public/web/WebAXEnums.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 278ff06b6df00c0f7c6682e6dc70e5f9117aa008..8719bfa6788e9afaf87c935d8bb822acf65f7ef4 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -213,6 +213,14 @@ bool WebAXObject::isAnchor() const
return m_private->isAnchor();
}
+WebAXOptionalBool WebAXObject::isAriaGrabbed() const
+{
+ if (isDetached())
+ return WebAXOptionalBoolUndefined;
+
+ return static_cast<WebAXOptionalBool>(m_private->isAriaGrabbed());
+}
+
bool WebAXObject::isAriaReadOnly() const
{
if (isDetached())
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | public/web/WebAXEnums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698