| 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 3d7ee9aa58469c764ece49c329832e0191626f10..10a48f709ff3fa25b452501f1bcd9d5511acdc79 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.h
|
| +++ b/content/renderer/browser_plugin/browser_plugin.h
|
| @@ -174,6 +174,7 @@ class CONTENT_EXPORT BrowserPlugin :
|
| virtual bool initialize(WebKit::WebPluginContainer* container) OVERRIDE;
|
| virtual void destroy() OVERRIDE;
|
| virtual NPObject* scriptableObject() OVERRIDE;
|
| + virtual struct _NPP* pluginNPP() OVERRIDE;
|
| virtual bool supportsKeyboardFocus() const OVERRIDE;
|
| virtual bool canProcessDrag() const OVERRIDE;
|
| virtual void paint(
|
| @@ -441,6 +442,9 @@ class CONTENT_EXPORT BrowserPlugin :
|
| bool compositing_enabled_;
|
| scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_;
|
|
|
| + // Used to identify the plugin to WebBindings.
|
| + scoped_ptr<struct _NPP> npp_;
|
| +
|
| // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
|
| // get called after BrowserPlugin has been destroyed.
|
| base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
|
|
|