Add id to chrome.window api to remember position and size

This commit is contained in:
Tankred Hase 2015-01-02 12:53:27 +01:00
parent bd327db4e8
commit 36b0096973
1 changed files with 4 additions and 3 deletions

View File

@ -10,9 +10,10 @@ chrome.app.runtime.onLaunched.addListener(function() {
// open chrome app in new window // open chrome app in new window
chrome.app.window.create('index.html', { chrome.app.window.create('index.html', {
'bounds': { id: '0',
'width': 1280, innerBounds: {
'height': 800 width: 1280,
height: 800
} }
}); });
}); });