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

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

Issue 2694383002: Don't animate caret-color: auto (Closed)
Patch Set: Fix composition test 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"
11 #include <memory> 11 #include <memory>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class StyleColor; 15 class StyleColor;
16 struct OptionalStyleColor;
16 17
17 class CSSColorInterpolationType : public CSSInterpolationType { 18 class CSSColorInterpolationType : public CSSInterpolationType {
18 public: 19 public:
19 CSSColorInterpolationType(PropertyHandle property) 20 CSSColorInterpolationType(PropertyHandle property)
20 : CSSInterpolationType(property) {} 21 : CSSInterpolationType(property) {}
21 22
22 InterpolationValue maybeConvertStandardPropertyUnderlyingValue( 23 InterpolationValue maybeConvertStandardPropertyUnderlyingValue(
23 const ComputedStyle&) const final; 24 const ComputedStyle&) const final;
24 void applyStandardPropertyValue(const InterpolableValue&, 25 void applyStandardPropertyValue(const InterpolableValue&,
25 const NonInterpolableValue*, 26 const NonInterpolableValue*,
(...skipping 15 matching lines...) Expand all
41 private: 42 private:
42 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, 43 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying,
43 ConversionCheckers&) const final; 44 ConversionCheckers&) const final;
44 InterpolationValue maybeConvertInitial(const StyleResolverState&, 45 InterpolationValue maybeConvertInitial(const StyleResolverState&,
45 ConversionCheckers&) const final; 46 ConversionCheckers&) const final;
46 InterpolationValue maybeConvertInherit(const StyleResolverState&, 47 InterpolationValue maybeConvertInherit(const StyleResolverState&,
47 ConversionCheckers&) const final; 48 ConversionCheckers&) const final;
48 InterpolationValue maybeConvertValue(const CSSValue&, 49 InterpolationValue maybeConvertValue(const CSSValue&,
49 const StyleResolverState*, 50 const StyleResolverState*,
50 ConversionCheckers&) const final; 51 ConversionCheckers&) const final;
51 InterpolationValue convertStyleColorPair(const StyleColor&, 52 InterpolationValue convertStyleColorPair(const OptionalStyleColor&,
52 const StyleColor&) const; 53 const OptionalStyleColor&) const;
53 54
54 const CSSValue* createCSSValue(const InterpolableValue&, 55 const CSSValue* createCSSValue(const InterpolableValue&,
55 const NonInterpolableValue*, 56 const NonInterpolableValue*,
56 const StyleResolverState&) const final; 57 const StyleResolverState&) const final;
57 }; 58 };
58 59
59 } // namespace blink 60 } // namespace blink
60 61
61 #endif // CSSColorInterpolationType_h 62 #endif // CSSColorInterpolationType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698