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

Unified Diff: public/web/WebFrameClient.h

Issue 696533003: Expose accessibility information about find in page results to the client. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/web/TextFinder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 55cd88caae7ff0ff791c331063876afa0afaa20e..897ff1cd1808079652ac74e4e64a01ff370d2e60 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -560,6 +560,15 @@ public:
// Notifies embedder about an accessibility event.
virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { }
+ // Provides accessibility information about a find in page result.
+ virtual void handleAccessibilityFindInPageResult(
+ int identifier,
+ int matchIndex,
+ const WebAXObject& startObject,
+ int startOffset,
+ const WebAXObject& endObject,
+ int endOffset) { }
+
// ServiceWorker -------------------------------------------------------
// Whether the document associated with WebDataSource is controlled by the
« no previous file with comments | « Source/web/TextFinder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698