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

Unified Diff: sky/framework/animation/generator.dart

Issue 979283002: Move animationgenerator.dart to sky/framework/animation/generator.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/examples/fn/widgets/widgets.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/animation/generator.dart
diff --git a/sky/examples/fn/widgets/animationgenerator.dart b/sky/framework/animation/generator.dart
similarity index 86%
rename from sky/examples/fn/widgets/animationgenerator.dart
rename to sky/framework/animation/generator.dart
index ef916548946b2892db204aaee920b0ae8470ff76..cd34fae08b35d72ff2cd773c8065a799fdd3060a 100644
--- a/sky/examples/fn/widgets/animationgenerator.dart
+++ b/sky/framework/animation/generator.dart
@@ -1,7 +1,13 @@
-part of widgets;
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
-class FrameGenerator {
+import 'curves.dart';
+import 'dart:async';
+import 'dart:math' as math;
+import 'dart:sky' as sky;
+class FrameGenerator {
Function onDone;
StreamController _controller;
@@ -46,7 +52,6 @@ class FrameGenerator {
}
class AnimationGenerator extends FrameGenerator {
-
Stream<double> get onTick => _stream;
final double duration;
final double begin;
« no previous file with comments | « sky/examples/fn/widgets/widgets.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698