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

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

Issue 2007073003: Move CSSPropertyID templates instantiations to a separate file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove more includes from CSSPropertyNames.h Created 4 years, 7 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 AnimatableValueKeyframe_h 5 #ifndef AnimatableValueKeyframe_h
6 #define AnimatableValueKeyframe_h 6 #define AnimatableValueKeyframe_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/Keyframe.h" 9 #include "core/animation/Keyframe.h"
10 #include "core/animation/animatable/AnimatableValue.h" 10 #include "core/animation/animatable/AnimatableValue.h"
11 #include "core/css/CSSPropertyIDTemplates.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
14 class CORE_EXPORT AnimatableValueKeyframe : public Keyframe { 15 class CORE_EXPORT AnimatableValueKeyframe : public Keyframe {
15 public: 16 public:
16 static PassRefPtr<AnimatableValueKeyframe> create() 17 static PassRefPtr<AnimatableValueKeyframe> create()
17 { 18 {
18 return adoptRef(new AnimatableValueKeyframe); 19 return adoptRef(new AnimatableValueKeyframe);
19 } 20 }
20 void setPropertyValue(CSSPropertyID property, PassRefPtr<AnimatableValue> va lue) 21 void setPropertyValue(CSSPropertyID property, PassRefPtr<AnimatableValue> va lue)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 }; 70 };
70 71
71 using AnimatableValuePropertySpecificKeyframe = AnimatableValueKeyframe::Propert ySpecificKeyframe; 72 using AnimatableValuePropertySpecificKeyframe = AnimatableValueKeyframe::Propert ySpecificKeyframe;
72 73
73 DEFINE_TYPE_CASTS(AnimatableValueKeyframe, Keyframe, value, value->isAnimatableV alueKeyframe(), value.isAnimatableValueKeyframe()); 74 DEFINE_TYPE_CASTS(AnimatableValueKeyframe, Keyframe, value, value->isAnimatableV alueKeyframe(), value.isAnimatableValueKeyframe());
74 DEFINE_TYPE_CASTS(AnimatableValuePropertySpecificKeyframe, Keyframe::PropertySpe cificKeyframe, value, value->isAnimatableValuePropertySpecificKeyframe(), value. isAnimatableValuePropertySpecificKeyframe()); 75 DEFINE_TYPE_CASTS(AnimatableValuePropertySpecificKeyframe, Keyframe::PropertySpe cificKeyframe, value, value->isAnimatableValuePropertySpecificKeyframe(), value. isAnimatableValuePropertySpecificKeyframe());
75 76
76 } // namespace blink 77 } // namespace blink
77 78
78 #endif 79 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698