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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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"
14 13
15 namespace blink { 14 namespace blink {
16 15
17 // Stores all adjacent pairs of keyframes (represented by Interpolations) in a K eyframeEffectModel 16 // Stores all adjacent pairs of keyframes (represented by Interpolations) in a K eyframeEffectModel
18 // with keyframe offset data preprocessed for more efficient active keyframe pai r sampling. 17 // with keyframe offset data preprocessed for more efficient active keyframe pai r sampling.
19 class CORE_EXPORT InterpolationEffect { 18 class CORE_EXPORT InterpolationEffect {
20 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 19 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
21 public: 20 public:
22 InterpolationEffect() 21 InterpolationEffect()
23 : m_isPopulated(false) 22 : m_isPopulated(false)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 double m_applyTo; 59 double m_applyTo;
61 }; 60 };
62 61
63 bool m_isPopulated; 62 bool m_isPopulated;
64 Vector<InterpolationRecord> m_interpolations; 63 Vector<InterpolationRecord> m_interpolations;
65 }; 64 };
66 65
67 } // namespace blink 66 } // namespace blink
68 67
69 #endif // InterpolationEffect_h 68 #endif // InterpolationEffect_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698