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

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

Issue 9317046: Make dart:dom implementation types private so they don't muddle the docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 1
2 class EventSourceJs extends DOMTypeJs implements EventSource native "*EventSourc e" { 2 class _EventSourceJs extends _DOMTypeJs implements EventSource native "*EventSou rce" {
3 3
4 static final int CLOSED = 2; 4 static final int CLOSED = 2;
5 5
6 static final int CONNECTING = 0; 6 static final int CONNECTING = 0;
7 7
8 static final int OPEN = 1; 8 static final int OPEN = 1;
9 9
10 String get URL() native "return this.URL;"; 10 String get URL() native "return this.URL;";
11 11
12 int get readyState() native "return this.readyState;"; 12 int get readyState() native "return this.readyState;";
13 13
14 String get url() native "return this.url;"; 14 String get url() native "return this.url;";
15 15
16 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 16 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
17 17
18 void close() native; 18 void close() native;
19 19
20 bool dispatchEvent(EventJs evt) native; 20 bool dispatchEvent(_EventJs evt) native;
21 21
22 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 22 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
23 } 23 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/EventException.dart ('k') | client/dom/generated/src/frog/EventTarget.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698