// found in the LICENSE file.
chrome.app.runtime.onLaunched.addListener(function() {
-
- var screenWidth = screen.availWidth;
- var screenHeight = screen.availHeight;
- var width = 500;
- var height = 300;
-
- chrome.app.window.create('index.html', {
- bounds: {
- width: width,
- height: height,
- left: Math.round((screenWidth-width)/2),
- top: Math.round((screenHeight-height)/2)
- }
- });
+ chrome.app.window.create('index.html', {});
});
chrome.runtime.onSuspend.addListener(function() {