97 Commits

Author SHA1 Message Date
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +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
ec93534c63 Removed RemoveFocus, Stop, Reload, and SetContentViewer as these functions are no longer called. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering
git-svn-id: svn://10.0.0.236/trunk@61581 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 04:15:48 +00:00
mscott%netscape.com
4ad088c4aa Bug #17468 --> LoadURL needs to pass around the window target for now.
r=travis


git-svn-id: svn://10.0.0.236/trunk@61104 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:29:50 +00:00
joki%netscape.com
70aa75bb28 Fix bug 4167. Fire unload event before all data is gone to allow action during event handlers. r:travis
git-svn-id: svn://10.0.0.236/trunk@60953 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 22:55:36 +00:00
tbogard%aol.net
f7b0f70b71 Removed unused method from the interface. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@60723 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 09:42:30 +00:00
tbogard%aol.net
e0a0579a3e Remove a number of now defunct methods on nsIWebShellContainer. And a couple more from nsIWebShell. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60467 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:29:02 +00:00
mscott%netscape.com
c155b4390b Remove nsIDocumentloader, nsIDocumentLoaderObserver from the builds. These files are now
in the uriloader
r=travis


git-svn-id: svn://10.0.0.236/trunk@59161 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:04:35 +00:00
hyatt%netscape.com
3766a506c1 Getting rid of createPopup.
git-svn-id: svn://10.0.0.236/trunk@59006 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:05:17 +00:00
tbogard%aol.net
2eedf1b9fc Removed GetWebShellType() form the API.
git-svn-id: svn://10.0.0.236/trunk@56255 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:12:46 +00:00
tbogard%aol.net
0d11af445e Started removing functions that should no longer be used. Call sites are now using the new docshell interfaces.
git-svn-id: svn://10.0.0.236/trunk@56172 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:24:45 +00:00
tbogard%aol.net
ead43e83c0 Put a couple of what were protected member functions of nsWebShell into the public API. This was needed during the period of rebuilding the webshell.
git-svn-id: svn://10.0.0.236/trunk@54717 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:32:42 +00:00
tbogard%aol.net
390f55af09 Changed GetDocumentLoaderObserver to return a ** instead of a *&. This is in sync with the nsIDocShell::GetDocumentLoaderObserver. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@54585 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:09:47 +00:00
tbogard%aol.net
54fb5586c4 Removed the const to reflect the fact that the implementation will return an allocated string, not a pointer to the internal string.
git-svn-id: svn://10.0.0.236/trunk@54486 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:08:42 +00:00
tbogard%aol.net
00600f316c Slight re-arrangement of some methods. Mainly just removed Set and GetURLDispatcher.
git-svn-id: svn://10.0.0.236/trunk@54404 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 09:39:58 +00:00
tbogard%aol.net
80ea367e86 Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt
git-svn-id: svn://10.0.0.236/trunk@54270 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 09:57:47 +00:00
buster%netscape.com
1e648d27d6 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


git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
mscott%netscape.com
00c26ba6bf Bug #14928 --> phase one of uri dispatching landing. add ability to get/set content listener parent on the webshell
r=travis


git-svn-id: svn://10.0.0.236/trunk@53851 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:06:07 +00:00
tbogard%aol.net
e2ce7a824b Removed nsIWebShell::GetRootWebShellEvenIfChrome(). Added nsIWebShell::GetTopLevelWindow(). Made GetRootWebShellEvenIfChrome implementation a protected member function.
git-svn-id: svn://10.0.0.236/trunk@53677 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:06:12 +00:00
tbogard%aol.net
b3fbe630a0 Moved GetContainer() from nsIContentViewerContainer to nsIWebShell. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53578 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 01:02:17 +00:00
buster%netscape.com
09ff79c694 added nsIWebShell::SetDocument, a new interface for loading a pre-fabricated content model
into a webshell synchronously.
This has NOT yet been reviewed, and is not yet used anywhere in the system.
I *will* get a formal code review before enabling it's use.  However, I want to get the code into
the tree because keeping my tree in synch is becoming a burden.


git-svn-id: svn://10.0.0.236/trunk@53269 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:32:13 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
norris%netscape.com
2c73987122 Expose referrer from web shell.
r=travis
needed for bug 11963.


git-svn-id: svn://10.0.0.236/trunk@51753 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:20:10 +00:00
rpotts%netscape.com
fa598b6cae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer.
git-svn-id: svn://10.0.0.236/trunk@49795 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:04:16 +00:00
nisheeth%netscape.com
bc496bb171 Changed the ifdef NS_DEBUG around webshell leak detection code to ifdef DETECT_WEBSHELL_LEAKS.
git-svn-id: svn://10.0.0.236/trunk@48718 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:24:20 +00:00
hyatt%netscape.com
bd258f4733 chrome event stuff
git-svn-id: svn://10.0.0.236/trunk@48457 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:02:29 +00:00
vidur%netscape.com
dabd4470bb Document referrer propagation through webshell and docloader.
git-svn-id: svn://10.0.0.236/trunk@47912 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:26:02 +00:00
mscott%netscape.com
4dd35ce8ac Support LoadURI which is a new method on the webshell which takes a nsIURI. This is part of a webshell optimization
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.


git-svn-id: svn://10.0.0.236/trunk@46294 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:59:21 +00:00
danm%netscape.com
ca4da0e009 implemented intrinsic sizing method on DOM Window
git-svn-id: svn://10.0.0.236/trunk@45954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:41:56 +00:00
radha%netscape.com
8bb87d2184 Hook up session history with the history state object.
Let LoadURL() accept a historystate as an argument


git-svn-id: svn://10.0.0.236/trunk@45753 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:39:01 +00:00
nisheeth%netscape.com
b1122815d6 - Added a setter for history state to nsIWebShell. The history state should be set before loading a document on which state needs to be restored. If the history state is set, the webshell will set that history state on the pres shell inside nsWebShell::Embed() once the document viewer has been created.
git-svn-id: svn://10.0.0.236/trunk@45352 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:49:21 +00:00
nisheeth%netscape.com
4c052abfbd Added a GetHistoryState method to be use by session history to ask layout for
the current document's state.


git-svn-id: svn://10.0.0.236/trunk@45215 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:45:46 +00:00
scc%netscape.com
2f011da6a6 added a declaration for a global function that reports the number of webshells that have been created but have not yet been destroyed
git-svn-id: svn://10.0.0.236/trunk@44814 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 12:32:18 +00:00
valeski%netscape.com
be8bf3fd76 api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).


git-svn-id: svn://10.0.0.236/trunk@42245 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:28:30 +00:00
mcafee%netscape.com
7ff5fdfced Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
git-svn-id: svn://10.0.0.236/trunk@42013 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:51:41 +00:00
dcone%netscape.com
7a807b9a02 Added a IsBusy() method.
git-svn-id: svn://10.0.0.236/trunk@39529 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:22:06 +00:00
radha%netscape.com
8d60274f97 Add set/get urldispatcher functions
git-svn-id: svn://10.0.0.236/trunk@38332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 23:38:56 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
pinkerton%netscape.com
19f8e2d3b8 Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well.
git-svn-id: svn://10.0.0.236/trunk@37587 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:07:41 +00:00
warren%netscape.com
2fd605cc6f Last of the necko ifdefs. Now we link with necko.
git-svn-id: svn://10.0.0.236/trunk@37169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:35:57 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
radha%netscape.com
2ed23c55c0 Few new methods to support session history
git-svn-id: svn://10.0.0.236/trunk@35217 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:10:41 +00:00
hyatt%netscape.com
5b2065032e Altering the args for createPopup.
git-svn-id: svn://10.0.0.236/trunk@34389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:36:06 +00:00
nhotta%netscape.com
bd54474c8c Added force character set.
git-svn-id: svn://10.0.0.236/trunk@33079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:31:55 +00:00
hyatt%netscape.com
6c7b70d9cf Web shells now know about their enclosed chrome shell.
git-svn-id: svn://10.0.0.236/trunk@32962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:05:27 +00:00
ftang%netscape.com
f55cd93707 add method to push necessary informaiton to implement Meta charset observeration
git-svn-id: svn://10.0.0.236/trunk@32186 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:23:03 +00:00
hyatt%netscape.com
6327895932 Added an arg to createPopup.
git-svn-id: svn://10.0.0.236/trunk@31841 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:52:02 +00:00
hyatt%netscape.com
502c1e7de2 Adding a method to the webshell container for creating popup/context menus.
git-svn-id: svn://10.0.0.236/trunk@31678 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:40:03 +00:00