OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 class Asset { | 5 patch class Asset { |
6 /// Call to request assets from the embedder. | 6 /// Call to request assets from the embedder. |
7 /* patch */ static HashMap<String, Asset> request() { | 7 /* patch */ static HashMap<String, Asset> request() { |
8 HashMap<String, Asset> assets = new HashMap<String, Asset>(); | 8 HashMap<String, Asset> assets = new HashMap<String, Asset>(); |
9 Uint8List tarBytes = _requestAssets(); | 9 Uint8List tarBytes = _requestAssets(); |
10 if (tarBytes == null) { | 10 if (tarBytes == null) { |
(...skipping 16 matching lines...) Expand all Loading... |
27 native "VMService_SendRootServiceMessage"; | 27 native "VMService_SendRootServiceMessage"; |
28 patch void sendObjectRootServiceMessage(List m) | 28 patch void sendObjectRootServiceMessage(List m) |
29 native "VMService_SendObjectRootServiceMessage"; | 29 native "VMService_SendObjectRootServiceMessage"; |
30 patch void _onStart() native "VMService_OnStart"; | 30 patch void _onStart() native "VMService_OnStart"; |
31 patch void _onExit() native "VMService_OnExit"; | 31 patch void _onExit() native "VMService_OnExit"; |
32 patch void onServerAddressChange(String address) | 32 patch void onServerAddressChange(String address) |
33 native "VMService_OnServerAddressChange"; | 33 native "VMService_OnServerAddressChange"; |
34 patch bool _vmListenStream(String streamId) native "VMService_ListenStream"; | 34 patch bool _vmListenStream(String streamId) native "VMService_ListenStream"; |
35 patch void _vmCancelStream(String streamId) native "VMService_CancelStream"; | 35 patch void _vmCancelStream(String streamId) native "VMService_CancelStream"; |
36 patch Uint8List _requestAssets() native "VMService_RequestAssets"; | 36 patch Uint8List _requestAssets() native "VMService_RequestAssets"; |
| 37 patch void _spawnUriNotify(obj, String token) |
| 38 native "VMService_spawnUriNotify"; |
OLD | NEW |