OLD | NEW |
1 #ifndef VisibilityStyleInterpolation_h | 1 #ifndef VisibilityStyleInterpolation_h |
2 #define VisibilityStyleInterpolation_h | 2 #define VisibilityStyleInterpolation_h |
3 | 3 |
4 #include "core/CSSValueKeywords.h" | 4 #include "core/CSSValueKeywords.h" |
5 #include "core/CoreExport.h" | 5 #include "core/CoreExport.h" |
6 #include "core/animation/StyleInterpolation.h" | 6 #include "core/animation/StyleInterpolation.h" |
7 #include "core/css/CSSPrimitiveValue.h" | 7 #include "core/css/CSSPrimitiveValue.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 DECLARE_VIRTUAL_TRACE(); | 30 DECLARE_VIRTUAL_TRACE(); |
31 | 31 |
32 private: | 32 private: |
33 VisibilityStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start
, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) | 33 VisibilityStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start
, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) |
34 : StyleInterpolation(start, end, id) | 34 : StyleInterpolation(start, end, id) |
35 , m_notVisible(CSSValueVisible) | 35 , m_notVisible(CSSValueVisible) |
36 { | 36 { |
37 } | 37 } |
38 | 38 |
39 static PassOwnPtrWillBeRawPtr<InterpolableValue> visibilityToInterpolableVal
ue(const CSSValue&); | 39 static PassOwnPtrWillBeRawPtr<InterpolableValue> visibilityToInterpolableVal
ue(const CSSValue&); |
40 static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToVisibility(Interp
olableValue*, CSSValueID); | 40 static PassRefPtr<CSSValue> interpolableValueToVisibility(InterpolableValue*
, CSSValueID); |
41 | 41 |
42 CSSValueID m_notVisible; | 42 CSSValueID m_notVisible; |
43 | 43 |
44 friend class AnimationVisibilityStyleInterpolationTest; | 44 friend class AnimationVisibilityStyleInterpolationTest; |
45 }; | 45 }; |
46 } | 46 } |
47 | 47 |
48 #endif | 48 #endif |
OLD | NEW |