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

Side by Side Diff: dart/samples/ui_lib/observable/EventBatch.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 part of observable;
2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** 5 /**
8 * Accumulates change events from several observable objects. 6 * Accumulates change events from several observable objects.
9 * 7 *
10 * wrap() is public and used by client code. The other methods are used by 8 * wrap() is public and used by client code. The other methods are used by
11 * AbstractObservable, which works with this class to implement batching. 9 * AbstractObservable, which works with this class to implement batching.
12 */ 10 */
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 95
98 /** Fires all events at once. */ 96 /** Fires all events at once. */
99 void _notify() { 97 void _notify() {
100 assert(!sealed); 98 assert(!sealed);
101 sealed = true; 99 sealed = true;
102 for (final summary in summaries.getValues()) { 100 for (final summary in summaries.getValues()) {
103 summary.notify(); 101 summary.notify();
104 } 102 }
105 } 103 }
106 } 104 }
OLDNEW
« no previous file with comments | « dart/samples/ui_lib/observable/ChangeEvent.dart ('k') | dart/samples/ui_lib/observable/observable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698