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

Side by Side Diff: client/dom/generated/src/frog/DOMException.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 _DOMExceptionJs extends _DOMTypeJs implements DOMException native "*DOMExc eption" { 2 class _DOMExceptionJs extends _DOMTypeJs implements DOMException native "*DOMExc eption" {
3 3
4 static final int ABORT_ERR = 20; 4 static final int ABORT_ERR = 20;
5 5
6 static final int DATA_CLONE_ERR = 25; 6 static final int DATA_CLONE_ERR = 25;
7 7
8 static final int DOMSTRING_SIZE_ERR = 2; 8 static final int DOMSTRING_SIZE_ERR = 2;
9 9
10 static final int HIERARCHY_REQUEST_ERR = 3; 10 static final int HIERARCHY_REQUEST_ERR = 3;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 static final int TIMEOUT_ERR = 23; 44 static final int TIMEOUT_ERR = 23;
45 45
46 static final int TYPE_MISMATCH_ERR = 17; 46 static final int TYPE_MISMATCH_ERR = 17;
47 47
48 static final int URL_MISMATCH_ERR = 21; 48 static final int URL_MISMATCH_ERR = 21;
49 49
50 static final int VALIDATION_ERR = 16; 50 static final int VALIDATION_ERR = 16;
51 51
52 static final int WRONG_DOCUMENT_ERR = 4; 52 static final int WRONG_DOCUMENT_ERR = 4;
53 53
54 int get code() native "return this.code;"; 54 final int code;
55 55
56 String get message() native "return this.message;"; 56 final String message;
57 57
58 String get name() native "return this.name;"; 58 final String name;
59 59
60 String toString() native; 60 String toString() native;
61 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698