90 Commits

Author SHA1 Message Date
locka%iol.ie
a5a07ad036 Added nsIWebBrowserSetup to query interface table. b=46847, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77296 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 13:56:50 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
locka%iol.ie
68dda5d2f6 Fixed some incorrect embedding issues. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76433 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:50:00 +00:00
rpotts%netscape.com
bc20fd3c03 Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets).
git-svn-id: svn://10.0.0.236/trunk@73703 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:10:29 +00:00
dougt%netscape.com
bf51a63eae 44113, 44190, 44191.
r/a=valeski@netscape.com

nsDocShellTreeOwner not handling chrome/content correctly.
Asserts when no toplevel window set.
Need to start chrome up from NS_InitEmbedding()
Test App changes.


git-svn-id: svn://10.0.0.236/trunk@73658 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 21:53:27 +00:00
radha%netscape.com
c8ae707155 More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.


git-svn-id: svn://10.0.0.236/trunk@73539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:48:18 +00:00
radha%netscape.com
83f086107a More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.


git-svn-id: svn://10.0.0.236/trunk@73125 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:54:30 +00:00
radha%netscape.com
2e86ea57c7 Dummy implementation for 2 new methods in nsIWebNavigation. fix burning tree.
git-svn-id: svn://10.0.0.236/trunk@72747 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 07:28:45 +00:00
rpotts%netscape.com
406f61beb3 Reworked the nsIWebProgress interfaces and implementation...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
tbogard%aol.net
20df804f7d Changed tab spacing to say 3 to be accurate.
git-svn-id: svn://10.0.0.236/trunk@65623 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:49:08 +00:00
blizzard%redhat.com
153011395b use C++ mode for C++ files for emacs users
git-svn-id: svn://10.0.0.236/trunk@64955 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:19:56 +00:00
tbogard%aol.net
7897b53e83 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.
git-svn-id: svn://10.0.0.236/trunk@64952 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:01:18 +00:00
tbogard%aol.net
03e0833c46 In the implementation of FindItemWithName, make sure to pass the tree owner the docShell knows about and not another higher level requestor.
git-svn-id: svn://10.0.0.236/trunk@64352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:40:14 +00:00
tbogard%aol.net
333578da67 Make sure the embedding control is properly setting itself as the tree owner. This should fix the current assertion when running viewer.
git-svn-id: svn://10.0.0.236/trunk@64341 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:40:10 +00:00
tbogard%aol.net
9263333b38 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.
git-svn-id: svn://10.0.0.236/trunk@64147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:52:16 +00:00
tbogard%aol.net
508b009b9f 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.
git-svn-id: svn://10.0.0.236/trunk@62899 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:20:17 +00:00
tbogard%aol.net
c0147da47d webBrowser now depends on the docShell implementing nsIWebProgress interface. It now passes all the work on to it as well.
git-svn-id: svn://10.0.0.236/trunk@62896 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:05:08 +00:00
tbogard%aol.net
6a27b4658e 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.
git-svn-id: svn://10.0.0.236/trunk@62591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:12:46 +00:00
pollmann%netscape.com
8a83557c05 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:51:48 +00:00
tbogard%aol.net
0823b2e5f8 Changed nsWebBrowser over to implement nsIWebNavigation instead of nsIWebBrowserNav. r=mscott a=jevering
git-svn-id: svn://10.0.0.236/trunk@61571 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 03:51:35 +00:00
tbogard%aol.net
778337e30f Moving the needed interfaces over to the header file where they are needed. This will fix the wensleydale bustage.
git-svn-id: svn://10.0.0.236/trunk@60722 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 09:39:21 +00:00
tbogard%aol.net
a252453431 Organized includes. Put in a check to ensure that QI to nsIWebNavigation succeeded. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60718 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 08:53:45 +00:00
alecf%netscape.com
2905753f1f fix build bustage
travis needs to look at this and make sure it's right


git-svn-id: svn://10.0.0.236/trunk@60714 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 07:49:05 +00:00
tbogard%aol.net
21912f73f7 Stubbed out methods that were missing from nsIBaseWindow implementation. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59325 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:14:12 +00:00
tbogard%aol.net
67f780367f 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.
git-svn-id: svn://10.0.0.236/trunk@53871 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 09:17:07 +00:00
tbogard%aol.net
b5b6d5c1a7 Replaced references to nsIGenericWindow to use nsIBaseWindow. Removed the NS_IMPL_ISUPPORTSX in favor of the map approach.
git-svn-id: svn://10.0.0.236/trunk@53764 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 09:00:05 +00:00
tbogard%aol.net
78db3add9d 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.
git-svn-id: svn://10.0.0.236/trunk@53338 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 07:29:45 +00:00
tbogard%aol.net
40bcf7296c Changed nsComponentManager::CreateInstance calls to use the new nsCOMPtr do_CreateInstance().
git-svn-id: svn://10.0.0.236/trunk@53075 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 06:54:39 +00:00
tbogard%aol.net
b96fcdaf82 Implemented new interface method GetCurrentURI.
git-svn-id: svn://10.0.0.236/trunk@52929 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-07 10:06:38 +00:00
tbogard%aol.net
5fe04f058d Implemented so pretty straight forward pass through methods.
git-svn-id: svn://10.0.0.236/trunk@52851 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 09:07:57 +00:00
tbogard%aol.net
c98bf7e9a6 **Not hooked up to build** Implemented Repaint. Changed document to be a readonly attribute. Added a SetDocument that takes a contentType. Implemented this. Changed all the idl methods to be lower-case.
git-svn-id: svn://10.0.0.236/trunk@52450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:04:25 +00:00
tbogard%aol.net
e885439545 Changed some m_* to m*.
git-svn-id: svn://10.0.0.236/trunk@52404 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 19:57:15 +00:00
tbogard%aol.net
1b8869ef46 Changed NS_ENSURE to be NS_ENSURE_TRUE.
git-svn-id: svn://10.0.0.236/trunk@52378 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 07:45:38 +00:00
tbogard%aol.net
7b140eafb2 Removed zoom now that it has been moved out of the nsIGenericWindow interface.
git-svn-id: svn://10.0.0.236/trunk@52299 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 00:53:41 +00:00
tbogard%aol.net
cd2764bb20 Changes made to reflect changes in nsIGenericWindow and nsIScrollable.
git-svn-id: svn://10.0.0.236/trunk@52068 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 07:52:08 +00:00
tbogard%aol.net
1d0ea94a3d Create an initialization structure to hold data until window created. Added a lot of implementation for many of the accessors. Filled in a lot of other first cut implementation.
git-svn-id: svn://10.0.0.236/trunk@51936 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 02:45:49 +00:00
tbogard%aol.net
2e96f47e2e Changed nsIProgress::addListener and nsIWebBrowser::addListener to be addProgressListener and addWebBrowserListener respectively. This is to avoid confusing name conflicts. Implemented nsIWebBrowser::GetDocument() and nsIWebBrowser::GetDocShell().
git-svn-id: svn://10.0.0.236/trunk@51814 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:37:14 +00:00
tbogard%aol.net
254fe24a86 Removed nsIWebBrowserListener in favor of the new more generic nsIInterfaceRequestor. Added some interface boundary parameter validation. Added implementation for add and remove listener.
git-svn-id: svn://10.0.0.236/trunk@51813 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:26:57 +00:00
tbogard%aol.net
ac565dc536 Framed out nsWebBrowser implementation. Basically just added all the interface functions. Code now has a place to live.
git-svn-id: svn://10.0.0.236/trunk@51658 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 07:56:27 +00:00
tbogard%aol.net
1709ffcde6 Framed out nsWebBrowser. Added nsCWebBrowser definition. Setup to build library.
git-svn-id: svn://10.0.0.236/trunk@51493 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:35:18 +00:00