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

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

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 Interpolation_h 5 #ifndef Interpolation_h
6 #define Interpolation_h 6 #define Interpolation_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/InterpolableValue.h" 9 #include "core/animation/InterpolableValue.h"
10 #include "platform/heap/Handle.h" 10 #include "wtf/Forward.h"
11 #include "wtf/RefCounted.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
14 class PropertyHandle; 15 class PropertyHandle;
15 16
16 // Represents an animation's effect between an adjacent pair of PropertySpecific Keyframes. 17 // Represents an animation's effect between an adjacent pair of PropertySpecific Keyframes.
17 class CORE_EXPORT Interpolation : public RefCounted<Interpolation> { 18 class CORE_EXPORT Interpolation : public RefCounted<Interpolation> {
18 WTF_MAKE_NONCOPYABLE(Interpolation); 19 WTF_MAKE_NONCOPYABLE(Interpolation);
19 public: 20 public:
20 virtual ~Interpolation(); 21 virtual ~Interpolation();
(...skipping 24 matching lines...) Expand all
45 friend class AnimationInterpolationEffectTest; 46 friend class AnimationInterpolationEffectTest;
46 friend class AnimationDoubleStyleInterpolationTest; 47 friend class AnimationDoubleStyleInterpolationTest;
47 friend class AnimationVisibilityStyleInterpolationTest; 48 friend class AnimationVisibilityStyleInterpolationTest;
48 }; 49 };
49 50
50 using ActiveInterpolations = Vector<RefPtr<Interpolation>, 1>; 51 using ActiveInterpolations = Vector<RefPtr<Interpolation>, 1>;
51 52
52 } // namespace blink 53 } // namespace blink
53 54
54 #endif // Interpolation_h 55 #endif // Interpolation_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/animation/AnimationEffect.h ('k') | third_party/WebKit/Source/core/animation/Keyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698