Index: webkit/plugins/npapi/webplugin_delegate.h |
diff --git a/webkit/plugins/npapi/webplugin_delegate.h b/webkit/plugins/npapi/webplugin_delegate.h |
index 4c0eb42481e8160c4c7c3a064229ab8c4c0ea9a4..8fd02a1650a4e9f962e992327d27396b996f0f0b 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 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; |