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

Side by Side Diff: lib/dom/templates/html/dart2js/html_dart2js.darttemplate

Issue 10828411: Re-apply 'Unify dart:isolate.' with fixes for autogenerated dart2js and dartium html files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review fixes. Created 8 years, 4 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 | « lib/config/import_vm.config ('k') | lib/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | 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 #library('dart:html'); 8 #library('dart:html');
9 9
10 #import('dart:isolate'); 10 #import('dart:isolate');
(...skipping 13 matching lines...) Expand all
24 #source('../../html/src/shared_FactoryProviders.dart'); 24 #source('../../html/src/shared_FactoryProviders.dart');
25 #source('../../html/src/dart2js_DOMImplementation.dart'); 25 #source('../../html/src/dart2js_DOMImplementation.dart');
26 #source('../../html/src/dart2js_FactoryProviders.dart'); 26 #source('../../html/src/dart2js_FactoryProviders.dart');
27 #source('../../html/src/dart2js_IDBKeyRangeFactoryProvider.dart'); 27 #source('../../html/src/dart2js_IDBKeyRangeFactoryProvider.dart');
28 #source('../../html/src/dart2js_LocationWrapper.dart'); 28 #source('../../html/src/dart2js_LocationWrapper.dart');
29 #source('../../dom/src/dart2js_TypedArrayFactoryProvider.dart'); 29 #source('../../dom/src/dart2js_TypedArrayFactoryProvider.dart');
30 #source('../../html/src/_Testing.dart'); 30 #source('../../html/src/_Testing.dart');
31 #source('../../html/src/Device.dart'); 31 #source('../../html/src/Device.dart');
32 #source('../../dom/src/_ListIterators.dart'); 32 #source('../../dom/src/_ListIterators.dart');
33 #source('../../dom/src/_Lists.dart'); 33 #source('../../dom/src/_Lists.dart');
34 #source('../../isolate/serialization.dart'); 34 #source('../../js_isolate_impl/isolate.dart');
35 35
36 36
37 Window get window() native "return window;"; 37 Window get window() native "return window;";
38 _WindowImpl get _window() native "return window;"; 38 _WindowImpl get _window() native "return window;";
39 39
40 Document get document() native "return document;"; 40 Document get document() native "return document;";
41 41
42 _DocumentImpl get _document() native "return document;"; 42 _DocumentImpl get _document() native "return document;";
43 43
44 Element query(String selector) => _document.query(selector); 44 Element query(String selector) => _document.query(selector);
(...skipping 12 matching lines...) Expand all
57 return window.$dart$isolate$counter++; 57 return window.$dart$isolate$counter++;
58 '''; 58 ''';
59 59
60 // Fast path to invoke JS send port. 60 // Fast path to invoke JS send port.
61 _callPortSync(int id, message) { 61 _callPortSync(int id, message) {
62 return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message); 62 return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message);
63 } 63 }
64 64
65 // TODO(vsm): Plumb this properly. 65 // TODO(vsm): Plumb this properly.
66 spawnDomFunction(f) => spawnFunction(f); 66 spawnDomFunction(f) => spawnFunction(f);
OLDNEW
« no previous file with comments | « lib/config/import_vm.config ('k') | lib/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698