Index: webkit/plugins/npapi/webplugin_delegate.h |
diff --git a/webkit/plugins/npapi/webplugin_delegate.h b/webkit/plugins/npapi/webplugin_delegate.h |
index 43a39559d1b6b730973370814bbe5a17f15b2c7e..9f7fe0eb84e0cfdb1ee0478e65abc2904f2393c4 100644 |
--- a/webkit/plugins/npapi/webplugin_delegate.h |
+++ b/webkit/plugins/npapi/webplugin_delegate.h |
@@ -83,6 +83,9 @@ class WEBKIT_PLUGINS_EXPORT WebPluginDelegate { |
// Gets the NPObject associated with the plugin for scripting. |
virtual NPObject* GetPluginScriptableObject() = 0; |
+ // Gets the NPP instance uniquely identifying the plugin for its lifetime. |
+ virtual struct _NPP* GetPluginNPP() = 0; |
+ |
// Gets the form value associated with the plugin instance. |
// Returns false if the value is not available. |
virtual bool GetFormValue(base::string16* value) = 0; |