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

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

Issue 1082403003: Oilpan: fix build after r193843. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Keyframe_h 5 #ifndef Keyframe_h
6 #define Keyframe_h 6 #define Keyframe_h
7 7
8 #include "core/animation/AnimationEffect.h" 8 #include "core/animation/AnimationEffect.h"
9 #include "core/animation/AnimationNode.h" 9 #include "core/animation/AnimationNode.h"
10 #include "core/animation/PropertyHandle.h" 10 #include "core/animation/PropertyHandle.h"
(...skipping 10 matching lines...) Expand all
21 class Keyframe : public RefCountedWillBeGarbageCollectedFinalized<Keyframe> { 21 class Keyframe : public RefCountedWillBeGarbageCollectedFinalized<Keyframe> {
22 public: 22 public:
23 virtual ~Keyframe() { } 23 virtual ~Keyframe() { }
24 24
25 void setOffset(double offset) { m_offset = offset; } 25 void setOffset(double offset) { m_offset = offset; }
26 double offset() const { return m_offset; } 26 double offset() const { return m_offset; }
27 27
28 void setComposite(AnimationEffect::CompositeOperation composite) { m_composi te = composite; } 28 void setComposite(AnimationEffect::CompositeOperation composite) { m_composi te = composite; }
29 AnimationEffect::CompositeOperation composite() const { return m_composite; } 29 AnimationEffect::CompositeOperation composite() const { return m_composite; }
30 30
31 void setEasing(PassRefPtrWillBeRawPtr<TimingFunction> easing) { m_easing = e asing; } 31 void setEasing(PassRefPtr<TimingFunction> easing) { m_easing = easing; }
32 TimingFunction& easing() const { return *m_easing; } 32 TimingFunction& easing() const { return *m_easing; }
33 33
34 static bool compareOffsets(const RefPtrWillBeMember<Keyframe>& a, const RefP trWillBeMember<Keyframe>& b) 34 static bool compareOffsets(const RefPtrWillBeMember<Keyframe>& a, const RefP trWillBeMember<Keyframe>& b)
35 { 35 {
36 return a->offset() < b->offset(); 36 return a->offset() < b->offset();
37 } 37 }
38 38
39 virtual PropertyHandleSet properties() const = 0; 39 virtual PropertyHandleSet properties() const = 0;
40 40
41 virtual PassRefPtrWillBeRawPtr<Keyframe> clone() const = 0; 41 virtual PassRefPtrWillBeRawPtr<Keyframe> clone() const = 0;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 double m_offset; 99 double m_offset;
100 AnimationEffect::CompositeOperation m_composite; 100 AnimationEffect::CompositeOperation m_composite;
101 RefPtr<TimingFunction> m_easing; 101 RefPtr<TimingFunction> m_easing;
102 }; 102 };
103 103
104 } // namespace blink 104 } // namespace blink
105 105
106 #endif // Keyframe_h 106 #endif // Keyframe_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698