Index: content/browser/browser_plugin/browser_plugin_embedder.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc |
index fef57e639a8e5cfc1cfec670288fe5b1f272a40c..4c3900daa246593b22c4fbb1ae61cd3d3062c82c 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc |
@@ -214,6 +214,18 @@ void BrowserPluginEmbedder::PluginDestroyed(int instance_id) { |
DestroyGuestByInstanceID(instance_id); |
} |
+void BrowserPluginEmbedder::Stop(int instance_id) { |
+ BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id); |
+ if (guest) |
+ guest->Stop(); |
+} |
+ |
+void BrowserPluginEmbedder::Reload(int instance_id) { |
+ BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id); |
+ if (guest) |
+ guest->Reload(); |
+} |
+ |
void BrowserPluginEmbedder::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |