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

Side by Side Diff: client/dom/generated/src/frog/IDBDatabaseException.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 _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" { 2 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" {
3 3
4 static final int ABORT_ERR = 8; 4 static final int ABORT_ERR = 8;
5 5
6 static final int CONSTRAINT_ERR = 4; 6 static final int CONSTRAINT_ERR = 4;
7 7
8 static final int DATA_ERR = 5; 8 static final int DATA_ERR = 5;
9 9
10 static final int NON_TRANSIENT_ERR = 2; 10 static final int NON_TRANSIENT_ERR = 2;
11 11
12 static final int NOT_ALLOWED_ERR = 6; 12 static final int NOT_ALLOWED_ERR = 6;
13 13
14 static final int NOT_FOUND_ERR = 3; 14 static final int NOT_FOUND_ERR = 3;
15 15
16 static final int NO_ERR = 0; 16 static final int NO_ERR = 0;
17 17
18 static final int QUOTA_ERR = 11; 18 static final int QUOTA_ERR = 11;
19 19
20 static final int READ_ONLY_ERR = 9; 20 static final int READ_ONLY_ERR = 9;
21 21
22 static final int TIMEOUT_ERR = 10; 22 static final int TIMEOUT_ERR = 10;
23 23
24 static final int TRANSACTION_INACTIVE_ERR = 7; 24 static final int TRANSACTION_INACTIVE_ERR = 7;
25 25
26 static final int UNKNOWN_ERR = 1; 26 static final int UNKNOWN_ERR = 1;
27 27
28 static final int VER_ERR = 12; 28 static final int VER_ERR = 12;
29 29
30 int get code() native "return this.code;"; 30 final int code;
31 31
32 String get message() native "return this.message;"; 32 final String message;
33 33
34 String get name() native "return this.name;"; 34 final String name;
35 35
36 String toString() native; 36 String toString() native;
37 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698