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 "CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
9 #include "core/animation/interpolation/Interpolation.h" | 9 #include "core/animation/interpolation/Interpolation.h" |
10 | 10 |
11 namespace WebCore { | 11 namespace WebCore { |
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 |
(...skipping 20 matching lines...) Expand all Loading... |
39 , m_id(id) | 39 , m_id(id) |
40 { | 40 { |
41 } | 41 } |
42 }; | 42 }; |
43 | 43 |
44 DEFINE_TYPE_CASTS(StyleInterpolation, Interpolation, value, value->isStyleInterp
olation(), value.isStyleInterpolation()); | 44 DEFINE_TYPE_CASTS(StyleInterpolation, Interpolation, value, value->isStyleInterp
olation(), value.isStyleInterpolation()); |
45 | 45 |
46 } | 46 } |
47 | 47 |
48 #endif | 48 #endif |
OLD | NEW |