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

Side by Side Diff: dart/samples/ui_lib/observable/ChangeEvent.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
« no previous file with comments | « dart/samples/ui_lib/layout/layout.dart ('k') | dart/samples/ui_lib/observable/EventBatch.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** A change to an observable instance. */ 5 /** A change to an observable instance. */
8 class ChangeEvent { 6 class ChangeEvent {
9 // TODO(sigmund): capture language issues around enums & create a cannonical 7 // TODO(sigmund): capture language issues around enums & create a cannonical
10 // Dart enum design. 8 // Dart enum design.
11 /** Type denoting an in-place update event. */ 9 /** Type denoting an in-place update event. */
12 static const UPDATE = 0; 10 static const UPDATE = 0;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 for (final listener in obj.listeners) { 77 for (final listener in obj.listeners) {
80 listener(this); 78 listener(this);
81 } 79 }
82 } 80 }
83 } 81 }
84 } 82 }
85 } 83 }
86 84
87 /** A listener of change events. */ 85 /** A listener of change events. */
88 typedef void ChangeListener(EventSummary events); 86 typedef void ChangeListener(EventSummary events);
OLDNEW
« no previous file with comments | « dart/samples/ui_lib/layout/layout.dart ('k') | dart/samples/ui_lib/observable/EventBatch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698