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

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

Issue 814083003: Update animation when changes in animation keyframes are detected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add tests for changing timing function Created 6 years 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
« no previous file with comments | « Source/core/animation/Animation.h ('k') | Source/core/animation/AnimationNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationNode.h
diff --git a/Source/core/animation/AnimationNode.h b/Source/core/animation/AnimationNode.h
index b275d824848fae18372bce797386db0afb0cb978..7d333a6c4d6deadb434e514f70a5516d7758ebd8 100644
--- a/Source/core/animation/AnimationNode.h
+++ b/Source/core/animation/AnimationNode.h
@@ -104,6 +104,9 @@ public:
PassRefPtrWillBeRawPtr<AnimationNodeTiming> timing();
void updateSpecifiedTiming(const Timing&);
+ unsigned styleChangeCounter() const { return m_styleChangeCounter; }
+ void updateStyleChangeCounter(unsigned styleChangeCounter) { m_styleChangeCounter = std::max(m_styleChangeCounter, styleChangeCounter); }
+
void computedTiming(ComputedTimingProperties&);
ComputedTimingProperties computedTiming();
@@ -164,6 +167,9 @@ protected:
String m_name;
const CalculatedTiming& ensureCalculated() const;
+
+private:
+ unsigned m_styleChangeCounter;
dstockwell 2014/12/29 01:59:52 This seems specific to CSSAnimations, we should st
shend 2014/12/29 03:21:37 Done.
};
} // namespace blink
« no previous file with comments | « Source/core/animation/Animation.h ('k') | Source/core/animation/AnimationNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698