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

Unified Diff: Source/core/animation/StringKeyframe.h

Issue 851693007: Prepare for responsive CSS animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Compositor restarts after style change Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/StringKeyframe.h
diff --git a/Source/core/animation/StringKeyframe.h b/Source/core/animation/StringKeyframe.h
index 5dc8603668d5217049e543cc5755a6353a311e21..0cd12abc8190ca292cf13073021f5fb11d7ac999 100644
--- a/Source/core/animation/StringKeyframe.h
+++ b/Source/core/animation/StringKeyframe.h
@@ -19,6 +19,7 @@ public:
return adoptRefWillBeNoop(new StringKeyframe);
}
void setPropertyValue(CSSPropertyID, const String& value, StyleSheetContents*);
+ void setPropertyValue(CSSPropertyID, PassRefPtr<CSSValue>);
void clearPropertyValue(CSSPropertyID property) { m_propertySet->removeProperty(property); }
CSSValue* propertyValue(CSSPropertyID property) const
{
@@ -37,6 +38,7 @@ public:
CSSValue* value() const { return m_value.get(); }
virtual const PassRefPtrWillBeRawPtr<AnimatableValue> getAnimatableValue() const override final { return m_animatableValueCache.get(); }
+ void setAnimatableValue(PassRefPtr<AnimatableValue>);
virtual PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const override final;
virtual PassRefPtrWillBeRawPtr<Interpolation> maybeCreateInterpolation(CSSPropertyID, blink::Keyframe::PropertySpecificKeyframe& end, Element*) const override final;

Powered by Google App Engine
This is Rietveld 408576698