mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
Bug 759619. Center webapp on screen on first run, and persist size and position values afterwards. r=myk
This commit is contained in:
parent
c4d15f545f
commit
d47c4920d4
@ -21,7 +21,7 @@ CommandLineHandler.prototype = {
|
||||
Services.ww.openWindow(null,
|
||||
"chrome://webapprt/content/webapp.xul",
|
||||
"_blank",
|
||||
"chrome,dialog=no,resizable,scrollbars",
|
||||
"chrome,dialog=no,resizable,scrollbars,centerscreen",
|
||||
[]);
|
||||
|
||||
// Initialize window-independent handling of webapps- notifications
|
||||
|
@ -14,8 +14,11 @@
|
||||
]>
|
||||
|
||||
<window windowtype="webapprt:webapp"
|
||||
id="webapprt-window"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
width="1024" height="768">
|
||||
width="1024" height="768"
|
||||
persist="screenX screenY width height sizemode"
|
||||
>
|
||||
|
||||
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
|
||||
<script type="application/javascript" src="chrome://webapprt/content/webapp.js"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user