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

Issue 28263002: Plumb timeToNextEffect through players and animation (Closed)

Created:
7 years, 2 months ago by shans
Modified:
7 years, 2 months ago
Reviewers:
dstockwell, Timothy Loh
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Web Animations: Plumb timeToNextEffect through players and animation timeToNextEffect is used to return how long before an animation needs another sample (or example, an animation that has just started with a delay of 2s will have a timeToNextEffect of 2s). We intend to union these values together in Timelines so that we can set a timer when we have nothing to do for a long period of time (currently we just use requestAnimationFrame). BUG=258896 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160054

Patch Set 1 #

Total comments: 10

Patch Set 2 : Patch Set 2 #

Patch Set 3 : and the winner is private #

Patch Set 4 : Moved location of timeToEffectChange calculation #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -7 lines) Patch
M Source/core/animation/Animation.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/Animation.cpp View 1 3 chunks +26 lines, -0 lines 0 comments Download
M Source/core/animation/DocumentTimeline.cpp View 1 1 chunk +2 lines, -1 line 1 comment Download
M Source/core/animation/InertAnimation.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/InertAnimation.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/animation/Player.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/animation/Player.cpp View 1 1 chunk +7 lines, -2 lines 0 comments Download
M Source/core/animation/PlayerTest.cpp View 1 3 chunks +43 lines, -2 lines 0 comments Download
M Source/core/animation/TimedItem.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M Source/core/animation/TimedItem.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/animation/TimedItemTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
shans
7 years, 2 months ago (2013-10-18 05:00:53 UTC) #1
Timothy Loh
You might want to upload and link to the next part of this for more ...
7 years, 2 months ago (2013-10-18 06:01:27 UTC) #2
shans
https://codereview.chromium.org/28263002/diff/1/Source/core/animation/DocumentTimeline.cpp File Source/core/animation/DocumentTimeline.cpp (right): https://codereview.chromium.org/28263002/diff/1/Source/core/animation/DocumentTimeline.cpp#newcode79 Source/core/animation/DocumentTimeline.cpp:79: if (!m_players[i]->update(timeToNextEffect)) On 2013/10/18 06:01:27, Timothy Loh wrote: > ...
7 years, 2 months ago (2013-10-21 00:37:57 UTC) #3
dstockwell
lgtm https://codereview.chromium.org/28263002/diff/240001/Source/core/animation/DocumentTimeline.cpp File Source/core/animation/DocumentTimeline.cpp (right): https://codereview.chromium.org/28263002/diff/240001/Source/core/animation/DocumentTimeline.cpp#newcode79 Source/core/animation/DocumentTimeline.cpp:79: if (!m_players[i]->update(&timeToNextEffect)) We could just not pass a ...
7 years, 2 months ago (2013-10-21 01:51:31 UTC) #4
Timothy Loh
lgtm
7 years, 2 months ago (2013-10-21 01:53:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shans@chromium.org/28263002/240001
7 years, 2 months ago (2013-10-21 03:06:36 UTC) #6
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 04:42:25 UTC) #7
Message was sent while issue was closed.
Change committed as 160054

Powered by Google App Engine
This is Rietveld 408576698