hook up new 'centerscreen' chrome flag

git-svn-id: svn://10.0.0.236/trunk@65861 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
2000-04-13 20:32:30 +00:00
parent b5c40f47f1
commit 1006b9f5db
2 changed files with 5 additions and 0 deletions

View File

@@ -589,6 +589,9 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent,
#endif
}
if (aChromeMask & nsIWebBrowserChrome::centerScreen)
window->Center(nsnull, PR_TRUE, PR_FALSE);
}
return rv;