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

Unified Diff: Source/web/WebAXObject.cpp

Issue 779513007: Introduce new API ariaAutoComplete() to expose correct state and object attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixing nit Created 6 years 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/modules/accessibility/AXObject.h ('k') | public/web/WebAXObject.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 034aaa1a6abf74c583ac5d44e23439ab63230c8c..8f1905fea98dd77437579d0ab1cbd7a9b59e3a0b 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -229,6 +229,14 @@ bool WebAXObject::isAriaReadOnly() const
return equalIgnoringCase(m_private->getAttribute(HTMLNames::aria_readonlyAttr), "true");
}
+WebString WebAXObject::ariaAutoComplete() const
+{
+ if (isDetached())
+ return WebString();
+
+ return m_private->ariaAutoComplete();
+}
+
bool WebAXObject::isButtonStateMixed() const
{
if (isDetached())
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698