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

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

Issue 9623017: Refactor the event-generation code to locate it in systemhtml.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 interface DOMApplicationCache extends EventTarget { 7 interface DOMApplicationCache extends EventTarget {
8 8
9 DOMApplicationCacheEvents get on();
10
9 static final int CHECKING = 2; 11 static final int CHECKING = 2;
10 12
11 static final int DOWNLOADING = 3; 13 static final int DOWNLOADING = 3;
12 14
13 static final int IDLE = 1; 15 static final int IDLE = 1;
14 16
15 static final int OBSOLETE = 5; 17 static final int OBSOLETE = 5;
16 18
17 static final int UNCACHED = 0; 19 static final int UNCACHED = 0;
18 20
19 static final int UPDATEREADY = 4; 21 static final int UPDATEREADY = 4;
20 22
21 final int status; 23 final int status;
22 24
23 DOMApplicationCacheEvents get on();
24
25 void abort(); 25 void abort();
26 26
27 void _addEventListener(String type, EventListener listener, [bool useCapture]) ; 27 void _addEventListener(String type, EventListener listener, [bool useCapture]) ;
28 28
29 bool _dispatchEvent(Event evt); 29 bool _dispatchEvent(Event evt);
30 30
31 void _removeEventListener(String type, EventListener listener, [bool useCaptur e]); 31 void _removeEventListener(String type, EventListener listener, [bool useCaptur e]);
32 32
33 void swapCache(); 33 void swapCache();
34 34
(...skipping 11 matching lines...) Expand all
46 EventListenerList get error(); 46 EventListenerList get error();
47 47
48 EventListenerList get noUpdate(); 48 EventListenerList get noUpdate();
49 49
50 EventListenerList get obsolete(); 50 EventListenerList get obsolete();
51 51
52 EventListenerList get progress(); 52 EventListenerList get progress();
53 53
54 EventListenerList get updateReady(); 54 EventListenerList get updateReady();
55 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698