| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * HTML elements and other resources for web-based applications that need to | 9 * HTML elements and other resources for web-based applications that need to |
| 10 * interact with the browser and the DOM (Document Object Model). | 10 * interact with the browser and the DOM (Document Object Model). |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 /** | 112 /** |
| 113 * Root node for all content in a web page. | 113 * Root node for all content in a web page. |
| 114 */ | 114 */ |
| 115 HtmlDocument get document { | 115 HtmlDocument get document { |
| 116 if (_document != null) { | 116 if (_document != null) { |
| 117 return _document; | 117 return _document; |
| 118 } | 118 } |
| 119 _document = window.document; | 119 _document = window.document; |
| 120 return _document; | 120 return _document; |
| 121 } | 121 } |
| 122 |
| 123 /** |
| 124 * Spawn a DOM isolate using the given URI in the same window. |
| 125 * This isolate is not concurrent. It runs on the browser thread |
| 126 * with full access to the DOM. |
| 127 * Note: this API is still evolving and may move to dart:isolate. |
| 128 */ |
| 129 @Experimental() |
| 130 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { |
| 131 // TODO(17738): Plumb arguments and return value through. |
| 132 return _Utils.spawnDomUri(uri.toString()); |
| 133 } |
| OLD | NEW |