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

Unified Diff: content/browser/tab_contents/tab_contents_delegate.h

Issue 7828025: Handle the ViewHostMsg_FindReply message which is sent by content(renderer) via the TabContentsDe... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
Index: content/browser/tab_contents/tab_contents_delegate.h
===================================================================
--- content/browser/tab_contents/tab_contents_delegate.h (revision 99051)
+++ content/browser/tab_contents/tab_contents_delegate.h (working copy)
@@ -338,6 +338,16 @@
const string16& data,
int intent_id);
+ // Result of string search in the page. This includes the number of matches
+ // found and the selection rect (in screen coordinates) for the string found.
+ // If |final_update| is false, it indicates that more results follow.
+ virtual void FindReply(TabContents* tab,
+ int request_id,
+ int number_of_matches,
+ const gfx::Rect& selection_rect,
+ int active_match_ordinal,
+ bool final_update);
+
protected:
virtual ~TabContentsDelegate();

Powered by Google App Engine
This is Rietveld 408576698