| 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 |
| 7 'use strict'; |
| 8 |
| 6 var width = 1140; | 9 var width = 1140; |
| 7 var height = 810; | 10 var height = 810; |
| 8 | 11 |
| 9 function onLaunched(launchData) { | 12 function onLaunched(launchData) { |
| 10 chrome.app.window.create('Xsdl.html', { | 13 chrome.app.window.create('Xsdl.html', { |
| 11 width: width, | 14 width: width, |
| 12 height: height, | 15 height: height, |
| 13 minWidth: width, | 16 minWidth: width, |
| 14 minHeight: height, | 17 minHeight: height, |
| 15 maxWidth: width, | 18 maxWidth: width, |
| 16 maxHeight: height, | 19 maxHeight: height, |
| 17 id: 'Xsdl', | 20 id: 'Xsdl', |
| 18 }); | 21 }); |
| 19 } | 22 } |
| 20 | 23 |
| 21 chrome.app.runtime.onLaunched.addListener(onLaunched); | 24 chrome.app.runtime.onLaunched.addListener(onLaunched); |
| OLD | NEW |