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

Unified Diff: chrome/browser/prerender/prerender_tab_helper.h

Issue 10392072: Pass the render view host with all provisional load related callbacks on the web contents observer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_tab_helper.h
diff --git a/chrome/browser/prerender/prerender_tab_helper.h b/chrome/browser/prerender/prerender_tab_helper.h
index 2b29b1018633db7fabd4bbac80dbd14279107f68..7baccbcc06c2104386223849e5803e38b54800c3 100644
--- a/chrome/browser/prerender/prerender_tab_helper.h
+++ b/chrome/browser/prerender/prerender_tab_helper.h
@@ -26,7 +26,8 @@ class PrerenderTabHelper : public content::WebContentsObserver {
// content::WebContentsObserver implementation.
virtual void ProvisionalChangeToMainFrameUrl(
const GURL& url,
- const GURL& opener_url) OVERRIDE;
+ const GURL& opener_url,
+ content::RenderViewHost* render_view_host) OVERRIDE;
virtual void DidStopLoading() OVERRIDE;
virtual void DidStartProvisionalLoadForFrame(
int64 frame_id,
@@ -38,7 +39,8 @@ class PrerenderTabHelper : public content::WebContentsObserver {
int64 frame_id,
bool is_main_frame,
const GURL& validated_url,
- content::PageTransition transition_type) OVERRIDE;
+ content::PageTransition transition_type,
+ content::RenderViewHost* render_view_host) OVERRIDE;
// Called when this prerendered TabContents has just been swapped in.
void PrerenderSwappedIn();
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698