Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Side by Side Diff: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h

Issue 2564793002: Add smooth interpolation support for <color> custom properties (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 CSSColorInterpolationType_h 5 #ifndef CSSColorInterpolationType_h
6 #define CSSColorInterpolationType_h 6 #define CSSColorInterpolationType_h
7 7
8 #include "core/CSSValueKeywords.h" 8 #include "core/CSSValueKeywords.h"
9 #include "core/animation/CSSInterpolationType.h" 9 #include "core/animation/CSSInterpolationType.h"
10 #include "platform/graphics/Color.h" 10 #include "platform/graphics/Color.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ConversionCheckers&) const final; 43 ConversionCheckers&) const final;
44 InterpolationValue maybeConvertInitial(const StyleResolverState&, 44 InterpolationValue maybeConvertInitial(const StyleResolverState&,
45 ConversionCheckers&) const final; 45 ConversionCheckers&) const final;
46 InterpolationValue maybeConvertInherit(const StyleResolverState&, 46 InterpolationValue maybeConvertInherit(const StyleResolverState&,
47 ConversionCheckers&) const final; 47 ConversionCheckers&) const final;
48 InterpolationValue maybeConvertValue(const CSSValue&, 48 InterpolationValue maybeConvertValue(const CSSValue&,
49 const StyleResolverState&, 49 const StyleResolverState&,
50 ConversionCheckers&) const final; 50 ConversionCheckers&) const final;
51 InterpolationValue convertStyleColorPair(const StyleColor&, 51 InterpolationValue convertStyleColorPair(const StyleColor&,
52 const StyleColor&) const; 52 const StyleColor&) const;
53
54 const CSSValue* createCSSValue(const InterpolableValue&,
55 const NonInterpolableValue*,
56 const StyleResolverState&) const final;
53 }; 57 };
54 58
55 } // namespace blink 59 } // namespace blink
56 60
57 #endif // CSSColorInterpolationType_h 61 #endif // CSSColorInterpolationType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698