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

Side by Side Diff: samples/actors/core/actors.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _ActorManagerImpl extends Actor implements ActorManager { 2 class _ActorManagerImpl extends Actor implements ActorManager {
3 3
4 /** 4 /**
5 * This determines the next worker to be used for creating an actor. 5 * This determines the next worker to be used for creating an actor.
6 */ 6 */
7 int _nextWorkerIndex; 7 int _nextWorkerIndex;
8 8
9 /** 9 /**
10 * Total number of isolates. 10 * Total number of isolates.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 if (allowCreation) anActor._manager = _manager; 144 if (allowCreation) anActor._manager = _manager;
145 else anActor._manager = null; 145 else anActor._manager = null;
146 anActor._allowUIAccess = allowUIAccess; 146 anActor._allowUIAccess = allowUIAccess;
147 if (allowUIAccess) anActor._windowProxy = _windowProxy; 147 if (allowUIAccess) anActor._windowProxy = _windowProxy;
148 else anActor._windowProxy = new _NullWindowProxy(); 148 else anActor._windowProxy = new _NullWindowProxy();
149 anActor.me.send(msg.messageName, msg.params, msg.replyTo); 149 anActor.me.send(msg.messageName, msg.params, msg.replyTo);
150 }; 150 };
151 } 151 }
152 } 152 }
153 153
154 interface ActorManager factory _ActorManagerImpl { 154 interface ActorManager default _ActorManagerImpl {
155 155
156 /** 156 /**
157 * Creates an Actor Manager with the specified number of isolates as 157 * Creates an Actor Manager with the specified number of isolates as
158 * background processes. 158 * background processes.
159 */ 159 */
160 ActorManager(int numOfIsolates); 160 ActorManager(int numOfIsolates);
161 161
162 /** 162 /**
163 * Creates an actor using the specified factory and sends a message to it. 163 * Creates an actor using the specified factory and sends a message to it.
164 */ 164 */
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 _to.send(_msgName, params, replyTo); 214 _to.send(_msgName, params, replyTo);
215 } 215 }
216 216
217 /** 217 /**
218 * Returns the name of the message which is responsible to handle this 218 * Returns the name of the message which is responsible to handle this
219 * Reply. 219 * Reply.
220 */ 220 */
221 String get message() => _msgName; 221 String get message() => _msgName;
222 } 222 }
223 223
OLDNEW
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/interfaces.dart ('k') | samples/belay/bcap/bcap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698