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

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

Issue 207653002: Native entry point for spawnDomUri (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment Created 6 years, 9 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 /** 111 /**
112 * Root node for all content in a web page. 112 * Root node for all content in a web page.
113 */ 113 */
114 HtmlDocument get document { 114 HtmlDocument get document {
115 if (_document != null) { 115 if (_document != null) {
116 return _document; 116 return _document;
117 } 117 }
118 _document = window.document; 118 _document = window.document;
119 return _document; 119 return _document;
120 } 120 }
121
122 /**
123 * Spawn a DOM isolate using the given URI in the same window.
124 * This isolate is not concurrent. It runs on the browser thread
125 * with full access to the DOM.
126 * Note: this API is still evolving and may move to dart:isolate.
127 */
128 @Experimental()
129 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
Siggi Cherem (dart-lang) 2014/03/24 16:51:56 should we add this API also to the html/common or
vsm 2014/03/24 21:52:57 Good point. I'll do that in a follow-up CL. On 2
130 // TODO(vsm): Plumb arguments and return value through.
131 return _Utils.spawnDomUri(uri.toString());
132 }
OLDNEW
« tools/dom/src/native_DOMImplementation.dart ('K') | « tools/dom/src/native_DOMImplementation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698