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

Side by Side Diff: cc/animation_curve.h

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd 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 | « no previous file | cc/draw_quad_unittest.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 CCAnimationCurve_h 5 #ifndef CCAnimationCurve_h
6 #define CCAnimationCurve_h 6 #define CCAnimationCurve_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include <public/WebTransformationMatrix.h> 9 #include <public/WebTransformationMatrix.h>
10 10
11 namespace cc { 11 namespace cc {
12 12
13 class FloatAnimationCurve; 13 class FloatAnimationCurve;
14 class TransformAnimationCurve; 14 class TransformAnimationCurve;
15 class IntSize;
16 class TransformOperations; 15 class TransformOperations;
17 16
18 // An animation curve is a function that returns a value given a time. 17 // 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. 18 // There are currently only two types of curve, float and transform.
20 class AnimationCurve { 19 class AnimationCurve {
21 public: 20 public:
22 enum Type { Float, Transform }; 21 enum Type { Float, Transform };
23 22
24 virtual ~AnimationCurve() { } 23 virtual ~AnimationCurve() { }
25 24
(...skipping 21 matching lines...) Expand all
47 46
48 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0; 47 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0;
49 48
50 // Partial Animation implementation. 49 // Partial Animation implementation.
51 virtual Type type() const OVERRIDE; 50 virtual Type type() const OVERRIDE;
52 }; 51 };
53 52
54 } // namespace cc 53 } // namespace cc
55 54
56 #endif // CCAnimation_h 55 #endif // CCAnimation_h
OLDNEW
« no previous file with comments | « no previous file | cc/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698