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

Unified Diff: client/dom/src/_FactoryProviders.dart

Issue 8879037: Added WebSocket support for dartc and frog (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
« no previous file with comments | « client/dom/scripts/template_wrapping_dom.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/src/_FactoryProviders.dart
diff --git a/client/dom/src/_FactoryProviders.dart b/client/dom/src/_FactoryProviders.dart
index ccf83401be0019abc7797af0ef48e1692e103c42..b2d40c1c7981d85ddcae2caaaa3af2f423c12db2 100644
--- a/client/dom/src/_FactoryProviders.dart
+++ b/client/dom/src/_FactoryProviders.dart
@@ -81,6 +81,13 @@ class _WebKitPointFactoryProvider {
static WebKitPoint create(x, y) native;
}
+class _WebSocketFactoryProvider {
+
+ factory WebSocket(String url) { return create(url); }
+
+ static WebKitPoint create(url) native;
+}
+
class _XMLHttpRequestFactoryProvider {
factory XMLHttpRequest() { return create(); }
« no previous file with comments | « client/dom/scripts/template_wrapping_dom.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698