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 6398917e318ae84c5dc0caf4a24cbbf9ed70ab5d..fc0f98aad00b006c25e8e7d327abed6bc2036287 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
@@ -46,6 +46,8 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived( |
&handled)) |
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_PluginDestroyed, |
OnPluginDestroyed); |
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Stop, OnStop) |
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Reload, OnReload) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -151,4 +153,12 @@ void BrowserPluginEmbedderHelper::OnPluginDestroyed(int instance_id) { |
embedder_->PluginDestroyed(instance_id); |
} |
+void BrowserPluginEmbedderHelper::OnStop(int instance_id) { |
+ embedder_->Stop(instance_id); |
+} |
+ |
+void BrowserPluginEmbedderHelper::OnReload(int instance_id) { |
+ embedder_->Reload(instance_id); |
+} |
+ |
} // namespace content |