diff options
author | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-04 02:43:21 +0000 |
---|---|---|
committer | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-04 02:43:21 +0000 |
commit | 37ded00c4acb3b7125303221c58813444afef28f (patch) | |
tree | 66a4eb82ea291a5c44c2743d517a895673e3fad9 /content/browser/browser_plugin/browser_plugin_guest.h | |
parent | 05d8b5798639237e0a556ff546be7af1939578c2 (diff) | |
download | chromium_src-37ded00c4acb3b7125303221c58813444afef28f.zip chromium_src-37ded00c4acb3b7125303221c58813444afef28f.tar.gz chromium_src-37ded00c4acb3b7125303221c58813444afef28f.tar.bz2 |
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
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_guest.h')
-rw-r--r-- | content/browser/browser_plugin/browser_plugin_guest.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |