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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 23591016: BrowserPlugin/WebView - Move plugin lifetime to DOM (Chromium-side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase CL. Created 7 years, 1 month 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/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index ad5bad3f9e7ad0e11e507ce3a7e6be6b4f588fc5..28955ecded5102a6dd2abdbdde605b499ce6f7ec 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -188,6 +188,8 @@ class CONTENT_EXPORT BrowserPlugin :
virtual bool HandleMouseLockedInputEvent(
const blink::WebMouseEvent& event) OVERRIDE;
+ virtual bool shouldPersist() const OVERRIDE;
+
private:
friend class base::DeleteHelper<BrowserPlugin>;
// Only the manager is allowed to create a BrowserPlugin.

Powered by Google App Engine
This is Rietveld 408576698