| 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 D
ataTransferItem { | 7 class DataTransferItemWrappingImplementation extends DOMWrapperBase implements D
ataTransferItem { |
| 8 DataTransferItemWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8 DataTransferItemWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 | 9 |
| 10 String get kind() { return _ptr.kind; } | 10 String get kind() { return _ptr.kind; } |
| 11 | 11 |
| 12 String get type() { return _ptr.type; } | 12 String get type() { return _ptr.type; } |
| 13 | 13 |
| 14 Blob getAsFile() { | 14 Blob getAsFile() { |
| 15 return LevelDom.wrapBlob(_ptr.getAsFile()); | 15 return LevelDom.wrapBlob(_ptr.getAsFile()); |
| 16 } | 16 } |
| 17 | 17 |
| 18 void getAsString(StringCallback callback) { | 18 void getAsString(StringCallback callback) { |
| 19 _ptr.getAsString(LevelDom.unwrap(callback)); | 19 _ptr.getAsString(callback); |
| 20 return; | 20 return; |
| 21 } | 21 } |
| 22 } | 22 } |
| OLD | NEW |