22 Commits

Author SHA1 Message Date
nisheeth%netscape.com
1888753c00 Added a new method, CreateInstanceForDocument() to nsIDocumentLoaderFactory which creates a content viewer and binds it to a document that is passed in as a parameter. This is needed to support XUL popup menus which have a document and a webshell, and want to create a content viewer and bind it to the document.
git-svn-id: svn://10.0.0.236/trunk@31981 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:52:01 +00:00
kipp%netscape.com
a06fa618f9 Updated comments
git-svn-id: svn://10.0.0.236/trunk@30574 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:35:11 +00:00
nisheeth%netscape.com
9085da10b9 - Adding the nsIWebShellServices interface that will be used by external services to access the webshell.
- Also, adding a method to nsIDocumentLoader that maps a document ID into an nsIContentViewerContainer.


git-svn-id: svn://10.0.0.236/trunk@30494 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:55:10 +00:00
scc%netscape.com
9e13283d6c Added GetDocumentFactory method; Added required GetIID method(s)
git-svn-id: svn://10.0.0.236/trunk@28860 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:31 +00:00
hyatt%netscape.com
2a48f5090b Enhanced the document loader so that it can now handle subdocuments, thus
enabling it to load multiple documents at once and to support the integration
of a subdocument into the parent document.


git-svn-id: svn://10.0.0.236/trunk@23888 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:20:14 +00:00
hyatt%netscape.com
918a6347c9 Adding GetIID methods to the content viewer and document loader.
git-svn-id: svn://10.0.0.236/trunk@23778 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:38:38 +00:00
rpotts%netscape.com
dc9ee3099d Changed NS_DOCUMENTLOADER_CID to NS_DOCUMENTLOADER_SERVICE_CID
git-svn-id: svn://10.0.0.236/trunk@17934 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 11:47:27 +00:00
rpotts%netscape.com
f98ba48091 Added GetContainer() and SetContainer() methods which allow access to the ContentViewerContainer (ie webshell) associated with the document loader.
git-svn-id: svn://10.0.0.236/trunk@17712 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:34:56 +00:00
rpotts%netscape.com
d016600b86 renamed some enums which moved into mozilla/network/module/nsILoadAttribs.h
git-svn-id: svn://10.0.0.236/trunk@12507 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:34:35 +00:00
rpotts%netscape.com
9d8cc89730 Renamed LoadURL to LoadDocument...
git-svn-id: svn://10.0.0.236/trunk@12412 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:47:40 +00:00
rpotts%netscape.com
f41a79a495 Added IsBusy() to determine if a doc loader is actively loading URLs...
git-svn-id: svn://10.0.0.236/trunk@11704 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:47:18 +00:00
valeski%netscape.com
893604c431 M webshell/public/nsIDocumentLoader.h
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.


M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.


M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).

2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.


M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.


M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.


git-svn-id: svn://10.0.0.236/trunk@10104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:40:20 +00:00
valeski%netscape.com
277cec0087 webshell/public/nsIDocumentLoader.h
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.

webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.

webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.

webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.


git-svn-id: svn://10.0.0.236/trunk@8211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:01:52 +00:00
valeski%netscape.com
b4eb4f5402 webshell/public/nsIDocumentLoader.h
Removed support for the underlying timer/refreshurl infrastructure.

webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.

webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).


git-svn-id: svn://10.0.0.236/trunk@8164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:25:17 +00:00
valeski%netscape.com
82dfe101eb 310133 - Extended the nsIDocumentLoader interface to include LoadURLOnTimer() and CancelLoadURLTimer() methods.
git-svn-id: svn://10.0.0.236/trunk@7953 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:07:17 +00:00
joki%netscape.com
9106b337ee Adding partial load event support, removing script context Run_GC method adding partial script error support
git-svn-id: svn://10.0.0.236/trunk@7810 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:56:40 +00:00
rpotts%netscape.com
15b08d846d First pass at nested document loaders...
git-svn-id: svn://10.0.0.236/trunk@6166 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:23:32 +00:00
kipp%netscape.com
b0aa64a6c6 Normalized factory api
git-svn-id: svn://10.0.0.236/trunk@5914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:16:46 +00:00
kipp%netscape.com
542f84d4a3 Seperated out nsIViewerContainer and nsIContentViewer API's
git-svn-id: svn://10.0.0.236/trunk@5901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:48:47 +00:00
rpotts%netscape.com
40c0155b10 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...
git-svn-id: svn://10.0.0.236/trunk@5806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:32:39 +00:00
rpotts
66adbc5795 Added some missing forward declarations...
git-svn-id: svn://10.0.0.236/trunk@4954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:38:48 +00:00
rpotts
66272b6db3 Added nsIDocumentLoader.h
git-svn-id: svn://10.0.0.236/trunk@4798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:25:55 +00:00