Index: content/renderer/webplugin_delegate_proxy.h |
diff --git a/content/renderer/webplugin_delegate_proxy.h b/content/renderer/webplugin_delegate_proxy.h |
index 5ede581c562107f67f09dd503dcaf08bdb271772..f39d2ae026804b8bbf8f48df4e62f8b08e609884 100644 |
--- a/content/renderer/webplugin_delegate_proxy.h |
+++ b/content/renderer/webplugin_delegate_proxy.h |
@@ -68,6 +68,7 @@ class WebPluginDelegateProxy |
const gfx::Rect& clip_rect) OVERRIDE; |
virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
virtual NPObject* GetPluginScriptableObject() OVERRIDE; |
+ virtual struct _NPP* GetPluginNPP() OVERRIDE; |
virtual bool GetFormValue(string16* value) OVERRIDE; |
virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason, |
int notify_id) OVERRIDE; |
@@ -266,6 +267,9 @@ class WebPluginDelegateProxy |
NPObject* npobject_; |
base::WeakPtr<NPObjectStub> window_script_object_; |
+ // Dummy NPP used to uniquely identify this plugin. |
+ scoped_ptr<NPP_t> npp_; |
+ |
// Event passed in by the plugin process and is used to decide if messages |
// need to be pumped in the NPP_HandleEvent sync call. |
scoped_ptr<base::WaitableEvent> modal_loop_pump_messages_event_; |