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

Unified Diff: client/html/generated/html/dartium/FileReader.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/FileReader.dart
diff --git a/client/html/generated/html/dartium/FileReader.dart b/client/html/generated/html/dartium/FileReader.dart
new file mode 100644
index 0000000000000000000000000000000000000000..9d7ea0f2b26bc500c9ea6ed134a3c0c6a6ac8aa4
--- /dev/null
+++ b/client/html/generated/html/dartium/FileReader.dart
@@ -0,0 +1,88 @@
+
+class _FileReaderImpl extends _DOMTypeBase implements FileReader {
+ _FileReaderImpl._wrap(ptr) : super._wrap(ptr);
+
+ FileError get error() => _wrap(_ptr.error);
+
+ EventListener get onabort() => _wrap(_ptr.onabort);
+
+ void set onabort(EventListener value) { _ptr.onabort = _unwrap(value); }
+
+ EventListener get onerror() => _wrap(_ptr.onerror);
+
+ void set onerror(EventListener value) { _ptr.onerror = _unwrap(value); }
+
+ EventListener get onload() => _wrap(_ptr.onload);
+
+ void set onload(EventListener value) { _ptr.onload = _unwrap(value); }
+
+ EventListener get onloadend() => _wrap(_ptr.onloadend);
+
+ void set onloadend(EventListener value) { _ptr.onloadend = _unwrap(value); }
+
+ EventListener get onloadstart() => _wrap(_ptr.onloadstart);
+
+ void set onloadstart(EventListener value) { _ptr.onloadstart = _unwrap(value); }
+
+ EventListener get onprogress() => _wrap(_ptr.onprogress);
+
+ void set onprogress(EventListener value) { _ptr.onprogress = _unwrap(value); }
+
+ int get readyState() => _wrap(_ptr.readyState);
+
+ Object get result() => _wrap(_ptr.result);
+
+ void abort() {
+ _ptr.abort();
+ return;
+ }
+
+ void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
+ if (useCapture === null) {
+ _ptr.addEventListener(_unwrap(type), _unwrap(listener));
+ return;
+ } else {
+ _ptr.addEventListener(_unwrap(type), _unwrap(listener), _unwrap(useCapture));
+ return;
+ }
+ }
+
+ bool dispatchEvent(Event evt) {
+ return _wrap(_ptr.dispatchEvent(_unwrap(evt)));
+ }
+
+ void readAsArrayBuffer(Blob blob) {
+ _ptr.readAsArrayBuffer(_unwrap(blob));
+ return;
+ }
+
+ void readAsBinaryString(Blob blob) {
+ _ptr.readAsBinaryString(_unwrap(blob));
+ return;
+ }
+
+ void readAsDataURL(Blob blob) {
+ _ptr.readAsDataURL(_unwrap(blob));
+ return;
+ }
+
+ void readAsText(Blob blob, [String encoding = null]) {
+ if (encoding === null) {
+ _ptr.readAsText(_unwrap(blob));
+ return;
+ } else {
+ _ptr.readAsText(_unwrap(blob), _unwrap(encoding));
+ return;
+ }
+ }
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
+ if (useCapture === null) {
+ _ptr.removeEventListener(_unwrap(type), _unwrap(listener));
+ return;
+ } else {
+ _ptr.removeEventListener(_unwrap(type), _unwrap(listener), _unwrap(useCapture));
+ return;
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698