| 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 SVGStrokeDasharrayStyleInterpolation_h | 5 #ifndef SVGStrokeDasharrayStyleInterpolation_h |
| 6 #define SVGStrokeDasharrayStyleInterpolation_h | 6 #define SVGStrokeDasharrayStyleInterpolation_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/animation/StyleInterpolation.h" | 9 #include "core/animation/StyleInterpolation.h" |
| 10 #include "core/css/CSSPrimitiveValue.h" | 10 #include "core/css/CSSPrimitiveValue.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 { | 23 { |
| 24 StyleInterpolation::trace(visitor); | 24 StyleInterpolation::trace(visitor); |
| 25 } | 25 } |
| 26 | 26 |
| 27 private: | 27 private: |
| 28 SVGStrokeDasharrayStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValu
e> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) | 28 SVGStrokeDasharrayStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValu
e> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) |
| 29 : StyleInterpolation(start, end, id) | 29 : StyleInterpolation(start, end, id) |
| 30 { } | 30 { } |
| 31 | 31 |
| 32 static bool canCreateFrom(const CSSValue&); | 32 static bool canCreateFrom(const CSSValue&); |
| 33 static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharr
ay(const InterpolableValue&); | 33 static PassRefPtr<CSSValueList> interpolableValueToStrokeDasharray(const Int
erpolableValue&); |
| 34 | 34 |
| 35 friend class AnimationSVGStrokeDasharrayStyleInterpolationTest; | 35 friend class AnimationSVGStrokeDasharrayStyleInterpolationTest; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } | 38 } |
| 39 | 39 |
| 40 #endif // SVGStrokeDasharrayStyleInterpolation_h | 40 #endif // SVGStrokeDasharrayStyleInterpolation_h |
| OLD | NEW |