| 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 SKY_ENGINE_CORE_ANIMATION_STRINGKEYFRAME_H_ |
| 6 #define StringKeyframe_h | 6 #define SKY_ENGINE_CORE_ANIMATION_STRINGKEYFRAME_H_ |
| 7 | 7 |
| 8 #include "sky/engine/core/animation/Keyframe.h" | 8 #include "sky/engine/core/animation/Keyframe.h" |
| 9 #include "sky/engine/core/css/StylePropertySet.h" | 9 #include "sky/engine/core/css/StylePropertySet.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class StyleSheetContents; | 13 class StyleSheetContents; |
| 14 | 14 |
| 15 class StringKeyframe : public Keyframe { | 15 class StringKeyframe : public Keyframe { |
| 16 public: | 16 public: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 RefPtr<MutableStylePropertySet> m_propertySet; | 65 RefPtr<MutableStylePropertySet> m_propertySet; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 typedef StringKeyframe::PropertySpecificKeyframe StringPropertySpecificKeyframe; | 68 typedef StringKeyframe::PropertySpecificKeyframe StringPropertySpecificKeyframe; |
| 69 | 69 |
| 70 DEFINE_TYPE_CASTS(StringKeyframe, Keyframe, value, value->isStringKeyframe(), va
lue.isStringKeyframe()); | 70 DEFINE_TYPE_CASTS(StringKeyframe, Keyframe, value, value->isStringKeyframe(), va
lue.isStringKeyframe()); |
| 71 DEFINE_TYPE_CASTS(StringPropertySpecificKeyframe, Keyframe::PropertySpecificKeyf
rame, value, value->isStringPropertySpecificKeyframe(), value.isStringPropertySp
ecificKeyframe()); | 71 DEFINE_TYPE_CASTS(StringPropertySpecificKeyframe, Keyframe::PropertySpecificKeyf
rame, value, value->isStringPropertySpecificKeyframe(), value.isStringPropertySp
ecificKeyframe()); |
| 72 | 72 |
| 73 } | 73 } |
| 74 | 74 |
| 75 #endif | 75 #endif // SKY_ENGINE_CORE_ANIMATION_STRINGKEYFRAME_H_ |
| OLD | NEW |