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

Side by Side Diff: client/dom/generated/src/frog/DOMApplicationCache.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 _DOMApplicationCacheJs extends _DOMTypeJs implements DOMApplicationCache n ative "*DOMApplicationCache" { 2 class _DOMApplicationCacheJs extends _DOMTypeJs implements DOMApplicationCache n ative "*DOMApplicationCache" {
3 3
4 static final int CHECKING = 2; 4 static final int CHECKING = 2;
5 5
6 static final int DOWNLOADING = 3; 6 static final int DOWNLOADING = 3;
7 7
8 static final int IDLE = 1; 8 static final int IDLE = 1;
9 9
10 static final int OBSOLETE = 5; 10 static final int OBSOLETE = 5;
11 11
12 static final int UNCACHED = 0; 12 static final int UNCACHED = 0;
13 13
14 static final int UPDATEREADY = 4; 14 static final int UPDATEREADY = 4;
15 15
16 int get status() native "return this.status;"; 16 final int status;
17 17
18 void abort() native; 18 void abort() native;
19 19
20 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 20 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
21 21
22 bool dispatchEvent(_EventJs evt) native; 22 bool dispatchEvent(_EventJs evt) native;
23 23
24 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 24 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
25 25
26 void swapCache() native; 26 void swapCache() native;
27 27
28 void update() native; 28 void update() native;
29 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698