| OLD | NEW |
| 1 /** | 1 /** |
| 2 * This library provides entry points to the native Blink code which backs | 2 * This library provides entry points to the native Blink code which backs |
| 3 * up the dart:html library. | 3 * up the dart:html library. |
| 4 */ | 4 */ |
| 5 library dart.dom._blink; | 5 library dart.dom._blink; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:_internal' hide Symbol, deprecated; | 10 import 'dart:_internal' hide Symbol, deprecated; |
| (...skipping 8115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8126 | 8126 |
| 8127 static $previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Cal
lback_RESOLVER_STRING_0_"; | 8127 static $previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Cal
lback_RESOLVER_STRING_0_"; |
| 8128 } | 8128 } |
| 8129 | 8129 |
| 8130 class BlinkURL { | 8130 class BlinkURL { |
| 8131 // Generated overload resolver | 8131 // Generated overload resolver |
| 8132 static $createObjectUrl(blob_OR_source_OR_stream) { | 8132 static $createObjectUrl(blob_OR_source_OR_stream) { |
| 8133 if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null))
{ | 8133 if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null))
{ |
| 8134 return $_createObjectURL_1_Callback(blob_OR_source_OR_stream); | 8134 return $_createObjectURL_1_Callback(blob_OR_source_OR_stream); |
| 8135 } | 8135 } |
| 8136 if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream ==
null)) { | 8136 if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream ==
null)) { |
| 8137 return $_createObjectURL_2_Callback(blob_OR_source_OR_stream); | 8137 return $_createObjectURL_2_Callback(blob_OR_source_OR_stream); |
| 8138 } | 8138 } |
| 8139 if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream ==
null)) { | 8139 if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream ==
null)) { |
| 8140 return $_createObjectURL_3_Callback(blob_OR_source_OR_stream); | 8140 return $_createObjectURL_3_Callback(blob_OR_source_OR_stream); |
| 8141 } | 8141 } |
| 8142 throw new ArgumentError("Incorrect number or type of arguments"); | 8142 throw new ArgumentError("Incorrect number or type of arguments"); |
| 8143 } | 8143 } |
| 8144 | 8144 |
| 8145 static $_createObjectURL_1_Callback(blob_OR_source_OR_stream) native "URL_crea
teObjectURL_Callback_RESOLVER_STRING_1_Blob"; | 8145 static $_createObjectURL_1_Callback(blob_OR_source_OR_stream) native "URL_crea
teObjectURL_Callback_RESOLVER_STRING_1_Blob"; |
| 8146 | 8146 |
| 8147 static $_createObjectURL_2_Callback(blob_OR_source_OR_stream) native "URL_crea
teObjectURL_Callback_RESOLVER_STRING_1_MediaStream"; | 8147 static $_createObjectURL_2_Callback(blob_OR_source_OR_stream) native "URL_crea
teObjectURL_Callback_RESOLVER_STRING_1_MediaSource"; |
| 8148 | 8148 |
| 8149 static $_createObjectURL_3_Callback(blob_OR_source_OR_stream) native "URL_crea
teObjectURL_Callback_RESOLVER_STRING_1_MediaSource"; | 8149 static $_createObjectURL_3_Callback(blob_OR_source_OR_stream) native "URL_crea
teObjectURL_Callback_RESOLVER_STRING_1_MediaStream"; |
| 8150 | 8150 |
| 8151 static $createObjectUrlFromBlob_Callback(blob) native "URL_createObjectURL_Cal
lback_RESOLVER_STRING_1_Blob"; | 8151 static $createObjectUrlFromBlob_Callback(blob) native "URL_createObjectURL_Cal
lback_RESOLVER_STRING_1_Blob"; |
| 8152 | 8152 |
| 8153 static $createObjectUrlFromSource_Callback(source) native "URL_createObjectURL
_Callback_RESOLVER_STRING_1_MediaSource"; | 8153 static $createObjectUrlFromSource_Callback(source) native "URL_createObjectURL
_Callback_RESOLVER_STRING_1_MediaSource"; |
| 8154 | 8154 |
| 8155 static $createObjectUrlFromStream_Callback(stream) native "URL_createObjectURL
_Callback_RESOLVER_STRING_1_MediaStream"; | 8155 static $createObjectUrlFromStream_Callback(stream) native "URL_createObjectURL
_Callback_RESOLVER_STRING_1_MediaStream"; |
| 8156 | 8156 |
| 8157 static $revokeObjectURL_Callback(url) native "URL_revokeObjectURL_Callback_RES
OLVER_STRING_1_DOMString"; | 8157 static $revokeObjectURL_Callback(url) native "URL_revokeObjectURL_Callback_RES
OLVER_STRING_1_DOMString"; |
| 8158 | 8158 |
| 8159 static $hash_Getter(mthis) native "URL_hash_Getter"; | 8159 static $hash_Getter(mthis) native "URL_hash_Getter"; |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba
ck"; | 9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba
ck"; |
| 9504 | 9504 |
| 9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; | 9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; |
| 9506 | 9506 |
| 9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac
k"; | 9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac
k"; |
| 9508 | 9508 |
| 9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; | 9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; |
| 9510 | 9510 |
| 9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; | 9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; |
| 9512 } | 9512 } |
| OLD | NEW |