Fixing bug 188938. Adding the ability for plugins to participate in form submission. r=bzbarsky@mit.edu, sr=brendan@mozilla.org

git-svn-id: svn://10.0.0.236/trunk@170445 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2005-03-09 17:01:22 +00:00
parent c5dd0c828f
commit 3d9d095352
7 changed files with 89 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ EXPORTS = \
npupp.h \
npruntime.h \
nptypes.h \
nsINPRuntimePlugin.h \
nsIPluginInstanceInternal.h \
$(NULL)
SDK_HEADERS = \

View File

@@ -37,7 +37,7 @@
/*
* npapi.h $Revision: 3.37 $
* npapi.h $Revision: 3.38 $
* Netscape client plug-in API spec
*/
@@ -125,7 +125,7 @@
/*----------------------------------------------------------------------*/
#define NP_VERSION_MAJOR 0
#define NP_VERSION_MINOR 14
#define NP_VERSION_MINOR 15
/* The OS/2 version of Netscape uses RC_DATA to define the
@@ -390,7 +390,13 @@ typedef enum {
NPPVpluginNeedsXEmbed = 14,
/* Get the NPObject for scripting the plugin. */
NPPVpluginScriptableNPObject = 15
NPPVpluginScriptableNPObject = 15,
/* Get the plugin value (as \0-terminated UTF-8 string data) for
* form submission if the plugin is part of a form. Use
* NPN_MemAlloc() to allocate memory for the string data.
*/
NPPVformValue = 16
} NPPVariable;
/*