| 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 _ClipboardWrappingImplementation extends DOMWrapperBase implements Clipboa
rd { | 7 class _ClipboardWrappingImplementation extends DOMWrapperBase implements Clipboa
rd { |
| 8 _ClipboardWrappingImplementation() : super() {} | 8 _ClipboardWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__ClipboardWrappingImplementation() native { | 10 static create__ClipboardWrappingImplementation() native { |
| 11 return new _ClipboardWrappingImplementation(); | 11 return new _ClipboardWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get dropEffect() { return _get__Clipboard_dropEffect(this); } | 14 String get dropEffect() { return _get__Clipboard_dropEffect(this); } |
| 15 static String _get__Clipboard_dropEffect(var _this) native; | 15 static String _get__Clipboard_dropEffect(var _this) native; |
| 16 | 16 |
| 17 void set dropEffect(String value) { _set__Clipboard_dropEffect(this, value); } | 17 void set dropEffect(String value) { _set__Clipboard_dropEffect(this, value); } |
| 18 static void _set__Clipboard_dropEffect(var _this, String value) native; | 18 static void _set__Clipboard_dropEffect(var _this, String value) native; |
| 19 | 19 |
| 20 String get effectAllowed() { return _get__Clipboard_effectAllowed(this); } | 20 String get effectAllowed() { return _get__Clipboard_effectAllowed(this); } |
| 21 static String _get__Clipboard_effectAllowed(var _this) native; | 21 static String _get__Clipboard_effectAllowed(var _this) native; |
| 22 | 22 |
| 23 void set effectAllowed(String value) { _set__Clipboard_effectAllowed(this, val
ue); } | 23 void set effectAllowed(String value) { _set__Clipboard_effectAllowed(this, val
ue); } |
| 24 static void _set__Clipboard_effectAllowed(var _this, String value) native; | 24 static void _set__Clipboard_effectAllowed(var _this, String value) native; |
| 25 | 25 |
| 26 FileList get files() { return _get__Clipboard_files(this); } | 26 FileList get files() { return _get__Clipboard_files(this); } |
| 27 static FileList _get__Clipboard_files(var _this) native; | 27 static FileList _get__Clipboard_files(var _this) native; |
| 28 | 28 |
| 29 DataTransferItems get items() { return _get__Clipboard_items(this); } | 29 DataTransferItemList get items() { return _get__Clipboard_items(this); } |
| 30 static DataTransferItems _get__Clipboard_items(var _this) native; | 30 static DataTransferItemList _get__Clipboard_items(var _this) native; |
| 31 | 31 |
| 32 void clearData([String type = null]) { | 32 void clearData([String type = null]) { |
| 33 if (type === null) { | 33 if (type === null) { |
| 34 _clearData(this); | 34 _clearData(this); |
| 35 return; | 35 return; |
| 36 } else { | 36 } else { |
| 37 _clearData_2(this, type); | 37 _clearData_2(this, type); |
| 38 return; | 38 return; |
| 39 } | 39 } |
| 40 } | 40 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 53 static bool _setData(receiver, type, data) native; | 53 static bool _setData(receiver, type, data) native; |
| 54 | 54 |
| 55 void setDragImage(HTMLImageElement image, int x, int y) { | 55 void setDragImage(HTMLImageElement image, int x, int y) { |
| 56 _setDragImage(this, image, x, y); | 56 _setDragImage(this, image, x, y); |
| 57 return; | 57 return; |
| 58 } | 58 } |
| 59 static void _setDragImage(receiver, image, x, y) native; | 59 static void _setDragImage(receiver, image, x, y) native; |
| 60 | 60 |
| 61 String get typeName() { return "Clipboard"; } | 61 String get typeName() { return "Clipboard"; } |
| 62 } | 62 } |
| OLD | NEW |