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

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

Issue 2578043002: Rename apply() in CSSInterpolationType subclasses (Closed)
Patch Set: rebased Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CSSFontSizeInterpolationType_h 5 #ifndef CSSFontSizeInterpolationType_h
6 #define CSSFontSizeInterpolationType_h 6 #define CSSFontSizeInterpolationType_h
7 7
8 #include "core/animation/CSSInterpolationType.h" 8 #include "core/animation/CSSInterpolationType.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CSSFontSizeInterpolationType : public CSSInterpolationType { 12 class CSSFontSizeInterpolationType : public CSSInterpolationType {
13 public: 13 public:
14 CSSFontSizeInterpolationType(PropertyHandle property) 14 CSSFontSizeInterpolationType(PropertyHandle property)
15 : CSSInterpolationType(property) { 15 : CSSInterpolationType(property) {
16 DCHECK_EQ(cssProperty(), CSSPropertyFontSize); 16 DCHECK_EQ(cssProperty(), CSSPropertyFontSize);
17 } 17 }
18 18
19 InterpolationValue maybeConvertUnderlyingValue( 19 InterpolationValue maybeConvertUnderlyingValue(
20 const InterpolationEnvironment&) const final; 20 const InterpolationEnvironment&) const final;
21 void apply(const InterpolableValue&, 21 void applyStandardPropertyValue(const InterpolableValue&,
22 const NonInterpolableValue*, 22 const NonInterpolableValue*,
23 InterpolationEnvironment&) const final; 23 StyleResolverState&) const final;
24 24
25 private: 25 private:
26 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, 26 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying,
27 ConversionCheckers&) const final; 27 ConversionCheckers&) const final;
28 InterpolationValue maybeConvertInitial(const StyleResolverState&, 28 InterpolationValue maybeConvertInitial(const StyleResolverState&,
29 ConversionCheckers&) const final; 29 ConversionCheckers&) const final;
30 InterpolationValue maybeConvertInherit(const StyleResolverState&, 30 InterpolationValue maybeConvertInherit(const StyleResolverState&,
31 ConversionCheckers&) const final; 31 ConversionCheckers&) const final;
32 InterpolationValue maybeConvertValue(const CSSValue&, 32 InterpolationValue maybeConvertValue(const CSSValue&,
33 const StyleResolverState&, 33 const StyleResolverState&,
34 ConversionCheckers&) const final; 34 ConversionCheckers&) const final;
35 }; 35 };
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif // CSSFontSizeInterpolationType_h 39 #endif // CSSFontSizeInterpolationType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698