| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BasicShapeInterpolationFunctions_h | 5 #ifndef BasicShapeInterpolationFunctions_h |
| 6 #define BasicShapeInterpolationFunctions_h | 6 #define BasicShapeInterpolationFunctions_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/animation/InterpolationValue.h" | 9 #include "core/animation/InterpolationValue.h" |
| 9 #include <memory> | |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class BasicShape; | 13 class BasicShape; |
| 14 class CSSValue; | 14 class CSSValue; |
| 15 class CSSToLengthConversionData; | 15 class CSSToLengthConversionData; |
| 16 | 16 |
| 17 namespace BasicShapeInterpolationFunctions { | 17 namespace BasicShapeInterpolationFunctions { |
| 18 | 18 |
| 19 InterpolationValue MaybeConvertCSSValue(const CSSValue&); | 19 InterpolationValue MaybeConvertCSSValue(const CSSValue&); |
| 20 InterpolationValue MaybeConvertBasicShape(const BasicShape*, double zoom); | 20 InterpolationValue MaybeConvertBasicShape(const BasicShape*, double zoom); |
| 21 std::unique_ptr<InterpolableValue> CreateNeutralValue( | 21 std::unique_ptr<InterpolableValue> CreateNeutralValue( |
| 22 const NonInterpolableValue&); | 22 const NonInterpolableValue&); |
| 23 bool ShapesAreCompatible(const NonInterpolableValue&, | 23 bool ShapesAreCompatible(const NonInterpolableValue&, |
| 24 const NonInterpolableValue&); | 24 const NonInterpolableValue&); |
| 25 PassRefPtr<BasicShape> CreateBasicShape(const InterpolableValue&, | 25 PassRefPtr<BasicShape> CreateBasicShape(const InterpolableValue&, |
| 26 const NonInterpolableValue&, | 26 const NonInterpolableValue&, |
| 27 const CSSToLengthConversionData&); | 27 const CSSToLengthConversionData&); |
| 28 | 28 |
| 29 } // namespace BasicShapeInterpolationFunctions | 29 } // namespace BasicShapeInterpolationFunctions |
| 30 | 30 |
| 31 } // namespace blink | 31 } // namespace blink |
| 32 | 32 |
| 33 #endif // BasicShapeInterpolationFunctions_h | 33 #endif // BasicShapeInterpolationFunctions_h |
| OLD | NEW |