// 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; | |
}); | |
}); |