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

Side by Side Diff: client/dom/generated/src/frog/IDBRequest.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class IDBRequest native "*IDBRequest" { 2 class IDBRequestJS implements IDBRequest native "*IDBRequest" {
3 3
4 static final int DONE = 2; 4 static final int DONE = 2;
5 5
6 static final int LOADING = 1; 6 static final int LOADING = 1;
7 7
8 int get errorCode() native "return this.errorCode;"; 8 int get errorCode() native "return this.errorCode;";
9 9
10 EventListener get onerror() native "return this.onerror;"; 10 EventListener get onerror() native "return this.onerror;";
11 11
12 void set onerror(EventListener value) native "this.onerror = value;"; 12 void set onerror(EventListener value) native "this.onerror = value;";
13 13
14 EventListener get onsuccess() native "return this.onsuccess;"; 14 EventListener get onsuccess() native "return this.onsuccess;";
15 15
16 void set onsuccess(EventListener value) native "this.onsuccess = value;"; 16 void set onsuccess(EventListener value) native "this.onsuccess = value;";
17 17
18 int get readyState() native "return this.readyState;"; 18 int get readyState() native "return this.readyState;";
19 19
20 IDBAny get result() native "return this.result;"; 20 IDBAnyJS get result() native "return this.result;";
21 21
22 IDBAny get source() native "return this.source;"; 22 IDBAnyJS get source() native "return this.source;";
23 23
24 IDBTransaction get transaction() native "return this.transaction;"; 24 IDBTransactionJS get transaction() native "return this.transaction;";
25 25
26 String get webkitErrorMessage() native "return this.webkitErrorMessage;"; 26 String get webkitErrorMessage() native "return this.webkitErrorMessage;";
27 27
28 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 28 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
29 29
30 bool dispatchEvent(Event evt) native; 30 bool dispatchEvent(EventJS evt) native;
31 31
32 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 32 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
33 33
34 var dartObjectLocalStorage; 34 var dartObjectLocalStorage;
35 35
36 String get typeName() native; 36 String get typeName() native;
37 } 37 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/IDBObjectStore.dart ('k') | client/dom/generated/src/frog/IDBTransaction.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698