OLD | NEW |
1 /** | 1 /** |
2 * Listens for the app launching then creates the window | 2 * Listens for the app launching then creates the window |
3 * | 3 * |
4 * @see http://developer.chrome.com/trunk/apps/app.runtime.html | 4 * @see http://developer.chrome.com/trunk/apps/app.runtime.html |
5 * @see http://developer.chrome.com/trunk/apps/app.window.html | 5 * @see http://developer.chrome.com/trunk/apps/app.window.html |
6 */ | 6 */ |
7 chrome.app.runtime.onLaunched.addListener(function() { | 7 chrome.app.runtime.onLaunched.addListener(function() { |
8 chrome.app.window.create('main.html', | 8 chrome.app.window.create('index.html', |
9 {width: 480, height: 225}); | 9 {top:0, left: 0, width: 900, height: 800}); |
10 }); | 10 }); |
OLD | NEW |