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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10805051: Add RenderViewHost* to DidStartLoading and DidStopLoading in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
Index: content/browser/renderer_host/render_view_host_impl.cc
===================================================================
--- content/browser/renderer_host/render_view_host_impl.cc (revision 147723)
+++ content/browser/renderer_host/render_view_host_impl.cc (working copy)
@@ -339,7 +339,7 @@
// WebKit doesn't send throb notifications for JavaScript URLs, so we
// don't want to either.
if (!params.url.SchemeIs(chrome::kJavaScriptScheme))
- delegate_->DidStartLoading();
+ delegate_->DidStartLoading(this);
FOR_EACH_OBSERVER(content::RenderViewHostObserver,
observers_, Navigate(params.url));
@@ -1198,11 +1198,11 @@
}
void RenderViewHostImpl::OnMsgDidStartLoading() {
- delegate_->DidStartLoading();
+ delegate_->DidStartLoading(this);
}
void RenderViewHostImpl::OnMsgDidStopLoading() {
- delegate_->DidStopLoading();
+ delegate_->DidStopLoading(this);
}
void RenderViewHostImpl::OnMsgDidChangeLoadProgress(double load_progress) {
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/web_contents/render_view_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698