| 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 17 matching lines...) Expand all Loading... |
| 28 InterpolationValue maybeConvertSingle(const PropertySpecificKeyframe&, | 28 InterpolationValue maybeConvertSingle(const PropertySpecificKeyframe&, |
| 29 const InterpolationEnvironment&, | 29 const InterpolationEnvironment&, |
| 30 const InterpolationValue& underlying, | 30 const InterpolationValue& underlying, |
| 31 ConversionCheckers&) const final; | 31 ConversionCheckers&) const final; |
| 32 | 32 |
| 33 InterpolationValue maybeConvertUnderlyingValue( | 33 InterpolationValue maybeConvertUnderlyingValue( |
| 34 const InterpolationEnvironment&) const final { | 34 const InterpolationEnvironment&) const final { |
| 35 return nullptr; | 35 return nullptr; |
| 36 } | 36 } |
| 37 | 37 |
| 38 // As we override CSSInterpolationType::maybeConvertSingle, these are never ca
lled. | 38 // As we override CSSInterpolationType::maybeConvertSingle, these are never |
| 39 // called. |
| 39 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, | 40 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, |
| 40 ConversionCheckers&) const final { | 41 ConversionCheckers&) const final { |
| 41 NOTREACHED(); | 42 NOTREACHED(); |
| 42 return nullptr; | 43 return nullptr; |
| 43 } | 44 } |
| 44 InterpolationValue maybeConvertInitial(const StyleResolverState&, | 45 InterpolationValue maybeConvertInitial(const StyleResolverState&, |
| 45 ConversionCheckers&) const final { | 46 ConversionCheckers&) const final { |
| 46 NOTREACHED(); | 47 NOTREACHED(); |
| 47 return nullptr; | 48 return nullptr; |
| 48 } | 49 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 66 } | 67 } |
| 67 | 68 |
| 68 void apply(const InterpolableValue&, | 69 void apply(const InterpolableValue&, |
| 69 const NonInterpolableValue*, | 70 const NonInterpolableValue*, |
| 70 InterpolationEnvironment&) const final; | 71 InterpolationEnvironment&) const final; |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace blink | 74 } // namespace blink |
| 74 | 75 |
| 75 #endif // CSSValueInterpolationType_h | 76 #endif // CSSValueInterpolationType_h |
| OLD | NEW |