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

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

Issue 2873493002: Basic ScrollTimeline implementation for Animation Worklet (Closed)
Patch Set: Add helper method in tests for creating options Created 3 years, 7 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/AnimationTimeline.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.h b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
index 7a28053fe7b9b8138bf1750c1a21ee2932366793..870620834cdd4eb212d5e2a88d9aaa1eacf52866 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.h
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
@@ -83,10 +83,10 @@ class CORE_EXPORT AnimationTimeline
return !animations_needing_update_.IsEmpty();
}
double ZeroTime();
- double currentTime(bool& is_null);
- double currentTime();
- double CurrentTimeInternal(bool& is_null);
- double CurrentTimeInternal();
+ virtual double currentTime(bool& is_null);
+ virtual double currentTime();
+ virtual double CurrentTimeInternal(bool& is_null);
+ virtual double CurrentTimeInternal();
void setCurrentTime(double, bool is_null);
void SetCurrentTimeInternal(double);
double EffectiveTime();
@@ -110,7 +110,7 @@ class CORE_EXPORT AnimationTimeline
void Wake();
void ResetForTesting();
- DECLARE_TRACE();
+ DECLARE_VIRTUAL_TRACE();
protected:
AnimationTimeline(Document*, PlatformTiming*);

Powered by Google App Engine
This is Rietveld 408576698