| 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 #ifndef ShadowStyleInterpolation_h | 5 #ifndef ShadowStyleInterpolation_h |
| 6 #define ShadowStyleInterpolation_h | 6 #define ShadowStyleInterpolation_h |
| 7 | 7 |
| 8 #include "core/animation/StyleInterpolation.h" | 8 #include "core/animation/StyleInterpolation.h" |
| 9 #include "core/css/CSSShadowValue.h" | 9 #include "core/css/CSSShadowValue.h" |
| 10 #include "core/layout/style/ComputedStyle.h" | 10 #include "core/style/ComputedStyle.h" |
| 11 #include "platform/Length.h" | 11 #include "platform/Length.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ShadowStyleInterpolation : public StyleInterpolation { | 15 class ShadowStyleInterpolation : public StyleInterpolation { |
| 16 public: | 16 public: |
| 17 typedef bool NonInterpolableType; | 17 typedef bool NonInterpolableType; |
| 18 | 18 |
| 19 static bool canCreateFrom(const CSSValue& start, const CSSValue& end); | 19 static bool canCreateFrom(const CSSValue& start, const CSSValue& end); |
| 20 | 20 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 } | 39 } |
| 40 | 40 |
| 41 static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthToInterpolableValue(P
assRefPtrWillBeRawPtr<CSSPrimitiveValue>); | 41 static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthToInterpolableValue(P
assRefPtrWillBeRawPtr<CSSPrimitiveValue>); |
| 42 | 42 |
| 43 friend class AnimationShadowStyleInterpolationTest; | 43 friend class AnimationShadowStyleInterpolationTest; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // ShadowStyleInterpolation_h | 48 #endif // ShadowStyleInterpolation_h |
| OLD | NEW |