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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 940ba020bf39ae745fac7520c62af023fa3a9167..2fcc740fe4439cf6bbfe1a831d55cff8dafc4a53 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -320,6 +320,17 @@ class CONTENT_EXPORT RenderViewHostImpl
// hangs, in which case we need to swap to the pending RenderViewHost.
int GetPendingRequestId();
+#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,
jam 2012/09/04 16:39:09 don't duplicate comments from interface in impleme
Leandro GraciĆ” Gil 2012/09/04 18:25:50 Done.
+ float x,
+ float y) OVERRIDE;
+
+ // Asks the renderer to send the rects of the current find matches.
+ virtual void RequestFindMatchRects(int current_version) OVERRIDE;
+#endif
+
// Notifies the RenderView that the JavaScript message that was shown was
// closed by the user.
void JavaScriptDialogClosed(IPC::Message* reply_msg,

Powered by Google App Engine
This is Rietveld 408576698