diff options
Diffstat (limited to 'content/browser/tab_contents')
-rw-r--r-- | content/browser/tab_contents/tab_contents.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index 287e661..73bbe5b 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc @@ -1150,6 +1150,14 @@ void TabContents::OnFindReply(int request_id, bool final_update) { delegate()->FindReply(this, request_id, number_of_matches, selection_rect, active_match_ordinal, final_update); + // Send a notification to the renderer that we are ready to receive more + // results from the scoping effort of the Find operation. The FindInPage + // scoping is asynchronous and periodically sends results back up to the + // browser using IPC. In an effort to not spam the browser we have the + // browser send an ACK for each FindReply message and have the renderer + // queue up the latest status message while waiting for this ACK. + render_view_host()->Send( + new ViewMsg_FindReplyACK(render_view_host()->routing_id())); } void TabContents::OnCrashedPlugin(const FilePath& plugin_path) { |