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

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

Issue 8637013: Remove support for attribute event listeners. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 EventSource extends EventTarget { 7 interface EventSource extends EventTarget {
8 8
9 static final int CLOSED = 2; 9 static final int CLOSED = 2;
10 10
11 static final int CONNECTING = 0; 11 static final int CONNECTING = 0;
12 12
13 static final int OPEN = 1; 13 static final int OPEN = 1;
14 14
15 String get URL(); 15 String get URL();
16 16
17 EventListener get onerror();
18
19 void set onerror(EventListener value);
20
21 EventListener get onmessage();
22
23 void set onmessage(EventListener value);
24
25 EventListener get onopen();
26
27 void set onopen(EventListener value);
28
29 int get readyState(); 17 int get readyState();
30 18
31 void addEventListener(String type, EventListener listener, [bool useCapture]); 19 void addEventListener(String type, EventListener listener, [bool useCapture]);
32 20
33 void close(); 21 void close();
34 22
35 bool dispatchEvent(Event evt); 23 bool dispatchEvent(Event evt);
36 24
37 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 25 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
38 } 26 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/interface/Element.dart ('k') | client/dom/generated/src/interface/FileReader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698