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

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

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 years, 3 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/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index f3f6f2610143c0b1b604442ece2d530f6e55b83e..5f0e686bd738a8d1435a0cf7660979509ab80184 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -265,6 +265,16 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
// Passes a list of Webkit preferences to the renderer.
virtual void UpdateWebkitPreferences(
const webkit_glue::WebPreferences& prefs) = 0;
+
+#if defined(OS_ANDROID)
+ // Selects and zooms to the find result nearest to the point (x,y)
+ // defined in find-in-page coordinates.
+ virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0;
+
+ // Asks the renderer to send the rects of the current find matches.
+ virtual void RequestFindMatchRects(int current_version) = 0;
+#endif
+
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698