Saving Chrome app window position

This commit is contained in:
Igor Zhukov 2014-10-01 15:13:50 +04:00
parent f6f553c3d3
commit c10adc8d32

View File

@ -7,7 +7,9 @@
chrome.app.runtime.onLaunched.addListener(function(launchData) { chrome.app.runtime.onLaunched.addListener(function(launchData) {
chrome.app.window.create('../index.html', { chrome.app.window.create('../index.html', {
bounds: { id: 'webogram-chat',
hidden: true,
innerBounds: {
width: 1000, width: 1000,
height: 700 height: 700
}, },