Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 10917225: Browser Plugin: Reload and Stop operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6a56f819b57fb3517caba64a906b8fe3d3e11617 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -225,6 +225,14 @@ void BrowserPluginGuest::HandleInputEventAck(RenderViewHost* render_view_host,
SendMessageToEmbedder(reply_message);
}
+void BrowserPluginGuest::Stop() {
+ web_contents()->Stop();
+}
+
+void BrowserPluginGuest::Reload() {
+ web_contents()->GetController().Reload(false);
Charlie Reis 2012/09/19 22:17:09 The NavigationController documentation says most c
Fady Samuel 2012/09/19 23:29:20 Done.
+}
+
void BrowserPluginGuest::SetFocus(bool focused) {
RenderViewHost* render_view_host = web_contents()->GetRenderViewHost();
render_view_host->Send(

Powered by Google App Engine
This is Rietveld 408576698