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 ada9dfbaa0f2c1dbacfe1307fe8682ac238148c0..aa4c3ead4469e02ab2f3f36d6d0fe9d7fbfe51fb 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -225,6 +225,17 @@ void BrowserPluginGuest::HandleInputEventAck(RenderViewHost* render_view_host, |
SendMessageToEmbedder(reply_message); |
} |
+void BrowserPluginGuest::Stop() { |
+ web_contents()->Stop(); |
+} |
+ |
+void BrowserPluginGuest::Reload() { |
+ // TODO(fsamuel): Don't check for repost because we don't want to show |
+ // Chromium's repost warning. We might want to implement a separate API |
+ // for registering a callback if a repost is about to happen. |
+ web_contents()->GetController().Reload(false); |
+} |
+ |
void BrowserPluginGuest::SetFocus(bool focused) { |
RenderViewHost* render_view_host = web_contents()->GetRenderViewHost(); |
render_view_host->Send( |