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

Side by Side Diff: third_party/WebKit/Source/core/animation/PrimitiveInterpolation.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PrimitiveInterpolation_h 5 #ifndef PrimitiveInterpolation_h
6 #define PrimitiveInterpolation_h 6 #define PrimitiveInterpolation_h
7 7
8 #include "core/animation/TypedInterpolationValue.h" 8 #include "core/animation/TypedInterpolationValue.h"
9 #include "platform/animation/AnimationUtilities.h" 9 #include "platform/animation/AnimationUtilities.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "wtf/PtrUtil.h" 11 #include "wtf/PtrUtil.h"
12 #include "wtf/Vector.h" 12 #include "wtf/Vector.h"
13 #include <cmath> 13 #include <cmath>
14 #include <memory> 14 #include <memory>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class StyleResolverState;
19 18
20 // Represents an animation's effect between an adjacent pair of 19 // Represents an animation's effect between an adjacent pair of
21 // PropertySpecificKeyframes after converting the keyframes to an internal 20 // PropertySpecificKeyframes after converting the keyframes to an internal
22 // format with respect to the animation environment and underlying values. 21 // format with respect to the animation environment and underlying values.
23 class PrimitiveInterpolation { 22 class PrimitiveInterpolation {
24 USING_FAST_MALLOC(PrimitiveInterpolation); 23 USING_FAST_MALLOC(PrimitiveInterpolation);
25 WTF_MAKE_NONCOPYABLE(PrimitiveInterpolation); 24 WTF_MAKE_NONCOPYABLE(PrimitiveInterpolation);
26 25
27 public: 26 public:
28 virtual ~PrimitiveInterpolation() {} 27 virtual ~PrimitiveInterpolation() {}
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool isFlip() const final { return true; } 138 bool isFlip() const final { return true; }
140 139
141 std::unique_ptr<TypedInterpolationValue> m_start; 140 std::unique_ptr<TypedInterpolationValue> m_start;
142 std::unique_ptr<TypedInterpolationValue> m_end; 141 std::unique_ptr<TypedInterpolationValue> m_end;
143 mutable double m_lastFraction; 142 mutable double m_lastFraction;
144 }; 143 };
145 144
146 } // namespace blink 145 } // namespace blink
147 146
148 #endif // PrimitiveInterpolation_h 147 #endif // PrimitiveInterpolation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698