Index: public/web/WebPlugin.h |
diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h |
index d935150467d521915f0bdd992629f7a758f1c070..a99c3ee217b53642dc33c5c876f58a212d95e6af 100644 |
--- a/public/web/WebPlugin.h |
+++ b/public/web/WebPlugin.h |
@@ -64,6 +64,7 @@ public: |
virtual void destroy() = 0; |
virtual WebPluginContainer* container() const { return 0; } |
+ virtual void containerDidDetachFromParent() { } |
virtual NPObject* scriptableObject() = 0; |
virtual struct _NPP* pluginNPP() { return 0; } |
@@ -168,6 +169,7 @@ public: |
virtual void rotateView(RotationType type) { } |
virtual bool isPlaceholder() { return true; } |
+ virtual bool shouldPersist() const { return false; } |
protected: |
~WebPlugin() { } |