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

Unified Diff: client/dom/generated/src/frog/WebSocket.dart

Issue 8387057: Forgot generated code for frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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/dom/generated/src/frog/WebSocket.dart
diff --git a/client/dom/generated/src/frog/WebSocket.dart b/client/dom/generated/src/frog/WebSocket.dart
new file mode 100644
index 0000000000000000000000000000000000000000..817a4bc3ec6a5bf8fdcc0d8ca9dc93ab72a2b2c5
--- /dev/null
+++ b/client/dom/generated/src/frog/WebSocket.dart
@@ -0,0 +1,35 @@
+
+class WebSocket native "WebSocket" {
+
+ String URL;
+
+ String binaryType;
+
+ int bufferedAmount;
+
+ EventListener onclose;
+
+ EventListener onerror;
+
+ EventListener onmessage;
+
+ EventListener onopen;
+
+ String protocol;
+
+ int readyState;
+
+ void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ void close([int code = null, String reason = null]) native;
+
+ bool dispatchEvent(Event evt) native;
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ bool send(String data) native;
+
+ var dartObjectLocalStorage;
+
+ String get typeName() native;
+}
« no previous file with comments | « client/dom/generated/src/frog/WebKitTransitionEvent.dart ('k') | client/dom/generated/src/frog/WheelEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698