Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz

git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronl%netscape.com
2003-03-06 23:07:00 +00:00
parent 6da1f6876e
commit 60b1c05bf1
17 changed files with 133 additions and 43 deletions

View File

@@ -739,7 +739,7 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent,
if (aChromeMask & nsIWebBrowserChrome::CHROME_WINDOW_POPUP)
widgetInitData.mWindowType = eWindowType_popup;
widgetInitData.mContentType = nsIDocShellTreeItem::typeChrome;
widgetInitData.mContentType = eContentTypeUI;
// note default chrome overrides other OS chrome settings, but
// not internal chrome