1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 * Listens for the app launching then creates the window
8 * @see http://developer.chrome.com/trunk/apps/app.runtime.html
9 * @see http://developer.chrome.com/trunk/apps/app.window.html
11 chrome.app.runtime.onLaunched.addListener(function() {
12 chrome.app.window.create('index.html',
13 {top:0, left: 0, width: 900, height: 800});