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

Side by Side Diff: cc/CCKeyframedAnimationCurve.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/CCInputHandler.h ('k') | cc/CCKeyframedAnimationCurve.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 CCKeyframedAnimationCurve_h 5 #ifndef CCKeyframedAnimationCurve_h
6 #define CCKeyframedAnimationCurve_h 6 #define CCKeyframedAnimationCurve_h
7 7
8 #include "CCAnimationCurve.h" 8 #include "CCAnimationCurve.h"
9 #include "CCTimingFunction.h" 9 #include "CCTimingFunction.h"
10 #include <public/WebTransformOperations.h> 10 #include <public/WebTransformOperations.h>
11 #include <wtf/OwnPtr.h> 11 #include <wtf/OwnPtr.h>
12 #include <wtf/PassOwnPtr.h> 12 #include <wtf/PassOwnPtr.h>
13 #include <wtf/Vector.h> 13 #include <wtf/Vector.h>
14 14
15 namespace WebCore { 15 namespace cc {
16 16
17 class CCKeyframe { 17 class CCKeyframe {
18 public: 18 public:
19 double time() const; 19 double time() const;
20 const CCTimingFunction* timingFunction() const; 20 const CCTimingFunction* timingFunction() const;
21 21
22 protected: 22 protected:
23 CCKeyframe(double time, PassOwnPtr<CCTimingFunction>); 23 CCKeyframe(double time, PassOwnPtr<CCTimingFunction>);
24 virtual ~CCKeyframe(); 24 virtual ~CCKeyframe();
25 25
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 virtual WebKit::WebTransformationMatrix getValue(double t) const OVERRIDE; 99 virtual WebKit::WebTransformationMatrix getValue(double t) const OVERRIDE;
100 100
101 private: 101 private:
102 CCKeyframedTransformAnimationCurve(); 102 CCKeyframedTransformAnimationCurve();
103 103
104 // Always sorted in order of increasing time. No two keyframes have the 104 // Always sorted in order of increasing time. No two keyframes have the
105 // same time. 105 // same time.
106 Vector<OwnPtr<CCTransformKeyframe> > m_keyframes; 106 Vector<OwnPtr<CCTransformKeyframe> > m_keyframes;
107 }; 107 };
108 108
109 } // namespace WebCore 109 } // namespace cc
110 110
111 #endif // CCKeyframedAnimationCurve_h 111 #endif // CCKeyframedAnimationCurve_h
OLDNEW
« no previous file with comments | « cc/CCInputHandler.h ('k') | cc/CCKeyframedAnimationCurve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698