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

Unified Diff: client/html/src/frog_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/src/dartium_FactoryProviders.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/frog_FactoryProviders.dart
diff --git a/client/html/src/frog_FactoryProviders.dart b/client/html/src/frog_FactoryProviders.dart
index 1f01ab1fb5a23191e0e0e630abd69c41876bc9bd..cba70a6a5c5d95ea1fd1a2c7209d04ec38803fc9 100644
--- a/client/html/src/frog_FactoryProviders.dart
+++ b/client/html/src/frog_FactoryProviders.dart
@@ -65,3 +65,8 @@ class _PointFactoryProvider {
factory Point(num x, num y) native 'return new WebKitPoint(x, y);';
}
+
+class _WebSocketFactoryProvider {
+
+ factory WebSocket(String url) native '''return new WebSocket(url);''';
+}
« no previous file with comments | « client/html/src/dartium_FactoryProviders.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698