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..70a7de1b6de6708a22949956ff62b4949093fc5b 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -382,6 +382,11 @@ void BrowserPluginGuest::DidCommitProvisionalLoadForFrame( |
const GURL& url, |
PageTransition transition_type, |
RenderViewHost* render_view_host) { |
+ SendMessageToEmbedder( |
+ new BrowserPluginMsg_NavigationStateUpdate( |
+ instance_id(), |
+ web_contents()->GetController().GetCurrentEntryIndex(), |
+ web_contents()->GetController().GetEntryCount())); |
Charlie Reis
2012/10/10 06:06:53
I think we should combine these two IPC messages i
Fady Samuel
2012/10/10 17:36:44
Done.
|
// Inform its embedder of the updated URL. |
if (is_main_frame) { |
SendMessageToEmbedder( |