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

Unified Diff: Source/web/WebAXObject.cpp

Issue 885163002: [Contextual Search] Check for ARIA widget roles. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleaup usage of Web wrappers. Created 5 years, 10 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 379167a740e1007fc53f20f15527151044544242..1809e133e540e3cdfea6405f524c2f65dc873651 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -1333,4 +1333,9 @@ WebAXObject::operator WTF::PassRefPtr<AXObject>() const
return m_private.get();
}
+bool WebAXObject::isInsideFocusableElementOrARIAWidget(const WebNode& webNode)
+{
+ return AXObject::isInsideFocusableElementOrARIAWidget(*webNode.constUnwrap<Node>());
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698