From 37ded00c4acb3b7125303221c58813444afef28f Mon Sep 17 00:00:00 2001 From: "fsamuel@chromium.org" Date: Thu, 4 Oct 2012 02:43:21 +0000 Subject: Browser Plugin: Implement terminate() BUG=153532 Test=BrowserPluginHostTest.TerminateGuest Review URL: https://chromiumcodereview.appspot.com/11048023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160057 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/browser_plugin/browser_plugin_guest.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/browser/browser_plugin/browser_plugin_guest.h') diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h index bfef213..820d932 100644 --- a/content/browser/browser_plugin/browser_plugin_guest.h +++ b/content/browser/browser_plugin/browser_plugin_guest.h @@ -119,6 +119,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsDelegate, // Exposes the protected web_contents() from WebContentsObserver. WebContents* GetWebContents(); + // Kill the guest process. + void Terminate(); + // Overridden in tests. virtual bool ViewTakeFocus(bool reverse); // If possible, navigate the guest to |relative_index| entries away from the -- cgit v1.1