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

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

Issue 10960003: Browser Plugin: Implement Back, Forward, and Go. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT Created 8 years, 3 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_embedder_helper.cc
diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
index 3d89c1189eb61971db3a25ec60fb35fcdcbc8df2..a490f27801a7d0db0ecf1f8511df19ea893ac9a1 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
@@ -43,6 +43,7 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived(
&handled))
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_PluginDestroyed,
OnPluginDestroyed);
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Go, OnGo)
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Stop, OnStop)
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Reload, OnReload)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -148,6 +149,10 @@ void BrowserPluginEmbedderHelper::OnPluginDestroyed(int instance_id) {
embedder_->PluginDestroyed(instance_id);
}
+void BrowserPluginEmbedderHelper::OnGo(int instance_id, int relative_index) {
+ embedder_->Go(instance_id, relative_index);
+}
+
void BrowserPluginEmbedderHelper::OnStop(int instance_id) {
embedder_->Stop(instance_id);
}
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_embedder_helper.h ('k') | content/browser/browser_plugin/browser_plugin_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698