summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/public/web/WebPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/public/web/WebPlugin.h')
-rw-r--r--chromium/third_party/WebKit/public/web/WebPlugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/public/web/WebPlugin.h b/chromium/third_party/WebKit/public/web/WebPlugin.h
index 9f046f2decb..a99c3ee217b 100644
--- a/chromium/third_party/WebKit/public/web/WebPlugin.h
+++ b/chromium/third_party/WebKit/public/web/WebPlugin.h
@@ -45,7 +45,6 @@ namespace blink {
class WebDataSource;
class WebDragData;
-class WebFrame;
class WebInputEvent;
class WebPluginContainer;
class WebURLResponse;
@@ -65,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; }
@@ -169,6 +169,7 @@ public:
virtual void rotateView(RotationType type) { }
virtual bool isPlaceholder() { return true; }
+ virtual bool shouldPersist() const { return false; }
protected:
~WebPlugin() { }