Commit Graph

565 Commits

Author SHA1 Message Date
danm@netscape.com
05fd62bdc0 adding 'centered' chrome flag 2000-04-13 20:06:19 +00:00
tbogard@aol.net
9e1847e8fb Changed tab spacing to say 3 to be accurate. 2000-04-11 23:49:08 +00:00
tbogard@aol.net
4b9845aa26 The parent content listener now doesn't have to implement every method. It can just implement the ones it wants and return NS_ERROR_NOT_IMPLEMENTED on the others. 2000-04-03 00:45:25 +00:00
blizzard@redhat.com
5adba28579 use C++ mode for C++ files for emacs users 2000-04-02 21:19:56 +00:00
tbogard@aol.net
3c2932692e Implemented the nsWBURIContentListener class and hooked it up to the build. It now sets itself as the parentURIListener for the internal docShell. Doing this makes the webBrowser control now the preferred handler for most webBrowser type loads. This fixes the problem where people who were embedding with this would always get a new window. Added a method to nsIWebBrowser to allow setting a parent URI Listener. Split the destruction of the webBrowser object into an InternalDestroy method. This fixes the odd construct where the destructor was calling Destroy and then having to clean up the Init structure that the Destroy method created. 2000-04-02 21:01:18 +00:00
tbogard@aol.net
73006433d5 First checkin of new files for the content listener in the webBrowser. 2000-04-02 07:05:39 +00:00
danm@netscape.com
cf97d1f3af add alwaysraised/lowered chrome flags 2000-04-01 22:02:18 +00:00
tbogard@aol.net
b46f2fc044 Renamed the parameters to be *Child* instead of *Self* to be better in sync with the function name OnChildProgressChange(). 2000-03-29 10:11:36 +00:00
tbogard@aol.net
dca7c1d434 In the implementation of FindItemWithName, make sure to pass the tree owner the docShell knows about and not another higher level requestor. 2000-03-28 09:40:14 +00:00
tbogard@aol.net
ee1719984b Changed the FindNamedBrowser to be FindNamedBrowserItem. This is important because it's possible that a frame needs to be returned, not just a toplevel browser object. So we need to be able to return a destination frame from this call. So now the API talks in terms of a frame. 2000-03-28 09:24:12 +00:00
tbogard@aol.net
1a48906690 Make sure the embedding control is properly setting itself as the tree owner. This should fix the current assertion when running viewer. 2000-03-28 07:40:10 +00:00
tbogard@aol.net
fd4929616a Removed the cookie from AddWebBrowserListener and RemoveWebBrowserListener because frankly that parameter was dumb. :) Updated the implementation of nsIWebProgressListener to reflect changes in the API (removal of the cookie there too). Removed the UpdateListeners function as that will no longer be needed. 2000-03-26 04:52:16 +00:00
tbogard@aol.net
d9540bcb5a Implementation for the new method onLocationChange added to the nsIWebProgressListener interface. 2000-03-25 01:00:05 +00:00
tbogard@aol.net
3df78af87a Implemented FindItemWithName and ContentShellAdded. Changed FindNamedBrowserChrome to deal with nsIWebBrowser instead of nsIWebBrowserChrome and changed the name to FindNamedBrowser. Changed FindNamedBrowser and GetNamedBrowser to return the type instead of having it as an out parameter. This is cleaner for JS. 2000-03-15 04:32:16 +00:00
tbogard@aol.net
1b218c2bcf Removing nsIProgress and nsIProgressListener as they aren't used and are replaced in intent by nsIWebProgress and nsIWebProgressListener. 2000-03-14 11:28:11 +00:00
tbogard@aol.net
4170204f3e Remove include of nsIProgress as the interface is going away. 2000-03-14 11:16:08 +00:00
tbogard@aol.net
53c08d9379 Use the generic factory to create the actual objects for the nsWebBrowserSetup and nsWebBrowser classes. Got rid of the unneeded ::Create methods on those classes. 2000-03-14 07:20:17 +00:00
tbogard@aol.net
706e05dc3b nsDocShellTreeOwner now implements nsIWebProgressListener. nsIInterfaceRequestor is not a required interface of the embedding owner. Provided basic implementation for most of the nsIDocShellTreeOwner Methods. Provided basic implementation for most of nsIBaseWindow. Implementation for nsIWebProgressListener. 2000-03-14 07:10:08 +00:00
tbogard@aol.net
7beede7602 Updated paramaters to GetNewBrowserChrome() and changed it to GetNewBrowser() to reflect changes in the API. Added new functions SizeBrowserTo() and ShowAsModal() that were added to the nsIWebBrowserChrome API. 2000-03-14 07:06:07 +00:00
tbogard@aol.net
6a9548fc09 webBrowser now depends on the docShell implementing nsIWebProgress interface. It now passes all the work on to it as well. 2000-03-14 07:05:08 +00:00
tbogard@aol.net
ac0e74c927 Made the constructor public so we can access it from the generic module code. 2000-03-13 07:11:21 +00:00
tbogard@aol.net
b16fd2e76a Changed nsWebBrowser to support nsIWebProgress instead of nsIProgress. Made the new nsDocShellTreeOwner a friend. 2000-03-11 01:16:24 +00:00
tbogard@aol.net
ccd7cf8eca Got much of the implementation done to actually get this object working. We now instantiate a webshell and pass along most needed calls. This gets the webBrowser object setup to start being used to basic stuff. 2000-03-11 01:12:46 +00:00
tbogard@aol.net
e6749703f1 Just updated some documentation. 2000-03-11 01:10:57 +00:00
tbogard@aol.net
9ee1b22764 Added SetTreeOwner and SetWebBrowserChrome to do the proper setup of all the different up pointers. 2000-03-11 01:10:13 +00:00
tbogard@aol.net
54f8882d67 Added nsDocShellTreeOwner.cpp to the build. 2000-03-11 01:06:03 +00:00
tbogard@aol.net
17564e6cda Adding new files for the embedding object. Note the embedding DLL is not yet used or relied upon. a=jevering 2000-03-09 01:06:56 +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
1a665708a2 This has been replaced by nsIWebNavigation interface. 2000-02-24 06:57:43 +00:00
tbogard@aol.net
812fca875f Removing nsIWebBrowserNav from the list to IDL files. 2000-02-24 06:47:24 +00:00
tbogard@aol.net
60030234c2 Removing nsIWebBrowserNav from the includes. This should fix the clobber builds. 2000-02-24 06:40:05 +00:00
tbogard@aol.net
acb5caca55 Changed nsWebBrowser over to implement nsIWebNavigation instead of nsIWebBrowserNav. r=mscott a=jevering 2000-02-24 03:51:35 +00:00
tbogard@aol.net
69a12264c5 Moving the needed interfaces over to the header file where they are needed. This will fix the wensleydale bustage. 2000-02-14 09:39:21 +00:00
tbogard@aol.net
700e36df0c Organized includes. Put in a check to ensure that QI to nsIWebNavigation succeeded. r=hyatt 2000-02-14 08:53:45 +00:00
alecf@netscape.com
f9983fd66f fix build bustage
travis needs to look at this and make sure it's right
2000-02-14 07:49:05 +00:00
tbogard@aol.net
a496473d8d Added SetJSDefaultStatus method as it can be set by JS. 2000-02-05 03:24:42 +00:00
mcafee@netscape.com
a9da7d5ad7 Ignore generated files. 2000-02-03 00:58:45 +00:00
tbogard@aol.net
c02fe00330 Removed SetTitle from the interface as that function is on the nsIBaseWindow interface that chrome objects are expected to implement. r=hyatt 2000-02-02 03:12:41 +00:00
tbogard@aol.net
6af5ae654c First cut at Unix makefiles. These will soon be hooked up to the build once I get someone on Unix to verify them. 2000-02-01 00:32:26 +00:00
tbogard@aol.net
739642bbec Stubbed out methods that were missing from nsIBaseWindow implementation. r=hyatt 2000-02-01 00:14:12 +00:00
tbogard@aol.net
242b8760b6 Added defines for chrome flags. Fixed some comments. Added some new methods. 2000-02-01 00:06:44 +00:00
danm@netscape.com
11cfa3a9ae First Checked In. 2000-01-31 23:58:29 +00:00
warren@netscape.com
a03f1a7799 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard@aol.net
76edcb3434 Renamed nsIWebBrowserApp with nsIWebBrowserChrome. Added some additional methods and more fully specified the ones that were there. Changed the interfaces to forward declare referenced interfaces rather than including them all. Added topLevelWindow to nsIWebBrowser. Provided implementation for these changes. 1999-11-18 09:17:07 +00:00
tbogard@aol.net
8b3728edd3 Replaced references to nsIGenericWindow to use nsIBaseWindow. Removed the NS_IMPL_ISUPPORTSX in favor of the map approach. 1999-11-17 09:00:05 +00:00
tbogard@aol.net
bb810e9b86 Removed the call to CanHandleContentType as this need to be re-worked now that there is only going to be one DocShell for all content types. 1999-11-12 07:29:45 +00:00
tbogard@aol.net
da46e846eb Changed nsComponentManager::CreateInstance calls to use the new nsCOMPtr do_CreateInstance(). 1999-11-10 06:54:39 +00:00
tbogard@aol.net
eb6eeab191 Implemented new interface method GetCurrentURI. 1999-11-07 10:06:38 +00:00
tbogard@aol.net
d7ddebe2bb Added a readonly attribute to get the currently loaded URI. 1999-11-07 10:05:48 +00:00
tbogard@aol.net
8fec2db201 Implemented so pretty straight forward pass through methods. 1999-11-05 09:07:57 +00:00