Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: tools/dom/templates/html/dartium/html_dartium.darttemplate

Issue 252993004: Provide table of wrapper types for dart:blink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 * Spawn a DOM isolate using the given URI in the same window. 132 * Spawn a DOM isolate using the given URI in the same window.
133 * This isolate is not concurrent. It runs on the browser thread 133 * This isolate is not concurrent. It runs on the browser thread
134 * with full access to the DOM. 134 * with full access to the DOM.
135 * Note: this API is still evolving and may move to dart:isolate. 135 * Note: this API is still evolving and may move to dart:isolate.
136 */ 136 */
137 @Experimental() 137 @Experimental()
138 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { 138 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
139 // TODO(17738): Plumb arguments and return value through. 139 // TODO(17738): Plumb arguments and return value through.
140 return _Utils.spawnDomUri(uri.toString()); 140 return _Utils.spawnDomUri(uri.toString());
141 } 141 }
142 $if DART_USE_BLINK
143 // FIXME: This should be generated.
144 const _typeMap = const {
145 'EventTarget': EventTarget,
146 'Window': Window,
147 'Element': Element,
148 'Console': Console,
149 'Node': Node,
150 'Document': Document,
151 'HTMLElement': HtmlElement,
152 'HTMLCanvasElement': CanvasElement,
153 'HTMLDocument': HtmlDocument,
154 };
155
156 Type _getType(String key) {
157 if (!_typeMap.containsKey(key))
158 return null;
159 return _typeMap[key];
160 }
161 $endif
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698