| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _DataTransferItemWrappingImplementation extends DOMWrapperBase implements
DataTransferItem { | 7 class _DataTransferItemWrappingImplementation extends DOMWrapperBase implements
DataTransferItem { |
| 8 _DataTransferItemWrappingImplementation() : super() {} | 8 _DataTransferItemWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DataTransferItemWrappingImplementation() native { | 10 static create__DataTransferItemWrappingImplementation() native { |
| 11 return new _DataTransferItemWrappingImplementation(); | 11 return new _DataTransferItemWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get kind() { return _get_kind(this); } | 14 String get kind() { return _get_kind(this); } |
| 15 static String _get_kind(var _this) native; | 15 static String _get_kind(var _this) native; |
| 16 | 16 |
| 17 String get type() { return _get_type(this); } | 17 String get type() { return _get_type(this); } |
| 18 static String _get_type(var _this) native; | 18 static String _get_type(var _this) native; |
| 19 | 19 |
| 20 Blob getAsFile() { | 20 Blob getAsFile() { |
| 21 return _getAsFile(this); | 21 return _getAsFile(this); |
| 22 } | 22 } |
| 23 static Blob _getAsFile(receiver) native; | 23 static Blob _getAsFile(receiver) native; |
| 24 | 24 |
| 25 void getAsString(StringCallback callback) { | 25 void getAsString([StringCallback callback = null]) { |
| 26 _getAsString(this, callback); | 26 _getAsString(this, callback); |
| 27 return; | 27 return; |
| 28 } | 28 } |
| 29 static void _getAsString(receiver, callback) native; | 29 static void _getAsString(receiver, callback) native; |
| 30 | 30 |
| 31 String get typeName() { return "DataTransferItem"; } | 31 String get typeName() { return "DataTransferItem"; } |
| 32 } | 32 } |
| OLD | NEW |