Commit Graph

282 Commits

Author SHA1 Message Date
tbogard@aol.net
640a6672a6 HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface. Added a member for stating if this docShell supports plugins or not. 2000-03-11 00:55:00 +00:00
tbogard@aol.net
3f489f7c49 Don't rely on the parent widget to have a device context. Create and cache our own just like the old webShell wolrd. Since we have our own, it can now cache the zoom state too. bug #30625. r=jud, waterson a=jevering 2000-03-08 03:58:33 +00:00
mscott@netscape.com
441365df4f Bug #21358 --> Make sure we only call the on load handler ONCE per document. This prevents a nasty loop if
the onload handler tries to load an ftp url.
r=travis
a=jar
2000-03-07 06:02:04 +00:00
norris@netscape.com
6a8b34d7ef Fix 29541
r=travis,a=jar
2000-03-03 22:55:40 +00:00
tbogard@aol.net
9452fffb59 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
pollmann@netscape.com
f049a2af70 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard@aol.net
8bd8045061 mLoadCookie is now stored on the docshell instead of the contentListener. Started framing out the different parts of a load and management of session history and global history. Reload is now live. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:15:22 +00:00
tbogard@aol.net
052115d1a7 PDT+ Fix for Bug #27279. When the current docshell was asked to find an item of a given name, it failed to return out when it itself was the name being searched for. Also provided implementation for Set/ GetSessionHistory and and GetCurrentURI. None of these methods are called yet. Changed the mLoadCookie to only be on the contentListener. This will probably change to only be on the docshell, but regardless, there should only be one between the two of them. r=mscott, jar. a=jar 2000-02-17 02:03:02 +00:00
tbogard@aol.net
20d0033137 nsDocShell now implements the nsIWebNavigation interface. Added some stubbed code to Ensure that there is a content viewer. Also added stubbed code to Setup the content viewer when a new one is created. This will eventually replace the embed method. Removed the mCreated member as it is no longer needed. The destructor calls Destroy now to centralize the destruction code. r=hyatt 2000-02-14 06:40:28 +00:00
tbogard@aol.net
6b4a79baf9 Added GetTarget() to be used to resolve targetting. 2000-01-30 07:34:10 +00:00
rpotts@netscape.com
5d4a8a8ba0 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
tbogard@aol.net
66888d2099 Fixed a couple of previously unitialized member variables. Implemented the setting and getting of the ChromeEventHandler attribute. Implemented the setting and getting of the title. 1999-12-21 00:11:33 +00:00
tbogard@aol.net
7615504a65 Changed nsresult protected functions to be NS_IMETHOD so they would be virtual thus allowing proper subclassing. Updated the algorithm for FindItemWithName. Added ChromeEventHandler attribute getter and setter stubs. 1999-12-18 02:23:31 +00:00
tbogard@aol.net
61a598a4c7 Implemented changes to nsIDocShellTreeItem and nsIDocShellTreeNode. FindItemWithName and FindChildWithName. Work to fix bug 21287. r=shaver a=shaver. 1999-12-12 10:15:26 +00:00
tbogard@aol.net
4fb738335a Added some methods to nsIDocShellTreeItem... It now understands the concept of being of the chrome or content type. Added convenience methods to traverse up the tree with a restriction of same item type. 1999-12-08 04:57:23 +00:00
tbogard@aol.net
07f6326d03 Added the concept of the treeItem and node. This breaks up nsIDocShell a little bit. 1999-12-03 10:29:08 +00:00
tbogard@aol.net
25baa5ff98 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
mscott@netscape.com
6d56150263 Pass nsURILoadCommand's instead of char * around for the command associated with the url. 1999-12-02 07:09:06 +00:00
tbogard@aol.net
0480ff4ec6 nsDocShell now implements nsIScriptContextOwner. 1999-11-30 01:06:59 +00:00
tbogard@aol.net
1ab1040470 Changes to reflect the fact that the nsIDocShell API now has a GetPresShell. Used NS_STATIC_CAST on a comparison to 'this'. (Not Part of build). 1999-11-29 18:41:59 +00:00
tbogard@aol.net
35d96fb703 Changes to get this compiling again. 1999-11-23 10:15:10 +00:00
buster@netscape.com
cd7c34c530 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
warren@netscape.com
2faadce595 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren@netscape.com
f51ae98f68 Fix for bustage due to channel retargeting changes. 1999-11-17 09:22:47 +00:00
tbogard@aol.net
2afc84dfbd Got the code compiling again. 1999-11-17 08:57:00 +00:00
tbogard@aol.net
82abaab267 Replaced nsIGenericWindow with nsIBaseWindow. 1999-11-17 08:45:28 +00:00
warren@netscape.com
d781c103fb Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard@aol.net
e8bb8e11bd nsIDocShell now has a readonly attribute for the currently loaded content viewer. 1999-11-15 22:54:47 +00:00
tbogard@aol.net
b800413eae Removed QueryCapability to reflect removal in the nsIContentViewerContainer API. Changed call the nsIContentViewer::SetContainer() to cast to the right nsISupports. 1999-11-14 10:24:37 +00:00
tbogard@aol.net
acb48beafb Implemented a number of the Positioning / Sizing routines. 1999-11-13 08:09:16 +00:00
tbogard@aol.net
e0d15b390f Added CreateContentViewer and NewContentViewerObj methods for docShell. 1999-11-12 09:07:28 +00:00
tbogard@aol.net
e0b8170934 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