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

Unified Diff: content/public/browser/web_contents_observer.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 | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index b0b77a8208da85face86592aa5f199321c926563..9791a86cbfa0ce7790b5731f1fe5018b8ce4722d 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -48,18 +48,22 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Channel::Listener,
const GURL& validated_url,
bool is_error_page,
RenderViewHost* render_view_host) {}
- virtual void ProvisionalChangeToMainFrameUrl(const GURL& url,
- const GURL& opener_url) {}
+ virtual void ProvisionalChangeToMainFrameUrl(
+ const GURL& url,
+ const GURL& opener_url,
+ RenderViewHost* render_view_host) {}
virtual void DidCommitProvisionalLoadForFrame(
int64 frame_id,
bool is_main_frame,
const GURL& url,
- PageTransition transition_type) {}
+ PageTransition transition_type,
+ RenderViewHost* render_view_host) {}
virtual void DidFailProvisionalLoad(int64 frame_id,
bool is_main_frame,
const GURL& validated_url,
int error_code,
- const string16& error_description) {}
+ const string16& error_description,
+ RenderViewHost* render_view_host) {}
virtual void DocumentAvailableInMainFrame() {}
virtual void DocumentLoadedInFrame(int64 frame_id) {}
virtual void DidFinishLoad(int64 frame_id,
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698