| OLD | NEW |
| 1 library chrome; |
| 2 |
| 3 import 'dart:_foreign_helper' show JS; |
| 4 import 'dart:html_common'; |
| 5 import 'dart:html'; |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 7 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 8 // BSD-style license that can be found in the LICENSE file. |
| 4 | 9 |
| 5 // DO NOT EDIT | 10 // DO NOT EDIT |
| 6 // Auto-generated dart:chrome library. | 11 // Auto-generated dart:chrome library. |
| 7 | 12 |
| 8 library chrome; | |
| 9 | 13 |
| 10 import 'dart:_foreign_helper' show JS; | 14 |
| 11 import 'dart:html_common'; | 15 |
| 12 import 'dart:html'; | 16 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17 // for details. All rights reserved. Use of this source code is governed by a |
| 18 // BSD-style license that can be found in the LICENSE file. |
| 13 | 19 |
| 14 /** | 20 /** |
| 15 * A set of utilities for use with the Chrome Extension APIs. | 21 * A set of utilities for use with the Chrome Extension APIs. |
| 16 * | 22 * |
| 17 * Allows for easy access to required JS objects. | 23 * Allows for easy access to required JS objects. |
| 18 */ | 24 */ |
| 19 | 25 |
| 20 /** | 26 /** |
| 21 * A dart object, that is convertible to JS. Used for creating objects in dart, | 27 * A dart object, that is convertible to JS. Used for creating objects in dart, |
| 22 * then passing them to JS. | 28 * then passing them to JS. |
| (...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 callback(new AppWindow._proxy(created_window)); | 976 callback(new AppWindow._proxy(created_window)); |
| 971 } | 977 } |
| 972 | 978 |
| 973 JS("void", "#.create(#, #, #)", | 979 JS("void", "#.create(#, #, #)", |
| 974 this._jsObject, | 980 this._jsObject, |
| 975 url, | 981 url, |
| 976 convertArgument(options), | 982 convertArgument(options), |
| 977 convertDartClosureToJS(__proxy_callback, 1) | 983 convertDartClosureToJS(__proxy_callback, 1) |
| 978 ); | 984 ); |
| 979 } | 985 } |
| 980 } | 986 } |
| OLD | NEW |