mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-04-03 14:39:37 +07:00
19 lines
447 B
JavaScript
19 lines
447 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', {
|
|
width: 1270,
|
|
height: 800
|
|
});
|
|
}
|
|
|
|
chrome.runtime.onInstalled.addListener(function() {
|
|
chrome.storage.local.set({});
|
|
});
|
|
|
|
chrome.experimental.app.onLaunched.addListener(onLaunched);
|