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

Unified Diff: webkit/glue/webplugin_impl.cc

Issue 20333: Call the DidStartLoading/DidStopLoading methods on the WebViewDelegate interf... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
===================================================================
--- webkit/glue/webplugin_impl.cc (revision 9668)
+++ webkit/glue/webplugin_impl.cc (working copy)
@@ -1062,6 +1062,9 @@
if (index != multi_part_response_map_.end()) {
delete (*index).second;
multi_part_response_map_.erase(index);
+
+ WebView* web_view = webframe_->GetView();
+ web_view->GetDelegate()->DidStopLoading(web_view);
}
client->DidFinishLoading();
}
@@ -1293,6 +1296,9 @@
return;
}
+ WebView* web_view = webframe_->GetView();
+ web_view->GetDelegate()->DidStartLoading(web_view);
+
MultiPartResponseClient* multi_part_response_client =
new MultiPartResponseClient(client);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698