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

Unified Diff: Source/core/animation/css/CSSAnimations.h

Issue 23874019: Web Animations CSS: Start running animations on the compositor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup isRunning* and shouldCompositeForAnimation Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/css/CSSAnimations.h
diff --git a/Source/core/animation/css/CSSAnimations.h b/Source/core/animation/css/CSSAnimations.h
index b0b7e2a11eec1cfd3ab7f2cf57cf107fc1c9ceda..ebe92f071ee438f02eacc35a40ad774526bfe9ba 100644
--- a/Source/core/animation/css/CSSAnimations.h
+++ b/Source/core/animation/css/CSSAnimations.h
@@ -119,6 +119,8 @@ public:
const AnimationEffect::CompositableValueMap& compositableValuesForTransitions() const { return m_compositableValuesForTransitions; }
AnimationEffect::CompositableValueMap& compositableValuesForAnimations() { return m_compositableValuesForAnimations; }
+ bool hasPendingCandidatesForCompositorAnimation() const;
Steve Block 2013/11/18 05:03:03 Where is this used?
dstockwell 2013/11/18 06:11:20 Removed.
+
bool isEmpty() const
{
return m_newAnimations.isEmpty()
@@ -164,6 +166,9 @@ public:
void maybeApplyPendingUpdate(Element*);
bool isEmpty() const { return m_animations.isEmpty() && m_transitions.isEmpty() && !m_pendingUpdate; }
void cancel();
+
+ bool hasPendingCandidateWhichShouldComposite(bool inCompositingMode) const;
Steve Block 2013/11/18 05:03:03 Can you rename the param to make clear what's in c
dstockwell 2013/11/18 06:11:20 Done.
+
private:
// Note that a single animation name may map to multiple players due to
// the way in which we split up animations with incomplete keyframes.

Powered by Google App Engine
This is Rietveld 408576698