| 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 StyleInterpolation_h | 5 #ifndef StyleInterpolation_h |
| 6 #define StyleInterpolation_h | 6 #define StyleInterpolation_h |
| 7 | 7 |
| 8 #include "core/animation/Interpolation.h" | |
| 9 #include "gen/sky/core/CSSPropertyNames.h" | 8 #include "gen/sky/core/CSSPropertyNames.h" |
| 9 #include "sky/engine/core/animation/Interpolation.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class StyleResolverState; | 13 class StyleResolverState; |
| 14 | 14 |
| 15 class StyleInterpolation : public Interpolation { | 15 class StyleInterpolation : public Interpolation { |
| 16 public: | 16 public: |
| 17 // 1) convert m_cachedValue into an X | 17 // 1) convert m_cachedValue into an X |
| 18 // 2) shove X into StyleResolverState | 18 // 2) shove X into StyleResolverState |
| 19 // X can be: | 19 // X can be: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 34 , m_id(id) | 34 , m_id(id) |
| 35 { | 35 { |
| 36 } | 36 } |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 DEFINE_TYPE_CASTS(StyleInterpolation, Interpolation, value, value->isStyleInterp
olation(), value.isStyleInterpolation()); | 39 DEFINE_TYPE_CASTS(StyleInterpolation, Interpolation, value, value->isStyleInterp
olation(), value.isStyleInterpolation()); |
| 40 | 40 |
| 41 } | 41 } |
| 42 | 42 |
| 43 #endif | 43 #endif |
| OLD | NEW |