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

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

Issue 7835004: Moved the following IPCs out of chrome into content where they are handled by (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/plugin_observer.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
===================================================================
--- chrome/browser/prerender/prerender_tab_helper.h (revision 99765)
+++ chrome/browser/prerender/prerender_tab_helper.h (working copy)
@@ -27,24 +27,23 @@
// TabContentsObserver implementation.
virtual void ProvisionalChangeToMainFrameUrl(const GURL& url,
bool has_opener_set) OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual void DidStopLoading() OVERRIDE;
+ virtual void DidStartProvisionalLoadForFrame(
+ int64 frame_id,
+ bool is_main_frame,
+ const GURL& validated_url,
+ bool is_error_page,
+ RenderViewHost* render_view_host) OVERRIDE;
// Called when this prerendered TabContents has just been swapped in.
void PrerenderSwappedIn();
+ void UpdateTargetURL(int32 page_id, const GURL& url);
+
private:
// The data we store for a hover (time the hover occurred & URL).
class HoverData;
- // Message handler.
- void OnDidStartProvisionalLoadForFrame(int64 frame_id,
- bool main_frame,
- bool has_opener_set,
- const GURL& url);
-
- void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
-
// Retrieves the PrerenderManager, or NULL, if none was found.
PrerenderManager* MaybeGetPrerenderManager() const;
« no previous file with comments | « chrome/browser/plugin_observer.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698