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

Unified Diff: client/html/src/dartium_FactoryProviders.dart

Issue 9664032: Add factory constructor for WebSocket Add generated dom & html directories to .gitignore (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « client/html/frog/html_frog.dart ('k') | client/html/src/frog_FactoryProviders.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/dartium_FactoryProviders.dart
diff --git a/client/html/src/dartium_FactoryProviders.dart b/client/html/src/dartium_FactoryProviders.dart
index f2e007fc80e2bcba86e3d8631fd423c000857bc4..78681ea27e98672589d0b8892523a779bce739aa 100644
--- a/client/html/src/dartium_FactoryProviders.dart
+++ b/client/html/src/dartium_FactoryProviders.dart
@@ -61,3 +61,8 @@ class _PointFactoryProvider {
factory Point(num x, num y) => _wrap(new dom.WebKitPoint(x, y));
}
+
+class _WebSocketFactoryProvider {
+
+ factory WebSocket(String url) => _wrap(new new dom.WebSocket(url));
+}
« no previous file with comments | « client/html/frog/html_frog.dart ('k') | client/html/src/frog_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698