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

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

Issue 19367002: Implement DeferredAnimatableValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename class Created 7 years, 5 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
« no previous file with comments | « no previous file | Source/core/animation/AnimatableValue.cpp » ('j') | Source/core/animation/AnimatableValue.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableValue.h
diff --git a/Source/core/animation/AnimatableValue.h b/Source/core/animation/AnimatableValue.h
index 3cc1697f9b9d938de42a9ca809c2e70d847ab43a..00cef473557b641a95b87243cf90d5efe95949d0 100644
--- a/Source/core/animation/AnimatableValue.h
+++ b/Source/core/animation/AnimatableValue.h
@@ -47,12 +47,16 @@ public:
static const AnimatableValue* neutralValue();
virtual bool isNeutral() const { return false; }
+ static const AnimatableValue* deferredSnapshotValue();
+ virtual bool isDeferredSnapshot() const { return false; }
+
static PassRefPtr<AnimatableValue> interpolate(const AnimatableValue*, const AnimatableValue*, double fraction);
// For noncommutative values read add(A, B) to mean the value A with B composed onto it.
static PassRefPtr<AnimatableValue> add(const AnimatableValue*, const AnimatableValue*);
protected:
enum AnimatableType {
+ TypeDeferred,
TypeNeutral,
TypeNumber,
TypeUnknown,
« no previous file with comments | « no previous file | Source/core/animation/AnimatableValue.cpp » ('j') | Source/core/animation/AnimatableValue.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698