Commit Graph

27 Commits

Author SHA1 Message Date
danm%netscape.com
45b13b6cd8 reenabling disabling of modal window's parent, inexplicably removed in rev 1.21. bugs 30633, 33129
git-svn-id: svn://10.0.0.236/trunk@64287 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:53:43 +00:00
scc%netscape.com
c49195ca12 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:05:32 +00:00
tbogard%aol.net
d31f977574 Now when we want to tell the XUL Window of changes in progress, or status or overlink we use the new nsIDOMWindow::GetXPConnectObject functionality. This replaces our need for the broadcaster observer stuff along with the expensive setAttribute calls.
git-svn-id: svn://10.0.0.236/trunk@63985 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:46:15 +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
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
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
01b23c9940 hide while destroying. prevents bad messages from getting to partially dead window. bug 28241
git-svn-id: svn://10.0.0.236/trunk@61771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 22:34:18 +00:00
danm%netscape.com
e499ee9d76 re-enable parent window of modal dialog before dialog is destroyed. part of bug 28467. r=saari a=jar
git-svn-id: svn://10.0.0.236/trunk@61643 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 03:11:21 +00:00
tbogard%aol.net
d84e9b9e81 Pass true to repaint when resizing the outer window to fit the content. Fix for 28985. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@61552 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:16:08 +00:00
tbogard%aol.net
4a3661ba6f Added the implementation for FocusAvailable. Added implementation for the new intrinsicSizing attribute. Moved over the NotifyObservers() call from nsWebShellWindow. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60697 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 06:13:12 +00:00
saari%netscape.com
fe0210cefd more focus changes
git-svn-id: svn://10.0.0.236/trunk@60538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:51:53 +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
606f758537 The XULWindow object can get destroyed during the closing of a window, thus our loop would not have access to the mContinueLoop. We internally bump the ref on ourselves to ensure that while in the loop the object stays valid. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@60150 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 20:20:33 +00:00
tbogard%aol.net
56b415d734 Fixed crash when dismissing modal dialogs. r=mscott
git-svn-id: svn://10.0.0.236/trunk@60147 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 18:57:02 +00:00
tbogard%aol.net
b4ffd30485 We were checking against TRUE on the return rather than NS_SUCCEEDED(). Fix for bug #26974. Good catch by Putterman.
git-svn-id: svn://10.0.0.236/trunk@60146 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 18:45:55 +00:00
tbogard%aol.net
287b76905f Ooops, XULWindow doesn't implement nsIDocumentObserver. Commented it out for now and moved the removal of the observer back to webshellwindow. This should fix the mac build.
git-svn-id: svn://10.0.0.236/trunk@60144 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 16:14:55 +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
tbogard%aol.net
361eb02039 Implemented GetPosition, SetSize, GetSize, and SetPositionAndSize. Added and stubbed out SizeShellTo, ShowModal and GetNewBrowserChrome. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@59839 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:26:35 +00:00
vidur%netscape.com
8db46127ff Fix for bug 26115. Missing addref in nsXULWindow::GetDocShell. r=travis
git-svn-id: svn://10.0.0.236/trunk@59589 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 01:01:31 +00:00
tbogard%aol.net
e97230d779 The default content tree owner now has a separation of primary versus normal content areas. Primary areas are the only content areas that actually react to and set the title.
git-svn-id: svn://10.0.0.236/trunk@59217 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 07:29:38 +00:00
tbogard%aol.net
9fa00088e1 Fixed the order in which the main docShell is released against when the content shells are released. The content shells are held onto until after the main docShell is released so the content shells can still be grabbed.
git-svn-id: svn://10.0.0.236/trunk@59187 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 11:08:21 +00:00
pepper%netscape.com
9fdb77655c All source files must contain a newline at the end of some unix builds fail.
git-svn-id: svn://10.0.0.236/trunk@58898 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:13:00 +00:00
tbogard%aol.net
1381b76423 Made the destructor virtual. Added ContentShellAdded notification to nsXULWindow.
git-svn-id: svn://10.0.0.236/trunk@58892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:59:42 +00:00
tbogard%aol.net
6f82688de4 nsXULWindow now maintains a list of content shells. Implemented GetPrimaryContentShell() and GetContentShellById(). [Not hooked to the build]
git-svn-id: svn://10.0.0.236/trunk@58634 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 21:59:31 +00:00
tbogard%aol.net
f37b468c2f First check in for nsXULWindow, nsContentTreeOwner and nsChromeTreeOwner. These collectively serve as the eventual replacement for nsWebShellWindow. (This is not hooked to the build).
git-svn-id: svn://10.0.0.236/trunk@58383 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 03:15:41 +00:00