Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 chrome.app.runtime.onLaunched.addListener(function() { | 5 chrome.app.runtime.onLaunched.addListener(function() { |
| 6 chrome.app.window.create('chrome://settings-frame/settings', { | 6 chrome.app.window.create('main.html', |
| 7 'height': 550, | 7 {id: 'minimal_id'}, |
| 8 'width': 640, | 8 function () {}); |
|
benwells
2012/10/24 03:24:08
Nit: You don't need the callback.
tapted
2012/10/24 04:03:57
Done.
| |
| 9 }); | |
| 10 }); | 9 }); |
| OLD | NEW |