summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/first_run/app/background.js
blob: 08cb158f78ebc3590cf3bb01916d1d18064c3f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 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.

chrome.app.runtime.onLaunched.addListener(function() {
  chrome.app.window.create('main.html', {
    'bounds': {
      'width': 800,
      'height': 555
    },
    'frame': 'none',
    'resizable': false,
  }, function(appWindow) {
    appWindow.contentWindow.appWindow = appWindow;
  });
});