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

Side by Side Diff: client/dom/generated/src/frog/IDBTransaction.dart

Issue 8894029: Generate EventListener attributes of non-EventTarget classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 9 years 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 IDBTransaction native "*IDBTransaction" { 2 class IDBTransaction native "*IDBTransaction" {
3 3
4 static final int READ_ONLY = 0; 4 static final int READ_ONLY = 0;
5 5
6 static final int READ_WRITE = 1; 6 static final int READ_WRITE = 1;
7 7
8 static final int VERSION_CHANGE = 2; 8 static final int VERSION_CHANGE = 2;
9 9
10 IDBDatabase db; 10 IDBDatabase db;
11 11
12 int mode; 12 int mode;
13 13
14 EventListener onabort;
15
16 EventListener oncomplete;
17
18 EventListener onerror;
19
14 void abort() native; 20 void abort() native;
15 21
16 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 22 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
17 23
18 bool dispatchEvent(Event evt) native; 24 bool dispatchEvent(Event evt) native;
19 25
20 IDBObjectStore objectStore(String name) native; 26 IDBObjectStore objectStore(String name) native;
21 27
22 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 28 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
23 29
24 var dartObjectLocalStorage; 30 var dartObjectLocalStorage;
25 31
26 String get typeName() native; 32 String get typeName() native;
27 } 33 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/IDBRequest.dart ('k') | client/dom/generated/src/frog/IDBVersionChangeRequest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698