OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CSSValueInterpolationType_h | 5 #ifndef CSSValueInterpolationType_h |
6 #define CSSValueInterpolationType_h | 6 #define CSSValueInterpolationType_h |
7 | 7 |
8 #include "core/animation/CSSInterpolationType.h" | 8 #include "core/animation/CSSInterpolationType.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 return nullptr; | 59 return nullptr; |
60 } | 60 } |
61 | 61 |
62 void composite(UnderlyingValueOwner& underlyingValueOwner, | 62 void composite(UnderlyingValueOwner& underlyingValueOwner, |
63 double underlyingFraction, | 63 double underlyingFraction, |
64 const InterpolationValue& value, | 64 const InterpolationValue& value, |
65 double interpolationFraction) const final { | 65 double interpolationFraction) const final { |
66 underlyingValueOwner.set(*this, value); | 66 underlyingValueOwner.set(*this, value); |
67 } | 67 } |
68 | 68 |
69 void apply(const InterpolableValue&, | 69 void applyStandardPropertyValue(const InterpolableValue&, |
70 const NonInterpolableValue*, | 70 const NonInterpolableValue*, |
71 InterpolationEnvironment&) const final; | 71 StyleResolverState&) const final; |
72 }; | 72 }; |
73 | 73 |
74 } // namespace blink | 74 } // namespace blink |
75 | 75 |
76 #endif // CSSValueInterpolationType_h | 76 #endif // CSSValueInterpolationType_h |
OLD | NEW |