| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 'use strict'; |
| 8 |
| 7 function onLaunched(launchData) { | 9 function onLaunched(launchData) { |
| 8 chrome.app.window.create('Xsdl.html', { | 10 chrome.app.window.create('Xsdl.html', { |
| 9 width: 1024, | 11 width: 1024, |
| 10 height: 768, | 12 height: 768, |
| 11 minWidth: 1024, | 13 minWidth: 1024, |
| 12 minHeight: 768, | 14 minHeight: 768, |
| 13 maxWidth: 1024, | 15 maxWidth: 1024, |
| 14 maxHeight: 768, | 16 maxHeight: 768, |
| 15 id: 'Xsdl', | 17 id: 'Xsdl', |
| 16 }); | 18 }); |
| 17 } | 19 } |
| 18 | 20 |
| 19 chrome.app.runtime.onLaunched.addListener(onLaunched); | 21 chrome.app.runtime.onLaunched.addListener(onLaunched); |
| OLD | NEW |