| 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 _DataTransferItemListWrappingImplementation extends DOMWrapperBase impleme
nts DataTransferItemList { | 7 class _DataTransferItemListWrappingImplementation extends DOMWrapperBase impleme
nts DataTransferItemList { |
| 8 _DataTransferItemListWrappingImplementation() : super() {} | 8 _DataTransferItemListWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DataTransferItemListWrappingImplementation() native { | 10 static create__DataTransferItemListWrappingImplementation() native { |
| 11 return new _DataTransferItemListWrappingImplementation(); | 11 return new _DataTransferItemListWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get length() { return _get__DataTransferItemList_length(this); } | 14 int get length() { return _get_length(this); } |
| 15 static int _get__DataTransferItemList_length(var _this) native; | 15 static int _get_length(var _this) native; |
| 16 | 16 |
| 17 void add(String data, String type) { | 17 void add(String data, String type) { |
| 18 _add(this, data, type); | 18 _add(this, data, type); |
| 19 return; | 19 return; |
| 20 } | 20 } |
| 21 static void _add(receiver, data, type) native; | 21 static void _add(receiver, data, type) native; |
| 22 | 22 |
| 23 void clear() { | 23 void clear() { |
| 24 _clear(this); | 24 _clear(this); |
| 25 return; | 25 return; |
| 26 } | 26 } |
| 27 static void _clear(receiver) native; | 27 static void _clear(receiver) native; |
| 28 | 28 |
| 29 DataTransferItem item(int index) { | 29 DataTransferItem item(int index) { |
| 30 return _item(this, index); | 30 return _item(this, index); |
| 31 } | 31 } |
| 32 static DataTransferItem _item(receiver, index) native; | 32 static DataTransferItem _item(receiver, index) native; |
| 33 | 33 |
| 34 String get typeName() { return "DataTransferItemList"; } | 34 String get typeName() { return "DataTransferItemList"; } |
| 35 } | 35 } |
| OLD | NEW |