diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 20:45:02 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 20:45:02 +0000 |
commit | 2c556966fd9de58860ac4d0a81f893affd2c45cc (patch) | |
tree | 6664904c144c4b857246cd91378f8364b18e57bc /chrome/browser/prerender | |
parent | c8240b1c3519b35de243b0fb91af409d59a5808c (diff) | |
download | chromium_src-2c556966fd9de58860ac4d0a81f893affd2c45cc.zip chromium_src-2c556966fd9de58860ac4d0a81f893affd2c45cc.tar.gz chromium_src-2c556966fd9de58860ac4d0a81f893affd2c45cc.tar.bz2 |
Move a bunch more renderer messages from chrome to content.
TBR=tsepez
Review URL: http://codereview.chromium.org/6726004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender')
-rw-r--r-- | chrome/browser/prerender/prerender_contents.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc index 5313cf0..58f0b07 100644 --- a/chrome/browser/prerender/prerender_contents.cc +++ b/chrome/browser/prerender/prerender_contents.cc @@ -24,6 +24,7 @@ #include "content/browser/renderer_host/resource_dispatcher_host.h" #include "content/browser/site_instance.h" #include "content/common/notification_service.h" +#include "content/common/view_messages.h" #include "ui/gfx/rect.h" #if defined(OS_MACOSX) @@ -137,7 +138,7 @@ void PrerenderContents::StartPrerendering() { ViewMsg_Navigate_Params params; params.url = prerender_url_; params.transition = PageTransition::LINK; - params.navigation_type = ViewMsg_Navigate_Params::PRERENDER; + params.navigation_type = ViewMsg_Navigate_Type::PRERENDER; params.referrer = referrer_; render_view_host_->Navigate(params); |