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

Unified Diff: client/html/generated/html/interface/WebSocket.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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/interface/WebSocket.dart
diff --git a/client/html/generated/html/interface/WebSocket.dart b/client/html/generated/html/interface/WebSocket.dart
index 99a952ed28c9de00184763a600348401df6b49fa..5df70954951e9718257db1396a43073ad969a3f0 100644
--- a/client/html/generated/html/interface/WebSocket.dart
+++ b/client/html/generated/html/interface/WebSocket.dart
@@ -6,6 +6,8 @@
interface WebSocket extends EventTarget {
+ WebSocketEvents get on();
+
static final int CLOSED = 3;
static final int CLOSING = 2;
@@ -28,8 +30,6 @@ interface WebSocket extends EventTarget {
final String url;
- WebSocketEvents get on();
-
void _addEventListener(String type, EventListener listener, [bool useCapture]);
void close([int code, String reason]);
« no previous file with comments | « client/html/generated/html/interface/SVGElementInstance.dart ('k') | client/html/generated/html/interface/Window.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698