pjs/modules/plugin/public
edburns%acm.org e97ed9b418 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
MANIFEST updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
Makefile.in a=brendan,av 2000-09-13 06:40:57 +00:00
makefile.win a=brendan,av 2000-09-13 06:40:57 +00:00
nsICookieStorage.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsICookieStorage.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIEventHandler.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIEventHandler.idl Lowercased handleEvent 2000-05-25 08:29:10 +00:00
nsIFileUtilities.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIHTTPHeaderListener.idl a=brendan,av 2000-09-13 07:07:18 +00:00
nsIJRILiveConnectPlugInstPeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIJRILiveConnectPlugInstPeer.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIJRILiveConnectPlugin.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIJRILiveConnectPlugin.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsILiveConnectPlugInstPeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsILiveConnectPlugInstPeer.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsILiveConnectPlugin.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsILiveConnectPlugin.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIMalloc.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPlugin.h Bug 37275, Changing value of all progids, and changing everywhere a progid 2000-09-13 23:57:52 +00:00
nsIPlugin.idl Bug 37275, Changing value of all progids, and changing everywhere a progid 2000-09-13 23:57:52 +00:00
nsIPluginInputStream.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginInputStream2.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginInstance.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginInstance.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginInstancePeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginInstancePeer.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginInstancePeer2.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginInstancePeer2.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginManager.h r=vidur, av 2000-09-14 22:57:56 +00:00
nsIPluginManager.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginManager2.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginManager2.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginManagerMac.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginStream.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginStreamInfo.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginStreamInfo.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginStreamListener.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginStreamListener.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginStreamPeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginStreamPeer2.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIPluginTagInfo.h #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h 2000-04-18 21:44:56 +00:00
nsIPluginTagInfo.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIPluginTagInfo2.h #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h 2000-04-18 21:44:56 +00:00
nsIPluginTagInfo2.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsIScriptablePlugin.idl Part of fix for 39911, which is a dependency of nsbeta+ bug 38495. 2000-06-14 01:04:06 +00:00
nsISeekablePluginStreamPeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsIWindowlessPlugInstPeer.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nsPlugin.idl Bug 37275, Changing value of all progids, and changing everywhere a progid 2000-09-13 23:57:52 +00:00
nsPluginDefs.idl New beta-quality Plugin API (now in IDL!). 2000-05-20 20:03:36 +00:00
nsplugin.h Bug 37275, Changing value of all progids, and changing everywhere a progid 2000-09-13 23:57:52 +00:00
nsplugindefs.h a=brendan, ekrock 2000-09-14 08:22:31 +00:00