Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com 6a9f99b938 add enumerated type for uri load command. This will allow us
// to distinguish between incoming urls that are a result of user
						// clicks vs. normal views, view source and requires new window
nsIURIContentListener.idl--> doContent and canHandleContent now take a nsIURILoadCommand enum
nsURILoader.cpp --> changes to account for load command enum.
AsyncRead pass in the window context as the url context
(waterson will need this for his chrome cache work)
if we can't find a content handler for the content then go
back to the original window that loaded the url and force
them to handle the content...this is a HACK to force us to run
through the old code path for handling unknown content types
until the new version is online.
r=travis
1999-12-02 06:59:39 +00:00
mscott%netscape.com 7ecbc0a23d (not part of the seamonkey build)
CanHandleContent now has an out parameter for desired content type.
1999-11-18 01:00:56 +00:00
tbogard%aol.net 764c436e8a Changed the C++ includes to the equivalent of nsIURI and nsIStreamListener IDL versions. I couldn't find them earlier. Thanks to andreas.otte@primus-online.de for pointing the availability of them out to me. 1999-11-06 19:11:09 +00:00
tbogard%aol.net a2b5afbab9 Changed the some of the forward declared interfaces to be includes of the idl files. This makes the usages of these interfaces easier. Also put in the C++ includes for the nasty dumb interfaces nsIURI and nsIStreamListener which haven't found their homes in IDL yet. 1999-11-06 03:58:15 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mscott%netscape.com 853c7fc3d9 (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).
1999-11-05 23:26:16 +00:00
mscott%netscape.com bb4a08477e (not part of build)
Add notion of CanHandleContent. This is supposed to be a light weight method for the implementor
such that the uri loader can ask right off the top if the listener can handle a particular content
type. If it can, then later on, the uir loader may call DoContent to actually handle it.
1999-11-05 22:54:53 +00:00
mscott%netscape.com 4f5cae920f (not part of the seamonkey build!)
doContent now returns a boolean called abortProcess. if the listener wants to handle the content without
 returning a stream listener, i.e. it wants the uri loader to stop doing anything else with this content,
then it returns true for abort process.
1999-11-05 05:59:42 +00:00
mscott%netscape.com 0069fa11da Moving URI dispatching code into its new home in mozilla\uriloader. I'll be removing
the existing files that I put in netwerk very soon.
1999-10-29 21:46:18 +00:00