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

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

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 years, 2 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 Keyframe_h 5 #ifndef Keyframe_h
6 #define Keyframe_h 6 #define Keyframe_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/AnimationEffectReadOnly.h" 9 #include "core/animation/AnimationEffectReadOnly.h"
10 #include "core/animation/EffectModel.h" 10 #include "core/animation/EffectModel.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 double underlyingFraction() const { 73 double underlyingFraction() const {
74 return m_composite == EffectModel::CompositeReplace ? 0 : 1; 74 return m_composite == EffectModel::CompositeReplace ? 0 : 1;
75 } 75 }
76 virtual bool isNeutral() const { 76 virtual bool isNeutral() const {
77 NOTREACHED(); 77 NOTREACHED();
78 return false; 78 return false;
79 } 79 }
80 virtual PassRefPtr<PropertySpecificKeyframe> cloneWithOffset( 80 virtual PassRefPtr<PropertySpecificKeyframe> cloneWithOffset(
81 double offset) const = 0; 81 double offset) const = 0;
82 82
83 // FIXME: Remove this once CompositorAnimations no longer depends on Animata bleValues 83 // FIXME: Remove this once CompositorAnimations no longer depends on
84 // AnimatableValues
84 virtual bool populateAnimatableValue( 85 virtual bool populateAnimatableValue(
85 CSSPropertyID, 86 CSSPropertyID,
86 Element&, 87 Element&,
87 const ComputedStyle& baseStyle, 88 const ComputedStyle& baseStyle,
88 const ComputedStyle* parentStyle) const { 89 const ComputedStyle* parentStyle) const {
89 return false; 90 return false;
90 } 91 }
91 virtual PassRefPtr<AnimatableValue> getAnimatableValue() const = 0; 92 virtual PassRefPtr<AnimatableValue> getAnimatableValue() const = 0;
92 93
93 virtual bool isAnimatableValuePropertySpecificKeyframe() const { 94 virtual bool isAnimatableValuePropertySpecificKeyframe() const {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 double m_offset; 130 double m_offset;
130 EffectModel::CompositeOperation m_composite; 131 EffectModel::CompositeOperation m_composite;
131 RefPtr<TimingFunction> m_easing; 132 RefPtr<TimingFunction> m_easing;
132 }; 133 };
133 134
134 using PropertySpecificKeyframe = Keyframe::PropertySpecificKeyframe; 135 using PropertySpecificKeyframe = Keyframe::PropertySpecificKeyframe;
135 136
136 } // namespace blink 137 } // namespace blink
137 138
138 #endif // Keyframe_h 139 #endif // Keyframe_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698