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

Unified Diff: packages/observable/lib/src/property_change_record.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/observable/lib/src/observable_map.dart ('k') | packages/observable/lib/src/to_observable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/observable/lib/src/property_change_record.dart
diff --git a/packages/observe/lib/src/change_record.dart b/packages/observable/lib/src/property_change_record.dart
similarity index 65%
rename from packages/observe/lib/src/change_record.dart
rename to packages/observable/lib/src/property_change_record.dart
index 576a1737a1ae80ad1fc8b10f6669efe2b983b11f..a09c196205ae18de087e6cce31b6e195c926f1f9 100644
--- a/packages/observe/lib/src/change_record.dart
+++ b/packages/observable/lib/src/property_change_record.dart
@@ -1,20 +1,15 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library observe.src.change_record;
+library observable.src.property_change_record;
-import 'package:observe/observe.dart';
+import 'change_record.dart';
-
-/// Records a change to an [Observable].
-// TODO(jmesserly): remove this type
-abstract class ChangeRecord {}
-
-/// A change record to a field of an observable object.
+/// A change record to a field of an [Observable] object.
class PropertyChangeRecord<T> extends ChangeRecord {
/// The object that changed.
- final object;
+ final Object object;
/// The name of the property that changed.
final Symbol name;
« no previous file with comments | « packages/observable/lib/src/observable_map.dart ('k') | packages/observable/lib/src/to_observable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698