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

Unified Diff: public/web/WebAXObject.h

Issue 885163002: [Contextual Search] Check for ARIA widget roles. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added aria-attribute check and unit test. 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
« Source/web/WebAXObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebAXObject.h
diff --git a/public/web/WebAXObject.h b/public/web/WebAXObject.h
index d3c52e2387c84c7f612cc3b3f45a05542df0cbe3..afb69d0d5ce76c42dcbb6f62fb7bdd6960508a7f 100644
--- a/public/web/WebAXObject.h
+++ b/public/web/WebAXObject.h
@@ -229,6 +229,8 @@ public:
// Scroll this object to a given point in global coordinates of the top-level window.
BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const;
+ BLINK_EXPORT static bool isARIAWidget(const WebNode&);
+
#if BLINK_IMPLEMENTATION
WebAXObject(const WTF::PassRefPtr<AXObject>&);
WebAXObject& operator=(const WTF::PassRefPtr<AXObject>&);
« Source/web/WebAXObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698