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

Side by Side Diff: sky/engine/core/animation/SampledEffect.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 SampledEffect_h 5 #ifndef SampledEffect_h
6 #define SampledEffect_h 6 #define SampledEffect_h
7 7
8 #include "core/animation/Animation.h" 8 #include "core/animation/Animation.h"
9 #include "core/animation/AnimationPlayer.h" 9 #include "core/animation/AnimationPlayer.h"
10 #include "core/animation/Interpolation.h" 10 #include "core/animation/Interpolation.h"
11 #include "wtf/BitArray.h" 11 #include "wtf/BitArray.h"
12 #include "wtf/Vector.h" 12 #include "wtf/Vector.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class SampledEffect : public DummyBase<SampledEffect> { 16 class SampledEffect {
17 public: 17 public:
18 static PassOwnPtr<SampledEffect> create(Animation* animation, PassOwnPtr<Vec tor<RefPtr<Interpolation> > > interpolations) 18 static PassOwnPtr<SampledEffect> create(Animation* animation, PassOwnPtr<Vec tor<RefPtr<Interpolation> > > interpolations)
19 { 19 {
20 return adoptPtr(new SampledEffect(animation, interpolations)); 20 return adoptPtr(new SampledEffect(animation, interpolations));
21 } 21 }
22 22
23 bool canChange() const; 23 bool canChange() const;
24 void clear(); 24 void clear();
25 25
26 const Vector<RefPtr<Interpolation> >& interpolations() const { return *m_int erpolations; } 26 const Vector<RefPtr<Interpolation> >& interpolations() const { return *m_int erpolations; }
(...skipping 15 matching lines...) Expand all
42 RefPtr<AnimationPlayer> m_player; 42 RefPtr<AnimationPlayer> m_player;
43 #endif 43 #endif
44 OwnPtr<Vector<RefPtr<Interpolation> > > m_interpolations; 44 OwnPtr<Vector<RefPtr<Interpolation> > > m_interpolations;
45 const unsigned m_sequenceNumber; 45 const unsigned m_sequenceNumber;
46 Animation::Priority m_priority; 46 Animation::Priority m_priority;
47 }; 47 };
48 48
49 } // namespace blink 49 } // namespace blink
50 50
51 #endif 51 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/animation/KeyframeEffectModel.h ('k') | sky/engine/core/animation/css/CSSAnimations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698