| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index 94ee37dd4b26fe950931c446e65e3cbfa77c88b5..eb0da0053015e6628ce668f844482e4f5700d8b4 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -708,6 +708,20 @@ class WebContents : public PageNavigator,
|
| CONTENT_EXPORT static WebContents* FromJavaWebContents(
|
| jobject jweb_contents_android);
|
| virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0;
|
| +
|
| + // Selects and zooms to the find result nearest to the point (x,y) defined in
|
| + // find-in-page coordinates.
|
| + virtual void ActivateNearestFindResult(float x, float y) = 0;
|
| +
|
| + // Requests the rects of the current find matches from the renderer
|
| + // process. |current_version| is the version of find rects that the caller
|
| + // already knows about. This version will be compared to the current find
|
| + // rects version in the renderer process (which is updated whenever the rects
|
| + // change), to see which new rect data will need to be sent back.
|
| + //
|
| + // TODO(paulmeyer): This process will change slightly once multi-process
|
| + // find-in-page is implemented. This comment should be updated at that time.
|
| + virtual void RequestFindMatchRects(int current_version) = 0;
|
| #elif defined(OS_MACOSX)
|
| // Allowing other views disables optimizations which assume that only a single
|
| // WebContents is present.
|
|
|