summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/resources/background.js
blob: 1fc5a19b3ac8722945ca5283e58162ac9ccaa4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

function onLaunched(launchData) {
  chrome.app.window.create('index.html', {
    width: 1024,
    height: 800,
    frame: 'none'
  });
}

chrome.app.runtime.onLaunched.addListener(onLaunched);