1 // Copyright 2014 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.
5 chrome.app.runtime.onLaunched.addListener(function() {
6 // TODO(kcarattini): Check if the app is already running. If so, bring it
7 // to focus rather than creating a new window.
9 // TODO(kcarattini): Don't show the window until the launch mode has been
11 chrome.app.window.create('main.html', {