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

Unified Diff: client/html/generated/html/interface/EventSource.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/interface/EventSource.dart
diff --git a/client/html/generated/html/interface/EventSource.dart b/client/html/generated/html/interface/EventSource.dart
new file mode 100644
index 0000000000000000000000000000000000000000..53953ff981999d676b4ce270c62f42876c1847d8
--- /dev/null
+++ b/client/html/generated/html/interface/EventSource.dart
@@ -0,0 +1,39 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+interface EventSource extends EventTarget {
+
+ static final int CLOSED = 2;
+
+ static final int CONNECTING = 0;
+
+ static final int OPEN = 1;
+
+ final String URL;
+
+ final int readyState;
+
+ final String url;
+
+ EventSourceEvents get on();
+
+ void _addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ void close();
+
+ bool _dispatchEvent(Event evt);
+
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]);
+}
+
+interface EventSourceEvents extends Events {
+
+ EventListenerList get error();
+
+ EventListenerList get message();
+
+ EventListenerList get open();
+}

Powered by Google App Engine
This is Rietveld 408576698