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

Side by Side Diff: client/dom/generated/src/frog/IDBDatabase.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 IDBDatabase native "*IDBDatabase" { 2 class IDBDatabase native "*IDBDatabase" {
3 3
4 String name; 4 String name;
5 5
6 EventListener onabort;
7
8 EventListener onerror;
9
10 EventListener onversionchange;
11
6 String version; 12 String version;
7 13
8 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 14 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9 15
10 void close() native; 16 void close() native;
11 17
12 IDBObjectStore createObjectStore(String name) native; 18 IDBObjectStore createObjectStore(String name) native;
13 19
14 void deleteObjectStore(String name) native; 20 void deleteObjectStore(String name) native;
15 21
16 bool dispatchEvent(Event evt) native; 22 bool dispatchEvent(Event evt) native;
17 23
18 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 24 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
19 25
20 IDBVersionChangeRequest setVersion(String version) native; 26 IDBVersionChangeRequest setVersion(String version) native;
21 27
22 IDBTransaction transaction(String storeName, int mode) native; 28 IDBTransaction transaction(String storeName, int mode) 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/FileWriter.dart ('k') | client/dom/generated/src/frog/IDBRequest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698