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

Unified Diff: Source/web/WebNode.cpp

Issue 885163002: [Contextual Search] Check for ARIA widget roles. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes to WebAXObject. 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
« no previous file with comments | « Source/modules/modules.gypi ('k') | public/web/WebNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebNode.cpp
diff --git a/Source/web/WebNode.cpp b/Source/web/WebNode.cpp
index c4ad8773536785ee64f445f2045de4a45a5aaa38..c75b647c6c1517c776be2428af92e50241522eb2 100644
--- a/Source/web/WebNode.cpp
+++ b/Source/web/WebNode.cpp
@@ -163,6 +163,11 @@ bool WebNode::isContentEditable() const
return m_private->isContentEditable();
}
+bool WebNode::isInsideFocusableElementOrARIAWidget() const
+{
+ return AXObject::isInsideFocusableElementOrARIAWidget(*this->constUnwrap<Node>());
+}
+
bool WebNode::isElementNode() const
{
return m_private->isElementNode();
« no previous file with comments | « Source/modules/modules.gypi ('k') | public/web/WebNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698