| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 class ClipboardWrappingImplementation extends DOMWrapperBase implements Clipboar
d { | |
| 8 ClipboardWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 String get dropEffect() { return _ptr.dropEffect; } | |
| 11 | |
| 12 void set dropEffect(String value) { _ptr.dropEffect = value; } | |
| 13 | |
| 14 String get effectAllowed() { return _ptr.effectAllowed; } | |
| 15 | |
| 16 void set effectAllowed(String value) { _ptr.effectAllowed = value; } | |
| 17 | |
| 18 FileList get files() { return LevelDom.wrapFileList(_ptr.files); } | |
| 19 | |
| 20 DataTransferItemList get items() { return LevelDom.wrapDataTransferItemList(_p
tr.items); } | |
| 21 | |
| 22 List get types() { return _ptr.types; } | |
| 23 | |
| 24 void clearData([String type]) { | |
| 25 if (type === null) { | |
| 26 _ptr.clearData(); | |
| 27 return; | |
| 28 } else { | |
| 29 _ptr.clearData(type); | |
| 30 return; | |
| 31 } | |
| 32 } | |
| 33 | |
| 34 void getData(String type) { | |
| 35 _ptr.getData(type); | |
| 36 return; | |
| 37 } | |
| 38 | |
| 39 bool setData(String type, String data) { | |
| 40 return _ptr.setData(type, data); | |
| 41 } | |
| 42 | |
| 43 void setDragImage(ImageElement image, int x, int y) { | |
| 44 _ptr.setDragImage(LevelDom.unwrap(image), x, y); | |
| 45 return; | |
| 46 } | |
| 47 } | |
| OLD | NEW |