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

Unified Diff: client/samples/dartcombat/player.dart

Issue 9016026: Moves over remaining .dart code references to 'factory' in interface declartions to 'default' (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/html/src/XMLHttpRequestProgressEvent.dart ('k') | client/touch/Momentum.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/dartcombat/player.dart
diff --git a/client/samples/dartcombat/player.dart b/client/samples/dartcombat/player.dart
index fbea71163718224b0cf2a571e45941903987faea..b220c7fe3d8d0dfc941bed84a4eb64bb772f76ed 100644
--- a/client/samples/dartcombat/player.dart
+++ b/client/samples/dartcombat/player.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/** A local player (API known to the main isolate when creating players). */
-interface Player factory PlayerImpl {
+interface Player default PlayerImpl {
Player();
@@ -17,7 +17,7 @@ interface Player factory PlayerImpl {
}
/** A remote enemy (API visible to a player to communicate with the enemy). */
-interface Enemy factory EnemyImpl {
+interface Enemy default EnemyImpl {
Enemy(SendPort port);
/** tell the enemy that we are ready, receive confirmation asynchronously. */
« no previous file with comments | « client/html/src/XMLHttpRequestProgressEvent.dart ('k') | client/touch/Momentum.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698