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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT LengthBoxStyleInterpolation : public StyleInterpolation { 14 class CORE_EXPORT LengthBoxStyleInterpolation : public StyleInterpolation {
15 public: 15 public:
16 static PassRefPtr<LengthBoxStyleInterpolation> maybeCreateFrom(CSSValue&, CS SValue&, CSSPropertyID); 16 static PassRefPtr<LengthBoxStyleInterpolation> maybeCreateFrom(CSSValue&, CS SValue&, CSSPropertyID);
17 17
18 static bool usesDefaultInterpolation(const CSSValue&, const CSSValue&); 18 static bool usesDefaultInterpolation(const CSSValue&, const CSSValue&);
19 19
20 void apply(StyleResolverState&) const override; 20 void apply(StyleResolverState&) const override;
21 21
22 private: 22 private:
23 LengthBoxStyleInterpolation(PassOwnPtr<InterpolableValue> startInterpolation , PassOwnPtr<InterpolableValue> endInterpolation, CSSPropertyID id, CSSValue* st artCSS, CSSValue* endCSS) 23 LengthBoxStyleInterpolation(PassOwnPtr<InterpolableValue> startInterpolation , PassOwnPtr<InterpolableValue> endInterpolation, CSSPropertyID id, CSSValue* st artCSS, CSSValue* endCSS)
24 : StyleInterpolation(std::move(startInterpolation), std::move(endInterpo lation), id) 24 : StyleInterpolation(std::move(startInterpolation), std::move(endInterpo lation), id)
25 , m_startCSSValue(startCSS) 25 , m_startCSSValue(startCSS)
26 , m_endCSSValue(endCSS) 26 , m_endCSSValue(endCSS)
27 { } 27 { }
28 28
29 static PassOwnPtr<InterpolableValue> lengthBoxtoInterpolableValue(const CSSV alue&, const CSSValue&, bool); 29 static PassOwnPtr<InterpolableValue> lengthBoxtoInterpolableValue(const CSSV alue&, const CSSValue&, bool);
30 static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToLengthBox(Interpo lableValue*, const CSSValue&, const CSSValue&); 30 static RawPtr<CSSValue> interpolableValueToLengthBox(InterpolableValue*, con st CSSValue&, const CSSValue&);
31 31
32 RefPtrWillBePersistent<CSSValue> m_startCSSValue; 32 Persistent<CSSValue> m_startCSSValue;
33 RefPtrWillBePersistent<CSSValue> m_endCSSValue; 33 Persistent<CSSValue> m_endCSSValue;
34 34
35 friend class AnimationLengthBoxStyleInterpolationTest; 35 friend class AnimationLengthBoxStyleInterpolationTest;
36 }; 36 };
37 37
38 } // namespace blink 38 } // namespace blink
39 39
40 #endif // LengthBoxStyleInterpolation_h 40 #endif // LengthBoxStyleInterpolation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698