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

Side by Side Diff: Source/core/animation/LengthBoxStyleInterpolation.h

Issue 1304993002: Change Rect and Quad to be CSSValues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@split_counter_out_attempt_3
Patch Set: Review feedback Created 5 years, 4 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 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 LengthBoxStyleInterpolation_h 5 #ifndef LengthBoxStyleInterpolation_h
6 #define LengthBoxStyleInterpolation_h 6 #define LengthBoxStyleInterpolation_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/LengthStyleInterpolation.h" 9 #include "core/animation/LengthStyleInterpolation.h"
10 #include "core/css/CSSBorderImageSliceValue.h" 10 #include "core/css/CSSBorderImageSliceValue.h"
11 #include "core/css/Rect.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class CORE_EXPORT LengthBoxStyleInterpolation : public StyleInterpolation { 14 class CORE_EXPORT LengthBoxStyleInterpolation : public StyleInterpolation {
16 public: 15 public:
17 static PassRefPtrWillBeRawPtr<LengthBoxStyleInterpolation> maybeCreateFrom(C SSValue&, CSSValue&, CSSPropertyID); 16 static PassRefPtrWillBeRawPtr<LengthBoxStyleInterpolation> maybeCreateFrom(C SSValue&, CSSValue&, CSSPropertyID);
18 17
19 static bool usesDefaultInterpolation(const CSSValue&, const CSSValue&); 18 static bool usesDefaultInterpolation(const CSSValue&, const CSSValue&);
20 19
21 void apply(StyleResolverState&) const override; 20 void apply(StyleResolverState&) const override;
(...skipping 11 matching lines...) Expand all
33 32
34 RefPtrWillBeMember<CSSValue> m_startCSSValue; 33 RefPtrWillBeMember<CSSValue> m_startCSSValue;
35 RefPtrWillBeMember<CSSValue> m_endCSSValue; 34 RefPtrWillBeMember<CSSValue> m_endCSSValue;
36 35
37 friend class AnimationLengthBoxStyleInterpolationTest; 36 friend class AnimationLengthBoxStyleInterpolationTest;
38 }; 37 };
39 38
40 } // namespace blink 39 } // namespace blink
41 40
42 #endif // LengthBoxStyleInterpolation_h 41 #endif // LengthBoxStyleInterpolation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698