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

Side by Side Diff: samples-dev/swarm/swarm_ui_lib/observable/ChangeEvent.dart

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // 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
2 // 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
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of observable; 5 part of observable;
6 6
7 /** A change to an observable instance. */ 7 /** A change to an observable instance. */
8 class ChangeEvent { 8 class ChangeEvent {
9 // TODO(sigmund): capture language issues around enums & create a cannonical 9 // TODO(sigmund): capture language issues around enums & create a canonical
10 // Dart enum design. 10 // Dart enum design.
11 /** Type denoting an in-place update event. */ 11 /** Type denoting an in-place update event. */
12 static const UPDATE = 0; 12 static const UPDATE = 0;
13 13
14 /** Type denoting an insertion event. */ 14 /** Type denoting an insertion event. */
15 static const INSERT = 1; 15 static const INSERT = 1;
16 16
17 /** Type denoting a single-remove event. */ 17 /** Type denoting a single-remove event. */
18 static const REMOVE = 2; 18 static const REMOVE = 2;
19 19
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 for (final listener in obj.listeners) { 84 for (final listener in obj.listeners) {
85 listener(this); 85 listener(this);
86 } 86 }
87 } 87 }
88 } 88 }
89 } 89 }
90 } 90 }
91 91
92 /** A listener of change events. */ 92 /** A listener of change events. */
93 typedef void ChangeListener(EventSummary events); 93 typedef void ChangeListener(EventSummary events);
OLDNEW
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/layout/GridLayout.dart ('k') | samples-dev/swarm/swarm_ui_lib/observable/EventBatch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698