Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index d470801eb6667279c79734097e1488e0357222c4..a61450ee5b9647ffc42f94c6449b0c0a5d0d2a4d 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -383,14 +383,18 @@ void BrowserPluginGuest::DidCommitProvisionalLoadForFrame( |
PageTransition transition_type, |
RenderViewHost* render_view_host) { |
// Inform its embedder of the updated URL. |
- if (is_main_frame) { |
- SendMessageToEmbedder( |
- new BrowserPluginMsg_DidNavigate( |
- instance_id(), |
- url, |
- render_view_host->GetProcess()->GetID())); |
- RecordAction(UserMetricsAction("BrowserPlugin.Guest.DidNavigate")); |
- } |
+ SendMessageToEmbedder( |
+ new BrowserPluginMsg_LoadCommit( |
+ instance_id(), |
+ url, |
+ render_view_host->GetProcess()->GetID(), |
+ is_main_frame)); |
+ RecordAction(UserMetricsAction("BrowserPlugin.Guest.DidNavigate")); |
+} |
+ |
+void BrowserPluginGuest::DidStopLoading(RenderViewHost* render_view_host) { |
+ SendMessageToEmbedder( |
+ new BrowserPluginMsg_LoadStop(instance_id())); |
} |
void BrowserPluginGuest::RenderViewGone(base::TerminationStatus status) { |