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 // Patch file for the dart:isolate library. | 5 // Patch file for the dart:isolate library. |
6 | 6 |
7 import 'dart:_js_helper' show patch; | 7 import 'dart:_js_helper' show patch; |
8 import 'dart:_isolate_helper' show CapabilityImpl, | 8 import 'dart:_isolate_helper' show CapabilityImpl, |
9 CloseToken, | 9 CloseToken, |
10 IsolateNatives, | 10 IsolateNatives, |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 factory RawReceivePort([void handler(event)]) { | 142 factory RawReceivePort([void handler(event)]) { |
143 return new RawReceivePortImpl(handler); | 143 return new RawReceivePortImpl(handler); |
144 } | 144 } |
145 } | 145 } |
146 | 146 |
147 @patch | 147 @patch |
148 class Capability { | 148 class Capability { |
149 @patch | 149 @patch |
150 factory Capability() = CapabilityImpl; | 150 factory Capability() = CapabilityImpl; |
151 } | 151 } |
OLD | NEW |