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

Side by Side Diff: sdk/lib/_blink/dartium/_blink_dartium.dart

Issue 409053002: Use @Native annotation on dart2js DOM native classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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
OLDNEW
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 2151 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 static $mkFileReader() { 2162 static $mkFileReader() {
2163 return $_create_1constructorCallback(); 2163 return $_create_1constructorCallback();
2164 } 2164 }
2165 2165
2166 static $_create_1constructorCallback() native "FileReader_constructorCallback_ RESOLVER_STRING_0_"; 2166 static $_create_1constructorCallback() native "FileReader_constructorCallback_ RESOLVER_STRING_0_";
2167 2167
2168 static $error_Getter(mthis) native "FileReader_error_Getter"; 2168 static $error_Getter(mthis) native "FileReader_error_Getter";
2169 2169
2170 static $readyState_Getter(mthis) native "FileReader_readyState_Getter"; 2170 static $readyState_Getter(mthis) native "FileReader_readyState_Getter";
2171 2171
2172 static $result_Getter(mthis) native "FileReader_result_Getter";
2173
2174 static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRIN G_0_"; 2172 static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRIN G_0_";
2175 2173
2176 static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArray Buffer_Callback_RESOLVER_STRING_1_Blob"; 2174 static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArray Buffer_Callback_RESOLVER_STRING_1_Blob";
2177 2175
2178 static $readAsDataURL_Callback(mthis, blob) native "FileReader_readAsDataURL_C allback_RESOLVER_STRING_1_Blob"; 2176 static $readAsDataURL_Callback(mthis, blob) native "FileReader_readAsDataURL_C allback_RESOLVER_STRING_1_Blob";
2179 2177
2180 // Generated overload resolver 2178 // Generated overload resolver
2181 static $readAsText(mthis, blob, encoding) { 2179 static $readAsText(mthis, blob, encoding) {
2182 if (encoding != null) { 2180 if (encoding != null) {
2183 $_readAsText_1_Callback(mthis, blob, encoding); 2181 $_readAsText_1_Callback(mthis, blob, encoding);
(...skipping 7319 matching lines...) Expand 10 before | Expand all | Expand 10 after
9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck"; 9501 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck";
9504 9502
9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; 9503 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback";
9506 9504
9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k"; 9505 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k";
9508 9506
9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; 9507 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback";
9510 9508
9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; 9509 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback";
9512 } 9510 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698