OLD | NEW |
---|---|
(Empty) | |
1 library chrome; | |
2 | |
3 // DO NOT EDIT | |
4 // Auto-generated dart:chrome library. | |
5 | |
6 | |
7 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8 // for details. All rights reserved. Use of this source code is governed by a | |
9 // BSD-style license that can be found in the LICENSE file. | |
10 | |
11 | |
12 | |
13 class ChromeApp { | |
14 ChromeWindow get window => new ChromeWindow._(); | |
15 } | |
16 | |
17 class ChromeWindow { | |
18 ChromeWindow._(); | |
19 | |
20 void create(String url) { | |
21 JS('void', 'chrome.app.window.create(#)'); | |
sashab
2013/01/17 02:56:47
Should be
JS('void', 'chrome.app.window.create(#
blois
2013/01/17 18:03:20
Yeah, dunno what happened to that- I had it workin
| |
22 } | |
23 } | |
24 | |
25 final app = new ChromeApp(); | |
OLD | NEW |