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

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

Issue 11048023: Browser Plugin: Implement terminate() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 years, 2 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.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index bfef213c7c8b1eb69706a526174cb929ac459d5d..820d9326e8564d428ab9d0660a40ab7c112dd4ca 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

Powered by Google App Engine
This is Rietveld 408576698