Files
chrome-extensions-samples/apps/samples/diff/js/background.js
Sam Thorogood 8af19b8ca9 move
2020-12-04 09:18:01 +11:00

18 lines
401 B
JavaScript

/**
* Copyright (c) 2012 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('main.html', {
id: "diffWinID",
innerBounds: {
width: 1270,
height: 800
}
});
}
chrome.app.runtime.onLaunched.addListener(onLaunched);