gecko-dev/modules/plugin/nglsrc
edburns%acm.org dee7ed58dd r=vidur, av
a=brendan
bug=49525

This simple fix just adds parameters to an existing method in an XPCOM
safe way, by defining a new method at the end of the interface
definition with the additional parameters.

Original method:

    NS_IMETHOD
    GetURL(nsISupports* pluginInst,
           const char* url,
           const char* target = NULL,
           nsIPluginStreamListener* streamListener = NULL,
           const char* altHost = NULL,
           const char* referrer = NULL,
           PRBool forceJSEnabled = PR_FALSE) = 0;

New method:

    NS_IMETHOD
    GetURLWithHeaders(nsISupports* pluginInst,
                      const char* url,
                      const char* target = NULL,
                      nsIPluginStreamListener* streamListener = NULL,
                      const char* altHost = NULL,
                      const char* referrer = NULL,
                      PRBool forceJSEnabled = PR_FALSE,
                      PRUint32 getHeadersLength = 0,
                      const char* getHeaders = NULL) = 0;

I have modified nsPluginHostImpl.h to include this new method, and
modified nsPluginHostImpl.cpp so that its GetURL calls GetURLWithHeaders
with null values for the last two params.

M modules/plugin/public/nsIPluginManager.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h
2000-09-14 22:57:56 +00:00
..
.cvsignore
Makefile.in Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00
makefile.win Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00
MANIFEST updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
ns4xPlugin.cpp Fixing Mac bustage 2000-09-14 07:16:07 +00:00
ns4xPlugin.h Bug 37522. Implement ns4xPlugin::GetMIMEDescription() and ns4xPlugin::GetValue(); alter nsPluginsDirUNIX to use these routines (instead of directly calling the NP_* routine) while grovelling through 4.x plugins. r=av 2000-07-19 21:43:46 +00:00
ns4xPluginInstance.cpp Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge 2000-09-14 06:13:56 +00:00
ns4xPluginInstance.h Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge 2000-09-14 06:13:56 +00:00
ns4xPluginStream.cpp Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge 2000-09-14 06:13:56 +00:00
ns4xPluginStream.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginHost.h Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge 2000-09-14 06:03:37 +00:00
nsIPluginInstanceOwner.h This was tested on win32, and is known to build on win32 and solaris. 2000-09-05 19:03:56 +00:00
nsMalloc.cpp updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsMalloc.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsPluginDocLoaderFactory.cpp Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00
nsPluginDocLoaderFactory.h Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00
nsPluginHostImpl.cpp r=vidur, av 2000-09-14 22:57:56 +00:00
nsPluginHostImpl.h r=vidur, av 2000-09-14 22:57:56 +00:00
nsPluginInstancePeer.cpp This was tested on win32, and is known to build on win32 and solaris. 2000-09-05 19:03:56 +00:00
nsPluginInstancePeer.h Bug 22598. r=vidur 2000-01-05 01:18:38 +00:00
nsPluginModule.cpp Bug 37275, Changing value of all progids, and changing everywhere a progid 2000-09-13 23:57:52 +00:00
nsPluginSafety.h adding newline at end of file (required by hp) 2000-09-14 10:50:50 +00:00
nsPluginsCID.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsPluginsDir.h Fixing 45895, r=waterson 2000-08-02 23:01:35 +00:00
nsPluginsDirBeOS.cpp Fixing 45895, r=waterson 2000-08-02 23:01:35 +00:00
nsPluginsDirMac.cpp 49515, fixing incorrect handling nsPluginInfo struct which prevented 2000-08-21 21:31:28 +00:00
nsPluginsDirOS2.cpp r=mkaply, a=brendan 2000-08-03 02:20:17 +00:00
nsPluginsDirUNIX.cpp Fixing Unix redness 2000-08-02 23:36:30 +00:00
nsPluginsDirWin.cpp Fixing 45895, r=waterson 2000-08-02 23:01:35 +00:00
nsPluginStreamPeer.cpp updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsPluginStreamPeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsPluginViewer.cpp a=brendan, ekrock 2000-09-14 08:22:31 +00:00
nsPluginViewer.h Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av 2000-07-22 01:34:13 +00:00