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:
@@ -589,6 +589,9 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent,
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
if (aChromeMask & nsIWebBrowserChrome::centerScreen)
|
||||
window->Center(nsnull, PR_TRUE, PR_FALSE);
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user