Bug 26029; add CHROME_WINDOW_MIN flag to enable minimizable dialog windows (and use that for download progress dialogs); r=danm sr=alecf a=asa

git-svn-id: svn://10.0.0.236/trunk@89731 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
law%netscape.com
2001-03-17 00:30:38 +00:00
parent 0e5da4adda
commit 7dd64f83ed
5 changed files with 11 additions and 2 deletions

View File

@@ -1037,6 +1037,8 @@ PRUint32 nsWindowWatcher::CalculateChromeFlags(const char *aFeatures,
? nsIWebBrowserChrome::CHROME_SCROLLBARS : 0;
chromeFlags |= WinHasOption(aFeatures, "resizable", 0, &presenceFlag)
? nsIWebBrowserChrome::CHROME_WINDOW_RESIZE : 0;
chromeFlags |= WinHasOption(aFeatures, "minimizable", 0, &presenceFlag)
? nsIWebBrowserChrome::CHROME_WINDOW_MIN : 0;
/* OK.
Normal browser windows, in spite of a stated pattern of turning off