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 - unless you are editing documentation as per: | 5 // DO NOT EDIT - unless you are editing documentation as per: |
6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
7 // Auto-generated dart:html library. | 7 // Auto-generated dart:html library. |
8 | 8 |
9 /** | 9 /** |
10 * HTML elements and other resources for web-based applications that need to | 10 * HTML elements and other resources for web-based applications that need to |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 factory HtmlElement() { throw new UnsupportedError("Not supported"); } | 125 factory HtmlElement() { throw new UnsupportedError("Not supported"); } |
126 | 126 |
127 /** | 127 /** |
128 * Constructor instantiated by the DOM when a custom element has been created. | 128 * Constructor instantiated by the DOM when a custom element has been created. |
129 * | 129 * |
130 * This can only be called by subclasses from their created constructor. | 130 * This can only be called by subclasses from their created constructor. |
131 */ | 131 */ |
132 HtmlElement.created() : super.created(); | 132 HtmlElement.created() : super.created(); |
133 } | 133 } |
134 | 134 |
135 // EntryArray type was removed, so explicitly adding it to allow support for | |
136 // older Chrome versions. | |
137 // Issue #12573. | |
138 @Native("EntryArray") | |
139 abstract class _EntryArray implements List<Entry> {} | |
140 | |
141 /** | 135 /** |
142 * Spawn a DOM isolate using the given URI in the same window. | 136 * Spawn a DOM isolate using the given URI in the same window. |
143 * This isolate is not concurrent. It runs on the browser thread | 137 * This isolate is not concurrent. It runs on the browser thread |
144 * with full access to the DOM. | 138 * with full access to the DOM. |
145 * Note: this API is still evolving and may move to dart:isolate. | 139 * Note: this API is still evolving and may move to dart:isolate. |
146 */ | 140 */ |
147 @Experimental() | 141 @Experimental() |
148 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { | 142 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { |
149 // TODO(17738): Implement this. | 143 // TODO(17738): Implement this. |
150 throw new UnimplementedError(); | 144 throw new UnimplementedError(); |
151 } | 145 } |
152 | 146 |
153 createCustomUpgrader(Type customElementClass, $this) => $this; | 147 createCustomUpgrader(Type customElementClass, $this) => $this; |
OLD | NEW |