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

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

Issue 215043007: Web Animations: Expose timeline currentTime in IDL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: isNull not isNullTime Created 6 years, 9 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 | « LayoutTests/web-animations-api/timeline-time.html ('k') | Source/core/animation/DocumentTimeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DocumentTimeline.h
diff --git a/Source/core/animation/DocumentTimeline.h b/Source/core/animation/DocumentTimeline.h
index 200568385440ed73b6229bb3e8dce711e0272ba2..f2201a0661ec8d361fd6139e215e577e6cb21e30 100644
--- a/Source/core/animation/DocumentTimeline.h
+++ b/Source/core/animation/DocumentTimeline.h
@@ -80,6 +80,7 @@ public:
bool hasStarted() const { return !isNull(m_zeroTime); }
bool hasPendingUpdates() const { return !m_playersNeedingUpdate.isEmpty(); }
double zeroTime() const { return m_zeroTime; }
+ double currentTime(bool& isNull);
double currentTime();
double effectiveTime();
void pauseAnimationsForTesting(double);
« no previous file with comments | « LayoutTests/web-animations-api/timeline-time.html ('k') | Source/core/animation/DocumentTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698