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

Side by Side Diff: cc/CCAnimationCurve.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/CCActiveAnimationTest.cpp ('k') | cc/CCAnimationCurve.cpp » ('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 <public/WebTransformationMatrix.h> 8 #include <public/WebTransformationMatrix.h>
9 #include <wtf/PassOwnPtr.h> 9 #include <wtf/PassOwnPtr.h>
10 10
11 namespace WebCore { 11 namespace cc {
12 12
13 class CCFloatAnimationCurve; 13 class CCFloatAnimationCurve;
14 class CCTransformAnimationCurve; 14 class CCTransformAnimationCurve;
15 class IntSize; 15 class IntSize;
16 class TransformOperations; 16 class TransformOperations;
17 17
18 // An animation curve is a function that returns a value given a time. 18 // 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. 19 // There are currently only two types of curve, float and transform.
20 class CCAnimationCurve { 20 class CCAnimationCurve {
21 public: 21 public:
(...skipping 22 matching lines...) Expand all
44 class CCTransformAnimationCurve : public CCAnimationCurve { 44 class CCTransformAnimationCurve : public CCAnimationCurve {
45 public: 45 public:
46 virtual ~CCTransformAnimationCurve() { } 46 virtual ~CCTransformAnimationCurve() { }
47 47
48 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0; 48 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0;
49 49
50 // Partial CCAnimation implementation. 50 // Partial CCAnimation implementation.
51 virtual Type type() const OVERRIDE { return Transform; } 51 virtual Type type() const OVERRIDE { return Transform; }
52 }; 52 };
53 53
54 } // namespace WebCore 54 } // namespace cc
55 55
56 #endif // CCAnimation_h 56 #endif // CCAnimation_h
OLDNEW
« no previous file with comments | « cc/CCActiveAnimationTest.cpp ('k') | cc/CCAnimationCurve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698