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

Side by Side Diff: lib/html/doc/interface/EventSource.dart

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 // 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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 /// @domName EventSource
8 interface EventSource extends EventTarget default _EventSourceFactoryProvider {
9
10 EventSource(String scriptUrl);
11
12 /**
13 * @domName EventTarget.addEventListener, EventTarget.removeEventListener, Eve ntTarget.dispatchEvent
14 */
15 EventSourceEvents get on();
16
17 static final int CLOSED = 2;
18
19 static final int CONNECTING = 0;
20
21 static final int OPEN = 1;
22
23 /** @domName EventSource.URL */
24 final String URL;
25
26 /** @domName EventSource.readyState */
27 final int readyState;
28
29 /** @domName EventSource.url */
30 final String url;
31
32 /** @domName EventSource.addEventListener */
33 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]);
34
35 /** @domName EventSource.close */
36 void close();
37
38 /** @domName EventSource.dispatchEvent */
39 bool $dom_dispatchEvent(Event evt);
40
41 /** @domName EventSource.removeEventListener */
42 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]);
43 }
44
45 interface EventSourceEvents extends Events {
46
47 EventListenerList get error();
48
49 EventListenerList get message();
50
51 EventListenerList get open();
52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698