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

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: Created 5 years, 11 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/modules/accessibility/AXObject.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 a508b0b617eb8ead013aad52ed29cad3bc118198..b7d77e8b2a936a5198242768d26d09a72a616cdd 100644
--- a/public/web/WebAXObject.h
+++ b/public/web/WebAXObject.h
@@ -228,6 +228,9 @@ public:
// Scroll this object to a given point in global coordinates of the top-level window.
BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const;
+ // Check if a given list of roles includes an ARIA widget.
+ BLINK_EXPORT static bool includesARIAWidgetRole(const WebString& role);
+
#if BLINK_IMPLEMENTATION
WebAXObject(const WTF::PassRefPtr<AXObject>&);
WebAXObject& operator=(const WTF::PassRefPtr<AXObject>&);
« Source/modules/accessibility/AXObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698