106 Commits

Author SHA1 Message Date
tbogard%aol.net
b07f35a6c6 Close now simply calls destroy. nsWebShellWindow now has a subclass for Destroy which does everything that Close use to do. Removed all the implementation of nsIWebShellContainer methods that went away.
git-svn-id: svn://10.0.0.236/trunk@65629 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:50 +00:00
danm%netscape.com
d72876c011 adding events to constrain z-level
git-svn-id: svn://10.0.0.236/trunk@64900 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:13:46 +00:00
tbogard%aol.net
bb30d7f409 SetJSStatus, SetJSDefaultStatus and SetOverLink now poke a DOM attribute on element WebBrowserChrome in the xul window if one exists. Renamed nsXULWindow::GetDOMElementFromDocShell to be nsXULWindow::GetWindowDOMElement. This cleans up having to pass in the same docShell over and over and make it mean more of what it is. Added a nsXULWindow::GetElementById which returns an element of the specified id within the xul window. nsContentTreeOwner doesn't need to cache the defaultStatus. nsWebShellWindow doesn't need to call ExecutStartupCode anymore as that was only there for nsIXULWindowCallbacks code which is gone. nsWebShellWindow doesn't need to cache mStatus or mDefaultStatus.
git-svn-id: svn://10.0.0.236/trunk@63143 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:45:26 +00:00
tbogard%aol.net
d70cb1282d No longer implement the nsIBrowserWindow interface. Changed nsIDocumentLoaderObserver declarations to use the XPIDL generated macro.
git-svn-id: svn://10.0.0.236/trunk@62603 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:26:36 +00:00
danm%netscape.com
2fed3ce184 persist size only when window is not minimized or maximized. bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62437 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:00:20 +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
tbogard%aol.net
7475e9b9b5 Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering
git-svn-id: svn://10.0.0.236/trunk@61907 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 22:03:49 +00:00
tbogard%aol.net
13b61ed851 Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering
git-svn-id: svn://10.0.0.236/trunk@61816 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 00:20:55 +00:00
danm%netscape.com
6d36c897b0 move all functional modal window code into nsXULWindow. part of bug 28467. r=saari a=jar
git-svn-id: svn://10.0.0.236/trunk@61642 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 03:11:13 +00:00
danm%netscape.com
b35cd8548b tree-closure bug 29094 -- A tricky condition involving relative timing of size and position events seems to have surfaced. This patch should sort them out.
git-svn-id: svn://10.0.0.236/trunk@61608 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 21:16:16 +00:00
tbogard%aol.net
f7d74018af Removed unused legacy function that is never called. Put an assert in place for people calling the old ShowModally, this is never called, but this will prevent new people from calling until it can be completely removed. r=danm.
git-svn-id: svn://10.0.0.236/trunk@61554 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:39:31 +00:00
danm%netscape.com
915246287d putting size and position persistence on a timer to ease chunky movement. r=scc a=jar
git-svn-id: svn://10.0.0.236/trunk@61500 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:07:31 +00:00
danm%netscape.com
686bfccd17 reinstate recently removed disabling of modal window's parent. bug 19221. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60807 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 05:06:08 +00:00
tbogard%aol.net
3412db77ba Removed unused GetPresShell(). Rely on nsXULWindow for the implmentation of SetIntrinsicSizing. SetStatus now flows through the nsXULWindow content tree owner. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60701 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 06:19:18 +00:00
tbogard%aol.net
d4df97746a Remove methods that are no longer needed to implement nsIWebShellContainer. Removed the local chrome mask member variable and moved it into relying on the base class. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60469 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:32:01 +00:00
tbogard%aol.net
767c8e2c5f Moved the loading of the Title, Position and size from XUL into nsXULWindow from WebShellWindow. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60304 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:47:24 +00:00
tbogard%aol.net
255343d588 Clear the intrinsic sizing after we have already sized the window. Fixes bug #26976.
git-svn-id: svn://10.0.0.236/trunk@60154 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 21:29:00 +00:00
tbogard%aol.net
c416db8338 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00
hyatt%netscape.com
2775735cc9 Getting rid of createPopup
git-svn-id: svn://10.0.0.236/trunk@59005 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:04:40 +00:00
tbogard%aol.net
e3847f7d5e Make nsWebShellWindow subclass from nsXULWindow. This paves the way for nsWebShellWindow to be replaced by nsXULWindow. Much of the work in nsWebShellWindow is put ontop of the nsXULWindow.
git-svn-id: svn://10.0.0.236/trunk@58703 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:21:42 +00:00
danm%netscape.com
6fcf2e6c80 kill persistence of browser window size for popups. bug 15555. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57894 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:33:14 +00:00
danm%netscape.com
7a7f26e1b4 save/restore size & position as XUL tags. bug 15775. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57738 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:51:01 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
danm%netscape.com
22cd501286 hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54951 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:38:06 +00:00
tbogard%aol.net
bf4ceb4a12 Removed const from GetTitle to get in sync with API.
git-svn-id: svn://10.0.0.236/trunk@54491 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:24:43 +00:00
tbogard%aol.net
dddce8c3b5 Removed implementation of nsIURLDispatcher. Changed the QI into a new interface map.
git-svn-id: svn://10.0.0.236/trunk@54408 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 10:04:13 +00:00
tbogard%aol.net
a9a3650565 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow().
git-svn-id: svn://10.0.0.236/trunk@53676 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:05:21 +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
davidm%netscape.com
16e407c7ff 12539 Crash when quitting browser while bookmark properties dialog
r = saari
 nsINetPrompt implementation
r morse


git-svn-id: svn://10.0.0.236/trunk@52677 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:25:21 +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
danm%netscape.com
d5cb9410ae moving initial content focus from OnEndDocumentLoad to Show. Reinstating SetSizeFromXUL. reduces new window flashing and allows gtk windows to size from JS. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@52036 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:52:49 +00:00
danm%netscape.com
8e456a4690 moving Push/PopThreadEventQueue to nsIEventQueueService r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50988 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 15:04:18 +00:00
peterl%netscape.com
e8a5d2e937 Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50889 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:17:53 +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
mccabe%netscape.com
afea99f4a0 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.


git-svn-id: svn://10.0.0.236/trunk@44096 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:52:07 +00:00
hyatt%netscape.com
1b3d134a9d Disabling the old popup code. The new popup code will be coming online
soon.


git-svn-id: svn://10.0.0.236/trunk@43710 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:11:12 +00:00
danm%netscape.com
0d2f1b579b disable browser appcore's load of default page for new windows created by NewWebShell. fixes bug 11404. a:cyeh@netscape.com
git-svn-id: svn://10.0.0.236/trunk@43373 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-16 22:23:19 +00:00
danm%netscape.com
caf895916f Landing modal dialogs from JS. More like a feature than stabilization. Apologies. approved: chofmann,don
git-svn-id: svn://10.0.0.236/trunk@43260 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:08:17 +00:00
davidm%netscape.com
5bf7574604 Remove #ifndef NECKO around the alert and replace nsINetSupport with nsIPrompt
git-svn-id: svn://10.0.0.236/trunk@43132 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:05:25 +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
hyatt%netscape.com
1894d2f222 Doing a little bit of cleanup on the webshell window.
git-svn-id: svn://10.0.0.236/trunk@41744 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:48:28 +00:00
davidm%netscape.com
8a803e5294 #if def out the code so NECKO doesn't break
git-svn-id: svn://10.0.0.236/trunk@41413 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 03:37:30 +00:00
davidm%netscape.com
c8c8f0bdb1 4279 [FEATURE] JavaScript Alert dialogs
git-svn-id: svn://10.0.0.236/trunk@41400 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 02:52:14 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
danm%netscape.com
3967f2f182 removing IsMenuBarVisible -- it was a mistake, and unused
git-svn-id: svn://10.0.0.236/trunk@40741 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:41:50 +00:00
danm%netscape.com
c440919d70 make window.open windows visible
git-svn-id: svn://10.0.0.236/trunk@40421 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 06:37:58 +00:00
danm%netscape.com
ab9d108d7b adding initial hidden window to AppRunner
git-svn-id: svn://10.0.0.236/trunk@40286 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 14:40:55 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
hyatt%netscape.com
8e4c877052 Fixing redraw problems on initial show of window
git-svn-id: svn://10.0.0.236/trunk@38734 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:33:26 +00:00
hyatt%netscape.com
f7fc69df54 Trying to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@38408 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 18:53:41 +00:00