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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/dartium/Clipboard.dart
diff --git a/client/html/generated/html/dartium/Clipboard.dart b/client/html/generated/html/dartium/Clipboard.dart
new file mode 100644
index 0000000000000000000000000000000000000000..29989bcc102b91bc409c5c73ebb6ed5a2848494e
--- /dev/null
+++ b/client/html/generated/html/dartium/Clipboard.dart
@@ -0,0 +1,42 @@
+
+class _ClipboardImpl extends _DOMTypeBase implements Clipboard {
+ _ClipboardImpl._wrap(ptr) : super._wrap(ptr);
+
+ String get dropEffect() => _wrap(_ptr.dropEffect);
+
+ void set dropEffect(String value) { _ptr.dropEffect = _unwrap(value); }
+
+ String get effectAllowed() => _wrap(_ptr.effectAllowed);
+
+ void set effectAllowed(String value) { _ptr.effectAllowed = _unwrap(value); }
+
+ FileList get files() => _wrap(_ptr.files);
+
+ DataTransferItemList get items() => _wrap(_ptr.items);
+
+ List get types() => _wrap(_ptr.types);
+
+ void clearData([String type = null]) {
+ if (type === null) {
+ _ptr.clearData();
+ return;
+ } else {
+ _ptr.clearData(_unwrap(type));
+ return;
+ }
+ }
+
+ void getData(String type) {
+ _ptr.getData(_unwrap(type));
+ return;
+ }
+
+ bool setData(String type, String data) {
+ return _wrap(_ptr.setData(_unwrap(type), _unwrap(data)));
+ }
+
+ void setDragImage(ImageElement image, int x, int y) {
+ _ptr.setDragImage(_unwrap(image), _unwrap(x), _unwrap(y));
+ return;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698