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

Side by Side Diff: cc/animation_curve.h

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing Created 8 years 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 | « no previous file | cc/damage_tracker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_ANIMATION_CURVE_H_ 5 #ifndef CC_ANIMATION_CURVE_H_
6 #define CC_ANIMATION_CURVE_H_ 6 #define CC_ANIMATION_CURVE_H_
7 7
8 #include <public/WebTransformationMatrix.h>
9
8 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
9 #include "cc/cc_export.h" 11 #include "cc/cc_export.h"
10 #include <public/WebTransformationMatrix.h>
11 12
12 namespace cc { 13 namespace cc {
13 14
14 class FloatAnimationCurve; 15 class FloatAnimationCurve;
15 class TransformAnimationCurve; 16 class TransformAnimationCurve;
16 class TransformOperations; 17 class TransformOperations;
17 18
18 // An animation curve is a function that returns a value given a time. 19 // An animation curve is a function that returns a value given a time.
19 // There are currently only two types of curve, float and transform. 20 // There are currently only two types of curve, float and transform.
20 class CC_EXPORT AnimationCurve { 21 class CC_EXPORT AnimationCurve {
(...skipping 26 matching lines...) Expand all
47 48
48 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0; 49 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0;
49 50
50 // Partial Animation implementation. 51 // Partial Animation implementation.
51 virtual Type type() const OVERRIDE; 52 virtual Type type() const OVERRIDE;
52 }; 53 };
53 54
54 } // namespace cc 55 } // namespace cc
55 56
56 #endif // CC_ANIMATION_CURVE_H_ 57 #endif // CC_ANIMATION_CURVE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/damage_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698