Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index 374deec1ecc28b5ac3ede27f9ac94a7a8ef00eda..3eb97c0682757ade6b020365fe76272b79f55169 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -67,6 +67,18 @@ bool BrowserPluginGuest::ViewTakeFocus(bool reverse) { |
return true; |
} |
+void BrowserPluginGuest::Back() { |
+ web_contents()->GetController().GoBack(); |
+} |
+ |
+void BrowserPluginGuest::Forward() { |
+ web_contents()->GetController().GoForward(); |
+} |
+ |
+void BrowserPluginGuest::Go(int relative_index) { |
+ web_contents()->GetController().GoToOffset(relative_index); |
+} |
+ |
void BrowserPluginGuest::RendererUnresponsive(WebContents* source) { |
base::ProcessHandle process_handle = |
web_contents()->GetRenderProcessHost()->GetHandle(); |