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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final documentation changes. Created 5 years, 2 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 | « third_party/WebKit/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: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 54a8fe9f1a705c21fb4b23623126510b0005994f..7ad9298a21b259877a9c16a02bc23644743b415f 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -474,10 +474,18 @@ public:
// Notifies how many matches have been found so far, for a given
// identifier. |finalUpdate| specifies whether this is the last update
- // (all frames have completed scoping).
+ // (all frames have completed scoping). This notification is only delivered
+ // to the main frame and aggregates all matches across all frames.
virtual void reportFindInPageMatchCount(
int identifier, int count, bool finalUpdate) { }
+ // Notifies how many matches have been found in a specific frame so far,
+ // for a given identifier. Unlike reprotFindInPageMatchCount(), this
+ // notification is sent to the client of each frame, and only reports
+ // results per-frame.
+ virtual void reportFindInFrameMatchCount(
+ int identifier, int count, bool finalUpdate) {}
+
// Notifies what tick-mark rect is currently selected. The given
// identifier lets the client know which request this message belongs
// to, so that it can choose to ignore the message if it has moved on
« no previous file with comments | « third_party/WebKit/Source/web/TextFinder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698