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

Unified Diff: public/web/WebPlugin.h

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised method for widget lifetime management. 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
« Source/web/WebPluginContainerImpl.h ('K') | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebPlugin.h
diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h
index 4d4982282cb378ddb386bb1ff4d637078f1aa3c7..3bdbb203c7e4df2b362468c3bfe9838d6899348c 100644
--- a/public/web/WebPlugin.h
+++ b/public/web/WebPlugin.h
@@ -154,6 +154,7 @@ public:
virtual void rotateView(RotationType type) { }
virtual bool isPlaceholder() { return true; }
+ virtual bool shouldPersist() const { return false; }
protected:
~WebPlugin() { }
« Source/web/WebPluginContainerImpl.h ('K') | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698