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

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

Issue 1600953003: Move find-in-page code from RenderView to RenderFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by nasko@, git cl format. Created 4 years, 11 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_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 4a45df26931abb1ed27289a49b4ede523d5b266c..74f8fdca4dd833b244ed36ac4271399b7f602c66 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -188,6 +188,15 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// and still has a connection. This is valid for all frames.
virtual bool IsRenderFrameLive() = 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 render process to send the rects of the current find matches.
Charlie Reis 2016/01/21 00:02:28 nit: renderer process
paulmeyer 2016/01/21 14:25:45 Done.
+ virtual void RequestFindMatchRects(int current_version) = 0;
+#endif
+
private:
// This interface should only be implemented inside content.
friend class RenderFrameHostImpl;

Powered by Google App Engine
This is Rietveld 408576698