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

Unified Diff: client/dom/generated/src/frog/FileReader.dart

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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
« no previous file with comments | « client/dom/generated/src/frog/FileList.dart ('k') | client/dom/generated/src/frog/FileReaderSync.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/src/frog/FileReader.dart
diff --git a/client/dom/generated/src/frog/FileReader.dart b/client/dom/generated/src/frog/FileReader.dart
index e6c09ca92a7ac5aba4ce4d183a9d56db5d0add51..571f12e75d623f66bc5a491726e34063481bf8d2 100644
--- a/client/dom/generated/src/frog/FileReader.dart
+++ b/client/dom/generated/src/frog/FileReader.dart
@@ -1,5 +1,5 @@
-class FileReader native "*FileReader" {
+class FileReaderJS implements FileReader native "*FileReader" {
FileReader() native;
@@ -9,7 +9,7 @@ class FileReader native "*FileReader" {
static final int LOADING = 1;
- FileError get error() native "return this.error;";
+ FileErrorJS get error() native "return this.error;";
EventListener get onabort() native "return this.onabort;";
@@ -43,15 +43,15 @@ class FileReader native "*FileReader" {
void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
- bool dispatchEvent(Event evt) native;
+ bool dispatchEvent(EventJS evt) native;
- void readAsArrayBuffer(Blob blob) native;
+ void readAsArrayBuffer(BlobJS blob) native;
- void readAsBinaryString(Blob blob) native;
+ void readAsBinaryString(BlobJS blob) native;
- void readAsDataURL(Blob blob) native;
+ void readAsDataURL(BlobJS blob) native;
- void readAsText(Blob blob, [String encoding = null]) native;
+ void readAsText(BlobJS blob, [String encoding = null]) native;
void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
« no previous file with comments | « client/dom/generated/src/frog/FileList.dart ('k') | client/dom/generated/src/frog/FileReaderSync.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698