OLD | NEW |
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 StringKeyframe_h | 5 #ifndef StringKeyframe_h |
6 #define StringKeyframe_h | 6 #define StringKeyframe_h |
7 | 7 |
8 #include "core/animation/Keyframe.h" | 8 #include "core/animation/Keyframe.h" |
9 #include "core/css/StylePropertySet.h" | 9 #include "core/css/StylePropertySet.h" |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 { } | 56 { } |
57 | 57 |
58 StringKeyframe(const StringKeyframe& copyFrom); | 58 StringKeyframe(const StringKeyframe& copyFrom); |
59 | 59 |
60 void setPropertyCSSValue(CSSPropertyID, CSSValue*); | 60 void setPropertyCSSValue(CSSPropertyID, CSSValue*); |
61 virtual PassRefPtrWillBeRawPtr<Keyframe> clone() const OVERRIDE; | 61 virtual PassRefPtrWillBeRawPtr<Keyframe> clone() const OVERRIDE; |
62 virtual PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> createPro
pertySpecificKeyframe(CSSPropertyID) const OVERRIDE; | 62 virtual PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> createPro
pertySpecificKeyframe(CSSPropertyID) const OVERRIDE; |
63 | 63 |
64 virtual bool isStringKeyframe() const OVERRIDE { return true; } | 64 virtual bool isStringKeyframe() const OVERRIDE { return true; } |
65 | 65 |
66 RefPtrWillBeRawPtr<MutableStylePropertySet> m_propertySet; | 66 RefPtrWillBeMember<MutableStylePropertySet> m_propertySet; |
67 }; | 67 }; |
68 | 68 |
69 typedef StringKeyframe::PropertySpecificKeyframe StringPropertySpecificKeyframe; | 69 typedef StringKeyframe::PropertySpecificKeyframe StringPropertySpecificKeyframe; |
70 | 70 |
71 DEFINE_TYPE_CASTS(StringKeyframe, Keyframe, value, value->isStringKeyframe(), va
lue.isStringKeyframe()); | 71 DEFINE_TYPE_CASTS(StringKeyframe, Keyframe, value, value->isStringKeyframe(), va
lue.isStringKeyframe()); |
72 DEFINE_TYPE_CASTS(StringPropertySpecificKeyframe, Keyframe::PropertySpecificKeyf
rame, value, value->isStringPropertySpecificKeyframe(), value.isStringPropertySp
ecificKeyframe()); | 72 DEFINE_TYPE_CASTS(StringPropertySpecificKeyframe, Keyframe::PropertySpecificKeyf
rame, value, value->isStringPropertySpecificKeyframe(), value.isStringPropertySp
ecificKeyframe()); |
73 | 73 |
74 } | 74 } |
75 | 75 |
76 #endif | 76 #endif |
OLD | NEW |