From edc286198b90c629bbf6081440512d02aef603d8 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Thu, 14 Aug 2008 20:23:36 +0000 Subject: Make the FindInPageController implement its own delegate interface for RenderViewHost so that we can get rid of the pass-throughs in WebContents. I removed some redundant checks in WebContents when calling view() for render_view_host() since that internally checks the null-ness of render_view_host(). BUG=1323267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@881 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/render_view_host.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'chrome/browser/render_view_host.h') diff --git a/chrome/browser/render_view_host.h b/chrome/browser/render_view_host.h index a05659a..7fdbfe0 100644 --- a/chrome/browser/render_view_host.h +++ b/chrome/browser/render_view_host.h @@ -34,6 +34,7 @@ #include #include "base/scoped_handle.h" +#include "chrome/browser/render_view_host_delegate.h" #include "chrome/browser/render_widget_host.h" #include "webkit/glue/password_form_dom_manager.h" @@ -209,14 +210,6 @@ class RenderViewHost : public RenderWidgetHost { // clear the selection on the focused frame. void StopFinding(bool clear_selection); - // Sends a notification to the renderer that we are ready to receive more - // results from the scoping effort of the Find operation. The FindInPage - // scoping is asynchronous and periodically sends results back up to the - // browser using IPC. In an effort to not spam the browser we have the - // browser send an ACK for each FindReply message and have the renderer - // queue up the latest status message while waiting for this ACK. - void SendFindReplyAck(); - // Change the text size of the page. void AlterTextSize(text_zoom::TextSize size); -- cgit v1.1