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

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

Issue 56153005: Remove SendPortSync and ReceivePortSync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove third_party/pkg/js and dom/Serialization.dart Created 7 years, 1 month 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 - 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 part '$AUXILIARY_DIR/AttributeMap.dart'; 65 part '$AUXILIARY_DIR/AttributeMap.dart';
66 part '$AUXILIARY_DIR/CanvasImageSource.dart'; 66 part '$AUXILIARY_DIR/CanvasImageSource.dart';
67 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; 67 part '$AUXILIARY_DIR/CrossFrameTypes.dart';
68 part '$AUXILIARY_DIR/CssClassSet.dart'; 68 part '$AUXILIARY_DIR/CssClassSet.dart';
69 part '$AUXILIARY_DIR/CssRectangle.dart'; 69 part '$AUXILIARY_DIR/CssRectangle.dart';
70 part '$AUXILIARY_DIR/Dimension.dart'; 70 part '$AUXILIARY_DIR/Dimension.dart';
71 part '$AUXILIARY_DIR/EventListener.dart'; 71 part '$AUXILIARY_DIR/EventListener.dart';
72 part '$AUXILIARY_DIR/EventStreamProvider.dart'; 72 part '$AUXILIARY_DIR/EventStreamProvider.dart';
73 part '$AUXILIARY_DIR/Html5NodeValidator.dart'; 73 part '$AUXILIARY_DIR/Html5NodeValidator.dart';
74 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; 74 part '$AUXILIARY_DIR/ImmutableListMixin.dart';
75 part '$AUXILIARY_DIR/Isolates.dart';
76 part '$AUXILIARY_DIR/KeyCode.dart'; 75 part '$AUXILIARY_DIR/KeyCode.dart';
77 part '$AUXILIARY_DIR/KeyLocation.dart'; 76 part '$AUXILIARY_DIR/KeyLocation.dart';
78 part '$AUXILIARY_DIR/KeyName.dart'; 77 part '$AUXILIARY_DIR/KeyName.dart';
79 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; 78 part '$AUXILIARY_DIR/KeyboardEventStream.dart';
80 part '$AUXILIARY_DIR/NodeValidatorBuilder.dart'; 79 part '$AUXILIARY_DIR/NodeValidatorBuilder.dart';
81 part '$AUXILIARY_DIR/ReadyState.dart'; 80 part '$AUXILIARY_DIR/ReadyState.dart';
82 part '$AUXILIARY_DIR/Serialization.dart';
83 part '$AUXILIARY_DIR/WrappedEvent.dart'; 81 part '$AUXILIARY_DIR/WrappedEvent.dart';
84 part '$AUXILIARY_DIR/WrappedList.dart'; 82 part '$AUXILIARY_DIR/WrappedList.dart';
85 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; 83 part '$AUXILIARY_DIR/_HttpRequestUtils.dart';
86 part '$AUXILIARY_DIR/_ListIterators.dart'; 84 part '$AUXILIARY_DIR/_ListIterators.dart';
87 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; 85 part '$AUXILIARY_DIR/dart2js_Conversions.dart';
88 part '$AUXILIARY_DIR/dart2js_CustomElementSupport.dart'; 86 part '$AUXILIARY_DIR/dart2js_CustomElementSupport.dart';
89 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; 87 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart';
90 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; 88 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart';
91 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; 89 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart';
92 part '$AUXILIARY_DIR/dart2js_Platform.dart'; 90 part '$AUXILIARY_DIR/dart2js_Platform.dart';
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 * 122 *
125 * This can only be called by subclasses from their created constructor. 123 * This can only be called by subclasses from their created constructor.
126 */ 124 */
127 HtmlElement.created() : super.created(); 125 HtmlElement.created() : super.created();
128 } 126 }
129 127
130 // EntryArray type was removed, so explicitly adding it to allow support for 128 // EntryArray type was removed, so explicitly adding it to allow support for
131 // older Chrome versions. 129 // older Chrome versions.
132 // Issue #12573. 130 // Issue #12573.
133 abstract class _EntryArray implements List<Entry> native "EntryArray" {} 131 abstract class _EntryArray implements List<Entry> native "EntryArray" {}
134
135 // Support for Send/ReceivePortSync.
136 int _getNewIsolateId() {
137 if (JS('bool', r'!window.$dart$isolate$counter')) {
138 JS('void', r'window.$dart$isolate$counter = 1');
139 }
140 return JS('int', r'window.$dart$isolate$counter++');
141 }
142
143 // Fast path to invoke JS send port.
144 _callPortSync(int id, message) {
145 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
146 }
OLDNEW
« no previous file with comments | « tools/dom/src/native_DOMImplementation.dart ('k') | tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698