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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationStack.h

Issue 1412423004: Web Animations: Move property handle filtering into AnimationStack building (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgAdditiveApplication
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/AnimationStack.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationStack.h b/third_party/WebKit/Source/core/animation/AnimationStack.h
index 7d462246ad993f983d50dc9f042dcd97091219eb..ac2c0b754118f7a6ff55a5d2cd26a198b9ecb472 100644
--- a/third_party/WebKit/Source/core/animation/AnimationStack.h
+++ b/third_party/WebKit/Source/core/animation/AnimationStack.h
@@ -56,7 +56,9 @@ public:
void add(SampledEffect* effect) { m_effects.append(effect); }
bool isEmpty() const { return m_effects.isEmpty(); }
bool hasActiveAnimationsOnCompositor(CSSPropertyID) const;
- static ActiveInterpolationsMap activeInterpolations(AnimationStack*, const HeapVector<Member<InertEffect>>* newAnimations, const HeapHashSet<Member<const Animation>>* suppressedAnimations, KeyframeEffect::Priority, double timelineCurrentTime);
+
+ using PropertyHandleFilter = bool (*)(const PropertyHandle&);
+ static ActiveInterpolationsMap activeInterpolations(AnimationStack*, const HeapVector<Member<InertEffect>>* newAnimations, const HeapHashSet<Member<const Animation>>* suppressedAnimations, KeyframeEffect::Priority, double timelineCurrentTime, PropertyHandleFilter = nullptr);
bool getAnimatedBoundingBox(FloatBox&, CSSPropertyID) const;
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698