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

Unified Diff: content/public/browser/web_contents.h

Issue 1851793002: Implement a shell of FindRequestManager, and hook it up to WebContentsImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small rename to clarify 'session' vs. 'request'. Created 4 years, 8 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 96a3feb63b6dbe947fb39dcc272eeb372bdedfe7..800d24ac2706249a19cf87fd4904663f9be417b9 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -707,6 +707,13 @@ 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.
ncarter (slow) 2016/04/06 19:08:03 Could you document what find-in-page coordinates a
paulmeyer 2016/04/07 17:36:15 Find-in-page coordinates are explained in FindInPa
+ virtual void ActivateNearestFindResult(float x, float y) = 0;
+
+ // Requests the rects of the current find matches from the renderers.
ncarter (slow) 2016/04/06 19:08:03 Could you document what |current_version| means, w
paulmeyer 2016/04/07 17:36:15 Done.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698