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
chrome.app.window.create('index.html', {
'bounds': {
'width': 1280,
'height': 800
id: '0',
innerBounds: {
width: 1280,
height: 800
}
});
});