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..e2309aebdd87aa7b58c1166d44faa89d6d4cc39f 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc |
@@ -214,6 +214,27 @@ void BrowserPluginEmbedder::PluginDestroyed(int instance_id) { |
DestroyGuestByInstanceID(instance_id); |
} |
+void BrowserPluginEmbedder::Back(int instance_id) { |
+ BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id); |
+ if (!guest) |
lazyboy
2012/09/20 20:05:42
Here and below:
if (guest)
guest->Back();
patte
Fady Samuel
2012/09/21 15:21:56
Done.
|
+ return; |
+ guest->Back(); |
+} |
+ |
+void BrowserPluginEmbedder::Forward(int instance_id) { |
+ BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id); |
+ if (!guest) |
+ return; |
+ guest->Forward(); |
+} |
+ |
+void BrowserPluginEmbedder::Go(int instance_id, int relative_index) { |
+ BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id); |
+ if (!guest) |
+ return; |
+ guest->Go(relative_index); |
+} |
+ |
void BrowserPluginEmbedder::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |