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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID BObjectStore" { 2 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID BObjectStore" {
3 3
4 String get keyPath() native "return this.keyPath;"; 4 final String keyPath;
5 5
6 String get name() native "return this.name;"; 6 final String name;
7 7
8 _IDBTransactionJs get transaction() native "return this.transaction;"; 8 final _IDBTransactionJs transaction;
9 9
10 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native; 10 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native;
11 11
12 _IDBRequestJs clear() native; 12 _IDBRequestJs clear() native;
13 13
14 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; 14 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native;
15 15
16 _IDBIndexJs createIndex(String name, String keyPath) native; 16 _IDBIndexJs createIndex(String name, String keyPath) native;
17 17
18 _IDBRequestJs delete(_IDBKeyJs key) native; 18 _IDBRequestJs delete(_IDBKeyJs key) native;
19 19
20 void deleteIndex(String name) native; 20 void deleteIndex(String name) native;
21 21
22 _IDBRequestJs getObject(_IDBKeyJs key) native; 22 _IDBRequestJs getObject(_IDBKeyJs key) native;
23 23
24 _IDBIndexJs index(String name) native; 24 _IDBIndexJs index(String name) native;
25 25
26 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native; 26 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
27 27
28 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native; 28 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native;
29 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698