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

Unified Diff: Source/core/accessibility/AXObject.cpp

Issue 662313003: Add isExpanded() API to WebAXObject.h to get aria-expanded attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/accessibility/AXObject.h ('k') | Source/web/WebAXObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObject.cpp
diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp
index f431d9eed873402d3040b29a143268ae763a89b4..5a7561d6e4193da7294772409aaab8e0cfa5ccad 100644
--- a/Source/core/accessibility/AXObject.cpp
+++ b/Source/core/accessibility/AXObject.cpp
@@ -246,14 +246,6 @@ bool AXObject::isClickable() const
}
}
-bool AXObject::isExpanded() const
-{
- if (equalIgnoringCase(getAttribute(aria_expandedAttr), "true"))
- return true;
-
- return false;
-}
-
bool AXObject::accessibilityIsIgnored() const
{
AXObjectCache* cache = axObjectCache();
« no previous file with comments | « Source/core/accessibility/AXObject.h ('k') | Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698