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

Side by Side Diff: client/html/generated/html/frog/DOMApplicationCache.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1
2 class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicatio nCache native "*DOMApplicationCache" {
3
4 static final int CHECKING = 2;
5
6 static final int DOWNLOADING = 3;
7
8 static final int IDLE = 1;
9
10 static final int OBSOLETE = 5;
11
12 static final int UNCACHED = 0;
13
14 static final int UPDATEREADY = 4;
15
16 final int status;
17
18 _DOMApplicationCacheEventsImpl get on() =>
19 new _DOMApplicationCacheEventsImpl(this);
20
21 void abort() native;
22
23 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
24
25 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);";
26
27 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
28
29 void swapCache() native;
30
31 void update() native;
32 }
33
34 class _DOMApplicationCacheEventsImpl extends _EventsImpl implements DOMApplicati onCacheEvents {
35 _DOMApplicationCacheEventsImpl(_ptr) : super(_ptr);
36
37 EventListenerList get cached() => _get('cached');
38
39 EventListenerList get checking() => _get('checking');
40
41 EventListenerList get downloading() => _get('downloading');
42
43 EventListenerList get error() => _get('error');
44
45 EventListenerList get noUpdate() => _get('noupdate');
46
47 EventListenerList get obsolete() => _get('obsolete');
48
49 EventListenerList get progress() => _get('progress');
50
51 EventListenerList get updateReady() => _get('updateready');
52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698