Bug #14928 --> phase one of uri dispatching landing. add ability for doc loader to load

an opened channel
r=travis
This commit is contained in:
mscott%netscape.com 1999-11-18 07:05:47 +00:00
parent 7f80e52967
commit 65c51b2064

View File

@ -97,6 +97,16 @@ class nsIDocumentLoader : public nsISupports
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOCUMENTLOADER_IID)
// url dispatching shortcut method....we return the
// doc bind info in the form of a stream listener
// which we'll use to feed data into the content viewer
NS_IMETHOD LoadOpenedDocument(nsIChannel * aOpenedChannel,
const char * aCommand,
nsIContentViewerContainer *aContainer,
nsIInputStream * aPostDataStream,
nsIURI * aReffererUrl,
nsIStreamListener ** aContentHandler) = 0;
NS_IMETHOD LoadDocument(nsIURI * aUri,
const char* aCommand,
nsISupports* aContainer,