48 Commits

Author SHA1 Message Date
danm%netscape.com
9eb95d4aed consolidating nsIWebBrowserChrome::CreateBrowserWindow and nsIWindowCreator::CreateChromeWindow. part of bug 88229 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@107382 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:19:39 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
dbaron%fas.harvard.edu
9a632e0396 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b Backing out unapproved checkin for bug 97227. a=brendan,blizzard
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
3d787fbce9 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
rbs%maths.uq.edu.au
8bf48cd4f6 Drop one tee from the XUL attribute 'contenttitlesettting' - Typo pointed out by brendan when reviewing the patch for bug 76567
git-svn-id: svn://10.0.0.236/trunk@93616 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 04:33:05 +00:00
dr%netscape.com
12c40e3a0c fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@93048 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 02:04:56 +00:00
ccarlen%netscape.com
d0cf8c7fff Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91893 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 18:30:25 +00:00
danm%netscape.com
bde610585a implement window.scrollbars.visible. bug 58539 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@90574 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:23:09 +00:00
locka%iol.ie
8daaabb0f2 Updated to use nsIEmbeddingSiteWindow, sr=blizzard@mozilla.org b=68581
git-svn-id: svn://10.0.0.236/trunk@89495 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 12:21:34 +00:00
danm%netscape.com
ac231cfe65 Removing IsModal,ShowModal,ExitModalLoop methods from nsIDocShellTreeOwner. General API cleanup. bug 70481 r=ccarlen,hyatt
git-svn-id: svn://10.0.0.236/trunk@89387 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:08:29 +00:00
danm%netscape.com
e5ef2c85a4 moving [GS]etPersistence from nsIWebBrowserChrome to nsIDocShellTreeOwner. embedding API review meeting made me do it. bug 69918 r=ccarlen,hyatt
git-svn-id: svn://10.0.0.236/trunk@89046 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:04:06 +00:00
danm%netscape.com
ec7aac0d73 teach GetInterface about nsIDOMWindow and nsIDocShellTreeItem. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87957 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:33:48 +00:00
locka%iol.ie
98d594c207 Fixed an issue where the current window had no primary content area and the tree owner went off searching for one in other windows via the windows mediator but forgot to addref the result. b=58639, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@87105 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:26:39 +00:00
danm%netscape.com
3918a72341 removing nsIWebBrowserChrome::FindNamedBrowserItem per 5 Feb 01 API review. functionality has been moved to nsDocShellTreeOwner. r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86480 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:59:43 +00:00
danm%netscape.com
f7c68cea67 new method IsModal. bug 56677 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@82446 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:16:29 +00:00
locka%iol.ie
0bec30a06f Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:09:51 +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
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
vidur%netscape.com
ffd0cb1a4e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski
git-svn-id: svn://10.0.0.236/trunk@74129 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:56:14 +00:00
bryner%uiuc.edu
0c97e4d4cb Moving persistence-related methods from nsIXULWindow to
nsIWebBrowserChrome as a basis for fixing bug 15555.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@72820 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:05:28 +00:00
warren%netscape.com
1958638f6c Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
scc%netscape.com
67560a359c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:19:06 +00:00
tbogard%aol.net
8f256d3ee5 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set.
git-svn-id: svn://10.0.0.236/trunk@64739 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:26:02 +00:00
tbogard%aol.net
9a8f7b8644 Changed the nsIXULBrowserWindow to distinguish between JS status and it's own status. Fixed bugs where pages that set the window.status wouldn't actually end up showing up correctly. Now status has a priority scheme where different status versus links etc take priority. Use the new interfaces on nsPIDOMWindow to get to the properties hanging off the js window object instead of the old separate list.
git-svn-id: svn://10.0.0.236/trunk@64683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:36:26 +00:00
tbogard%aol.net
8ecb08198f FindNamedBrowser is now FindNamedBrowserItem and deals with nsIDocShellTreeItems instead of nsIWebBrowser.
git-svn-id: svn://10.0.0.236/trunk@64355 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:54:25 +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
tbogard%aol.net
2a1ac4d9c8 Providing implementation for SetOverLink.
git-svn-id: svn://10.0.0.236/trunk@63104 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:01:57 +00:00
tbogard%aol.net
835feeed94 Updated paramaters to FindNamedBrowserChrome() and changed it to FindNamedBrowser() to reflect changes in the API.
git-svn-id: svn://10.0.0.236/trunk@63003 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:34:29 +00:00
tbogard%aol.net
391789552a Updated paramaters to GetNewBrowserChrome() and changed it to GetNewBrowser() to reflect changes in the API. Added new functions SizeBrowserTo() and ShowAsModal() that were added to the nsIWebBrowserChrome API.
git-svn-id: svn://10.0.0.236/trunk@62897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:06:07 +00:00
waterson%netscape.com
8c4d394eda Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering.
git-svn-id: svn://10.0.0.236/trunk@61333 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 00:56:13 +00:00
tbogard%aol.net
5f1e360589 The title is now only set on the window when the window has the contenttitlesetting="true" attribute. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60867 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 10:20:41 +00:00
tbogard%aol.net
503a11c3de Added implementation for SetJSStatus and SetJSDefaultStatus. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60699 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 06:15:35 +00:00
tbogard%aol.net
1256999190 Default to all chrome rather than no chrome. bug fix for 27354.
git-svn-id: svn://10.0.0.236/trunk@60466 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:21:15 +00:00
tbogard%aol.net
290cfd18f5 Fixed a bug where when targetting to a "_content" window from within a XUL window that did not have a browser window would not find an already open browser to target into. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60303 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:41:11 +00:00
tbogard%aol.net
70bb9191f1 Fixed it so prompts could come up. Was missing the ability to QI properly.
git-svn-id: svn://10.0.0.236/trunk@60143 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 16:11:10 +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
55975ee840 Added stub implementation for new methods nsIDocShellTreeOwner::SizeShellTo, and nsIDocShellTreeOwner::ShowModal. GetNewBrowserWindow calls into nsXULWindow to do the work. Implemented GetMainWidget, SetFocus, and FocusAvailable.
git-svn-id: svn://10.0.0.236/trunk@59838 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:26:12 +00:00
tbogard%aol.net
1b3ddbfdb1 Added implementation for GetPrimaryContentShell now that it was added to nsIDocShellTreeOwner. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59473 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 02:28:32 +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
12ff2e2039 Fixed bug where when the aRequestor was the tree owner of the docShell in a content shell list. It was not advancing checking to see if the list had more.
git-svn-id: svn://10.0.0.236/trunk@59188 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 11:15:15 +00:00
pepper%netscape.com
11048eb6c6 ALL files MUST have a newline at the end of certain unix builds will fail
git-svn-id: svn://10.0.0.236/trunk@58896 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:05:39 +00:00
tbogard%aol.net
31a4401b91 Implemented FindItemWithName(). Stubbed out many of the other functions that shouldn't be called with error conditions. Setup nsContentTreeOwner as the default treeowner when one is not already set.
git-svn-id: svn://10.0.0.236/trunk@58893 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:59:44 +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