summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_webplugin_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_webplugin_impl.h')
-rw-r--r--webkit/glue/plugins/pepper_webplugin_impl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_webplugin_impl.h b/webkit/glue/plugins/pepper_webplugin_impl.h
index 03e4145..e8ce265 100644
--- a/webkit/glue/plugins/pepper_webplugin_impl.h
+++ b/webkit/glue/plugins/pepper_webplugin_impl.h
@@ -10,6 +10,7 @@
#include "base/weak_ptr.h"
#include "base/scoped_ptr.h"
+#include "base/task.h"
#include "gfx/rect.h"
#include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h"
@@ -30,6 +31,10 @@ class WebPluginImpl : public WebKit::WebPlugin {
WebKit::WebFrame* frame,
const WebKit::WebPluginParams& params,
const base::WeakPtr<PluginDelegate>& plugin_delegate);
+
+ private:
+ friend class DeleteTask<WebPluginImpl>;
+
~WebPluginImpl();
// WebKit::WebPlugin implementation.
@@ -57,7 +62,6 @@ class WebPluginImpl : public WebKit::WebPlugin {
void* notify_data,
const WebKit::WebURLError& error);
- public:
struct InitData {
scoped_refptr<PluginModule> module;
base::WeakPtr<PluginDelegate> delegate;
@@ -67,7 +71,6 @@ class WebPluginImpl : public WebKit::WebPlugin {
scoped_ptr<InitData> init_data_; // Cleared upon successful initialization.
scoped_refptr<PluginInstance> instance_;
- WebKit::WebPluginContainer* container_; // Can be NULL.
gfx::Rect plugin_rect_;
DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);