| 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 fda0c620e740c6020edaf010cbc09934de769a37..3d6cbdc279f17642b6835d586c12437f4db4850e 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| @@ -419,19 +419,20 @@ void BrowserPluginGuest::DidCommitProvisionalLoadForFrame(
|
| PageTransition transition_type,
|
| RenderViewHost* render_view_host) {
|
| // Inform its embedder of the updated URL.
|
| - BrowserPluginMsg_DidNavigate_Params params;
|
| - params.url = url;
|
| - params.is_top_level = is_main_frame;
|
| - params.process_id = render_view_host->GetProcess()->GetID();
|
| - params.current_entry_index =
|
| - web_contents()->GetController().GetCurrentEntryIndex();
|
| - params.entry_count =
|
| - web_contents()->GetController().GetEntryCount();
|
| SendMessageToEmbedder(
|
| - new BrowserPluginMsg_DidNavigate(instance_id(), params));
|
| + 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) {
|
| if (pending_input_event_reply_.get()) {
|
| IPC::Message* reply_message = pending_input_event_reply_.release();
|
|
|