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

29 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com abe52a17bf Bug #44253 --> if a docshell doesn't have a parent content listener then change
the default for IsPreferred to return the value of CanHandle. This makes it
easier for content developers to use browser and iframe tags since they don't
have to implement nsIURIContentListener explicilty to get correct
loading behavior.
r=valeski
2000-08-26 02:52:09 +00:00
mscott%netscape.com be66c761b2 Bug #45047 --> accept plain/text content type by default.
r=alecf
2000-07-11 05:09:42 +00:00
mscott%netscape.com 6c789be53b Bug #10802 --> remove special case of message/rfc822 content. we resolve this diffently now in order to make
open attachments work.
r=sspitzer
2000-06-23 04:47:30 +00:00
mscott%netscape.com a67f7065a0 Bug #38374 --> we were throwing an assertion in correctly because we couldn't create a content viewer. This is
actually an okay case, we'll later try to fire a helper app in this condition. No need to assert.

r=valeski
2000-06-22 06:55:10 +00:00
rpotts%netscape.com fe680b22a3 Added Set/GetLoadCookie methods to nsDocShell. The mLoadCookie is no longer directly set by the nsDSURIContentListener class! 2000-06-20 08:01:19 +00:00
rpotts%netscape.com 49c54755fc Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
rpotts%netscape.com 80c3fe2f3e some reformatting to keep lines from wrapping... 2000-05-06 06:05:03 +00:00
tbogard%aol.net 4e5f7c99ac Making the addref and release thread safe. 2000-04-16 13:00:52 +00:00
tbogard%aol.net c6f1b601bf CreateContentViewer() and NewContentViewer() no longer take the uri loading command as a parameter since they don't use it. InternalLoad now takes a window target parameter. DoURILoad now takes the uriloader command and a window target. 2000-04-04 00:04:04 +00:00
tbogard%aol.net f3c5352218 OnLoadingSite now takes a nsIChannel instead of a nsIURI. This allows us to get information out of the channel we may need such as the referrer. We now make sure we set the referrer during OnLoadingSite. Fixed a bug where the nsIWebProgressListener was getting found on the treeOwner even for frames. This was causing the the treeOwner to get notified of all actions happening in the children. Now we make sure to only set the listener for the top level frame. 2000-03-30 02:24:17 +00:00
cls%seawood.org 13d301bd22 Some compilers (HP-UX) don't like it when the file doesn't end in a newline. 2000-03-25 07:58:28 +00:00
tbogard%aol.net c568a5cd6f Removed the Set and GetPresContext as they were not being used. 2000-03-25 03:43:58 +00:00
tbogard%aol.net 8a87bb6f94 Adding implementation for the new method OnStartURIOpen on nsIURIContentListener. 2000-03-24 00:26:51 +00:00
tbogard%aol.net 086aae8fec Reordered methods to be the same as the interface. 2000-03-11 00:49:47 +00:00
tbogard%aol.net 50e31a9326 DoContent now call CreateContentViewer on the docShell to get the viewer created. Implemented CreateContentViewer(), NewContentViewer(), and SetupNewViewer() methods in the docshell. This gets docshell setup to be able to create it's own content viewers for loads. This is work to getting session history stuff working and bug 13374. r=mscott a=jevering 2000-02-29 22:32:24 +00:00
tbogard%aol.net 34d48e7719 Now call OnLoadingSite() when DoContent is processed. mLoadCookie is now stored on the docshell instead of the contentListenr. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:13:31 +00:00
tbogard%aol.net 6a8920fe95 Some structure change to the DoContent function to get it closer to being ready to take requests. Removed the HandleInCurrentDocShell method as that is no longer needed. None of this code is called right now. Just checking in due to some v-table changes between this and docshell and docshell needs to be checked in for a PDT+ fix. This work is however actually in preparation for a PDT+ fix later this week. r=mscott 2000-02-17 01:58:34 +00:00
mscott%netscape.com 7f04e0c460 more prepation for docshell landing. Implement IsPreferred and move implemtation of CanHandlecontent from the
application layer into the webshell/docshell layer.

r=travis
2000-02-04 08:45:34 +00:00
mscott%netscape.com 472ee875c7 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
api synch of changes to nsIURIContentListener
r=travis
2000-01-29 06:10:54 +00:00
tbogard%aol.net e1ce456d9f Changed the NS_ISUPPORTS_IMPL to be an interface map. r=hyatt. 2000-01-14 08:16:50 +00:00
tbogard%aol.net 2259e840c2 mParentContentListener is now held as a weak reference as it should be. 1999-12-21 00:09:48 +00:00
mscott%netscape.com 929ee8727a Pass nsURILoadCommand's instead of char * around for the command associated with the url. 1999-12-02 07:09:06 +00:00
mscott%netscape.com ec94f6c93f api synch with uri loader --> use nsURILoaderCommand
r=travis
1999-12-02 07:01:11 +00:00
tbogard%aol.net 3f6f5b92b9 Adding new line at the end of the file to get rid of the warning. 1999-11-30 03:50:05 +00:00
mscott%netscape.com 84a6544353 (not part of the build)
api tweak to nsIURIContentListener::CanHandleContent
1999-11-18 01:09:56 +00:00
tbogard%aol.net 7889c33117 Got more implementation for the DoContent methods. It now calls the new nsDocShell::CreateContentViewer method to kick off the content viewer creation and pairing to the stream. 1999-11-12 09:09:27 +00:00
tbogard%aol.net 3bd30f0e0c Now that we have decided that there is only one docshell for all content types, we needed to get rid of the base class/ content type implementation. This checkin takes and moves the nsDocShellBase to be nsDocShell. It now holds the nsIHTMLDocShell stuff. This will be going away. nsCDocShell was created to replace the previous nsCHTMLDocShell. 1999-11-12 07:28:25 +00:00
tbogard%aol.net f07d391a5d Added methods to set and get the presContext for the content listener. Made nsDocShellBase a friend class so we could move the constructor and all the non-interface methods into protected area. 1999-11-07 10:00:53 +00:00
tbogard%aol.net 508e44c469 Changed the nsIDocShell parent attribute to not create a cycle. Added notes about this. Framed out start of usage for the uriloader. Added code for the new nsDSURIContentListener object to be the callback object for nsIURIContentListener passed to uriloader. 1999-11-06 04:51:05 +00:00