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 |