115 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
locka%iol.ie
dbfc30244c Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111568 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 13:01:38 +00:00
locka%iol.ie
8693f97742 Fix removes const keyword from the out param of nsIWebShell::GetURL and fixes a memory leak in viewer when it calls this method. b=102413 r=jaggernaut@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:08:30 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
rpotts%netscape.com
c308f45fce bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
git-svn-id: svn://10.0.0.236/trunk@99429 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:17:38 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
valeski%netscape.com
37012edc37 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
tbogard%aol.net
e6de54d6db Removed the methods dealing with the old session history that is going away.
git-svn-id: svn://10.0.0.236/trunk@66131 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:39 +00:00
tbogard%aol.net
8727537dfe Removed the remaining methods on nsIWebShellContainer as they are no longer used.
git-svn-id: svn://10.0.0.236/trunk@65625 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:27 +00:00
tbogard%aol.net
b902eb3de4 Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState, GetHistoryState and SetHistoryState as they shouldn't be called from the outside.
git-svn-id: svn://10.0.0.236/trunk@64918 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 01:19:26 +00:00
tbogard%aol.net
e85dbd5313 Removed all the LoadURL methods from the webshell API. Added a new API to allow loading for the old session history. This is needed until the new session history is online.
git-svn-id: svn://10.0.0.236/trunk@64819 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:29:36 +00:00
alecf%netscape.com
44574040c9 remove bogus nsIPref dependancies
git-svn-id: svn://10.0.0.236/trunk@64477 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:49:24 +00:00
pollmann%netscape.com
d5064110de Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63982 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:58 +00:00
tbogard%aol.net
d04edcaa2e Tweaked a comment to not mention nsIBrowserWindow which is going away.
git-svn-id: svn://10.0.0.236/trunk@62843 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:58:45 +00:00
tbogard%aol.net
08c48cc383 Removed Back(), Forward(), CanBack(), and CanForward(). People wanting to do these things can use the nsIWebNavigation interface.
git-svn-id: svn://10.0.0.236/trunk@62652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 12:00:33 +00:00
norris%netscape.com
732190b52e Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis


git-svn-id: svn://10.0.0.236/trunk@62618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:57:39 +00:00
tbogard%aol.net
bc326dd50f Remove Init, SetDocLoaderObserver, GetDocLoaderObserver, SetParent, GetParent, GetChildCount, AddChild, RemoveChild, ChildAt, GetName, SetName, FindChildWithName, SetChromeEventHandler, GetContentViewer, IsBusy, SetDocument, StopBeforeRequestingURL, StopAfterURLAvailable, GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight, SetZoom, GetZoom. These should no longer be used. The docShell APIs should be used intead.
git-svn-id: svn://10.0.0.236/trunk@62586 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:04:28 +00:00
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