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

Side by Side Diff: client/dom/generated/src/frog/EventSource.dart

Issue 8473008: Generate constants for IDL classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add frog dom Created 9 years 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 EventSource native "*EventSource" { 2 class EventSource native "*EventSource" {
3 3
4 static final int CLOSED = 2;
5
6 static final int CONNECTING = 0;
7
8 static final int OPEN = 1;
9
4 String URL; 10 String URL;
5 11
6 int readyState; 12 int readyState;
7 13
8 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 14 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9 15
10 void close() native; 16 void close() native;
11 17
12 bool dispatchEvent(Event evt) native; 18 bool dispatchEvent(Event evt) native;
13 19
14 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 20 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
15 21
16 var dartObjectLocalStorage; 22 var dartObjectLocalStorage;
17 23
18 String get typeName() native; 24 String get typeName() native;
19 } 25 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/EventException.dart ('k') | client/dom/generated/src/frog/FileError.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698