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

Unified Diff: chrome/renderer/render_view.cc

Issue 100033: Synchronously update the loading state when a load starts so that the UI will... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/common/render_messages_internal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 14707)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1157,7 +1157,7 @@
// plugin on a page.
first_default_plugin_ = NULL;
- Send(new ViewHostMsg_DidStartLoading(routing_id_, page_id_));
+ Send(new ViewHostMsg_DidStartLoading(routing_id_));
}
void RenderView::DidStopLoading(WebView* webview) {
@@ -1180,7 +1180,7 @@
AddGURLSearchProvider(webview->GetMainFrame()->GetOSDDURL(),
true); // autodetected
- Send(new ViewHostMsg_DidStopLoading(routing_id_, page_id_));
+ Send(new ViewHostMsg_DidStopLoading(routing_id_));
MessageLoop::current()->PostDelayedTask(FROM_HERE,
method_factory_.NewRunnableMethod(&RenderView::CapturePageInfo, page_id_,
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698