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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 11092023: Browser Plugin: Implement CanGoBack/CanGoForward (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
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(

Powered by Google App Engine
This is Rietveld 408576698