(not part of the build)

GetProtcocolHandler needs to pass in the uri we are trying to open so the
listener can pick an appropriate p.h. based on the protocol of the uri. (if
they so choose).
This commit is contained in:
mscott%netscape.com 1999-11-05 23:26:16 +00:00
parent 57f8b35d82
commit 853c7fc3d9

View File

@ -27,6 +27,7 @@
interface nsIProtocolHandler;
interface nsIStreamListener;
interface nsIChannel;
interface nsIURI;
[scriptable, uuid(94928AB3-8B63-11d3-989D-001083010E9B)]
interface nsIURIContentListener : nsISupports
@ -35,8 +36,13 @@ interface nsIURIContentListener : nsISupports
a specific content handler. Content listener's do not need to
support this method if they want the uri dispatcher to find the
default protocol handler from the registry.
aURI --> the uri we need a protocol handler for
aProtocolHandler --> the protocol handler you want the uri loader
to use. You can pass back null if you want the uri loader to look
up an appropriate protocol handler
*/
readonly attribute nsIProtocolHandler protocolHandler;
void getProtocolHandler(in nsIURI aURI, out nsIProtocolHandler aProtocolHandler);
/* The URIDispatcher will give the content listener a shot at handling
the content before it tries other means. If the content listener