Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: client/html/generated/html/dartium/Clipboard.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class _ClipboardImpl extends _DOMTypeBase implements Clipboard {
3 _ClipboardImpl._wrap(ptr) : super._wrap(ptr);
4
5 String get dropEffect() => _wrap(_ptr.dropEffect);
6
7 void set dropEffect(String value) { _ptr.dropEffect = _unwrap(value); }
8
9 String get effectAllowed() => _wrap(_ptr.effectAllowed);
10
11 void set effectAllowed(String value) { _ptr.effectAllowed = _unwrap(value); }
12
13 FileList get files() => _wrap(_ptr.files);
14
15 DataTransferItemList get items() => _wrap(_ptr.items);
16
17 List get types() => _wrap(_ptr.types);
18
19 void clearData([String type = null]) {
20 if (type === null) {
21 _ptr.clearData();
22 return;
23 } else {
24 _ptr.clearData(_unwrap(type));
25 return;
26 }
27 }
28
29 void getData(String type) {
30 _ptr.getData(_unwrap(type));
31 return;
32 }
33
34 bool setData(String type, String data) {
35 return _wrap(_ptr.setData(_unwrap(type), _unwrap(data)));
36 }
37
38 void setDragImage(ImageElement image, int x, int y) {
39 _ptr.setDragImage(_unwrap(image), _unwrap(x), _unwrap(y));
40 return;
41 }
42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698