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 2bc9cdfefb1dd80ba06f0a6a13473db8a313f6a4..45fd5ff32dc2a5b49640234417c92f16ac6d36e3 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
@@ -43,6 +43,9 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived( |
&handled)) |
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_PluginDestroyed, |
OnPluginDestroyed); |
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Back, OnBack) |
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Forward, OnForward) |
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Go, OnGo) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -148,4 +151,16 @@ void BrowserPluginEmbedderHelper::OnPluginDestroyed(int instance_id) { |
embedder_->PluginDestroyed(instance_id); |
} |
+void BrowserPluginEmbedderHelper::OnBack(int instance_id) { |
+ embedder_->Back(instance_id); |
+} |
+ |
+void BrowserPluginEmbedderHelper::OnForward(int instance_id) { |
+ embedder_->Forward(instance_id); |
+} |
+ |
+void BrowserPluginEmbedderHelper::OnGo(int instance_id, int relative_index) { |
+ embedder_->Go(instance_id, relative_index); |
+} |
+ |
} // namespace content |