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 0a4cd01c9dc00288d2178c56d18796d4e6a843b4..86a354bed40e4a3b4943fe8db1558222ec8aeb2a 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc |
@@ -268,6 +268,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) { |