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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 InterpolationEffect_h 5 #ifndef InterpolationEffect_h
6 #define InterpolationEffect_h 6 #define InterpolationEffect_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/Interpolation.h" 9 #include "core/animation/Interpolation.h"
10 #include "core/animation/Keyframe.h" 10 #include "core/animation/Keyframe.h"
11 #include "platform/RuntimeEnabledFeatures.h" 11 #include "platform/RuntimeEnabledFeatures.h"
12 #include "platform/animation/TimingFunction.h" 12 #include "platform/animation/TimingFunction.h"
13 #include "wtf/PassOwnPtr.h"
13 14
14 namespace blink { 15 namespace blink {
15 16
16 // Stores all adjacent pairs of keyframes (represented by Interpolations) in a K eyframeEffectModel 17 // Stores all adjacent pairs of keyframes (represented by Interpolations) in a K eyframeEffectModel
17 // with keyframe offset data preprocessed for more efficient active keyframe pai r sampling. 18 // with keyframe offset data preprocessed for more efficient active keyframe pai r sampling.
18 class CORE_EXPORT InterpolationEffect { 19 class CORE_EXPORT InterpolationEffect {
19 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 20 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
20 public: 21 public:
21 InterpolationEffect() 22 InterpolationEffect()
22 : m_isPopulated(false) 23 : m_isPopulated(false)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 double m_applyTo; 60 double m_applyTo;
60 }; 61 };
61 62
62 bool m_isPopulated; 63 bool m_isPopulated;
63 Vector<InterpolationRecord> m_interpolations; 64 Vector<InterpolationRecord> m_interpolations;
64 }; 65 };
65 66
66 } // namespace blink 67 } // namespace blink
67 68
68 #endif // InterpolationEffect_h 69 #endif // InterpolationEffect_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698