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 #include "config.h" | 5 #include "config.h" |
6 #include "core/animation/StringKeyframe.h" | 6 #include "core/animation/StringKeyframe.h" |
7 | 7 |
8 #include "core/animation/ColorStyleInterpolation.h" | 8 #include "core/animation/ColorStyleInterpolation.h" |
9 #include "core/animation/CompositorAnimations.h" | 9 #include "core/animation/CompositorAnimations.h" |
10 #include "core/animation/ConstantStyleInterpolation.h" | 10 #include "core/animation/ConstantStyleInterpolation.h" |
11 #include "core/animation/DeferredLegacyStyleInterpolation.h" | 11 #include "core/animation/DeferredLegacyStyleInterpolation.h" |
12 #include "core/animation/DoubleStyleInterpolation.h" | 12 #include "core/animation/DoubleStyleInterpolation.h" |
13 #include "core/animation/ImageSliceStyleInterpolation.h" | 13 #include "core/animation/ImageSliceStyleInterpolation.h" |
14 #include "core/animation/ImageStyleInterpolation.h" | 14 #include "core/animation/ImageStyleInterpolation.h" |
15 #include "core/animation/LegacyStyleInterpolation.h" | 15 #include "core/animation/LegacyStyleInterpolation.h" |
16 #include "core/animation/LengthBoxStyleInterpolation.h" | 16 #include "core/animation/LengthBoxStyleInterpolation.h" |
17 #include "core/animation/LengthPairStyleInterpolation.h" | 17 #include "core/animation/LengthPairStyleInterpolation.h" |
18 #include "core/animation/LengthStyleInterpolation.h" | 18 #include "core/animation/LengthStyleInterpolation.h" |
19 #include "core/animation/ListStyleInterpolation.h" | 19 #include "core/animation/ListStyleInterpolation.h" |
20 #include "core/animation/SVGStrokeDasharrayStyleInterpolation.h" | 20 #include "core/animation/SVGStrokeDasharrayStyleInterpolation.h" |
21 #include "core/animation/ShadowStyleInterpolation.h" | 21 #include "core/animation/ShadowStyleInterpolation.h" |
22 #include "core/animation/VisibilityStyleInterpolation.h" | 22 #include "core/animation/VisibilityStyleInterpolation.h" |
23 #include "core/animation/css/CSSAnimations.h" | 23 #include "core/animation/css/CSSAnimations.h" |
24 #include "core/css/CSSPropertyMetadata.h" | 24 #include "core/css/CSSPropertyMetadata.h" |
25 #include "core/css/resolver/StyleResolver.h" | 25 #include "core/css/resolver/StyleResolver.h" |
26 #include "core/layout/style/ComputedStyle.h" | 26 #include "core/style/ComputedStyle.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 StringKeyframe::StringKeyframe(const StringKeyframe& copyFrom) | 30 StringKeyframe::StringKeyframe(const StringKeyframe& copyFrom) |
31 : Keyframe(copyFrom.m_offset, copyFrom.m_composite, copyFrom.m_easing) | 31 : Keyframe(copyFrom.m_offset, copyFrom.m_composite, copyFrom.m_easing) |
32 , m_propertySet(copyFrom.m_propertySet->mutableCopy()) | 32 , m_propertySet(copyFrom.m_propertySet->mutableCopy()) |
33 { | 33 { |
34 } | 34 } |
35 | 35 |
36 void StringKeyframe::setPropertyValue(CSSPropertyID property, const String& valu
e, StyleSheetContents* styleSheetContents) | 36 void StringKeyframe::setPropertyValue(CSSPropertyID property, const String& valu
e, StyleSheetContents* styleSheetContents) |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 } | 406 } |
407 | 407 |
408 DEFINE_TRACE(StringKeyframe::PropertySpecificKeyframe) | 408 DEFINE_TRACE(StringKeyframe::PropertySpecificKeyframe) |
409 { | 409 { |
410 visitor->trace(m_value); | 410 visitor->trace(m_value); |
411 visitor->trace(m_animatableValueCache); | 411 visitor->trace(m_animatableValueCache); |
412 Keyframe::PropertySpecificKeyframe::trace(visitor); | 412 Keyframe::PropertySpecificKeyframe::trace(visitor); |
413 } | 413 } |
414 | 414 |
415 } | 415 } |
OLD | NEW |