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

Issue 210363007: Declare onFinish event handler for AnimationPlayer (Closed)

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

Description

Declare onFinish event handler for AnimationPlayer. Finish events occur when a sample occurs that causes a player to be newly limited or newly disassociated with a timeline. (From section 3.5.4 Player events http://dev.w3.org/fxtf/web-animations/#player-events and section 5.19 The AnimationPlayerEvent interface http://dev.w3.org/fxtf/web-animations/#the-animationplayerevent-interface ) Subsequent CL 216203003 dispatches the events declared here. BUG=356120 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170518

Patch Set 1 #

Patch Set 2 : declare global constructors #

Patch Set 3 : AnimationPlayerEvent guarded by WebAnimationsAPI flag #

Total comments: 6

Patch Set 4 : createAnimationPlayer can assume document exists #

Patch Set 5 : Use ContextLifecycleObserver #

Total comments: 2

Patch Set 6 : Stop using ContextLifecycleObserver #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -3 lines) Patch
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/AnimationPlayer.h View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M Source/core/animation/AnimationPlayer.cpp View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/animation/AnimationPlayer.idl View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/animation/DocumentTimeline.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/DocumentTimeline.cpp View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A Source/core/events/AnimationPlayerEvent.h View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A Source/core/events/AnimationPlayerEvent.cpp View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A Source/core/events/AnimationPlayerEvent.idl View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/events/EventTargetFactory.in View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/events/EventTypeNames.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Eric Willigers
6 years, 9 months ago (2014-03-26 02:28:21 UTC) #1
Eric Willigers
+alancutter
6 years, 8 months ago (2014-03-30 23:00:32 UTC) #2
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/210363007/diff/170001/Source/core/animation/DocumentTimeline.cpp File Source/core/animation/DocumentTimeline.cpp (right): https://codereview.chromium.org/210363007/diff/170001/Source/core/animation/DocumentTimeline.cpp#newcode73 Source/core/animation/DocumentTimeline.cpp:73: RefPtr<AnimationPlayer> player = AnimationPlayer::create(m_document ? m_document->contextDocument().get() : 0, ...
6 years, 8 months ago (2014-03-31 06:28:13 UTC) #3
dstockwell
https://codereview.chromium.org/210363007/diff/170001/Source/core/animation/AnimationPlayer.h File Source/core/animation/AnimationPlayer.h (right): https://codereview.chromium.org/210363007/diff/170001/Source/core/animation/AnimationPlayer.h#newcode44 Source/core/animation/AnimationPlayer.h:44: class AnimationPlayer FINAL : public RefCounted<AnimationPlayer>, public EventTargetWithInlineData, public ...
6 years, 8 months ago (2014-03-31 06:32:53 UTC) #4
Eric Willigers
https://codereview.chromium.org/210363007/diff/170001/Source/core/animation/AnimationPlayer.h File Source/core/animation/AnimationPlayer.h (right): https://codereview.chromium.org/210363007/diff/170001/Source/core/animation/AnimationPlayer.h#newcode44 Source/core/animation/AnimationPlayer.h:44: class AnimationPlayer FINAL : public RefCounted<AnimationPlayer>, public EventTargetWithInlineData, public ...
6 years, 8 months ago (2014-03-31 08:48:46 UTC) #5
dstockwell
https://codereview.chromium.org/210363007/diff/230001/Source/core/animation/AnimationPlayer.cpp File Source/core/animation/AnimationPlayer.cpp (right): https://codereview.chromium.org/210363007/diff/230001/Source/core/animation/AnimationPlayer.cpp#newcode249 Source/core/animation/AnimationPlayer.cpp:249: return ContextLifecycleObserver::executionContext(); Isn't the timeline's document the execution context? ...
6 years, 8 months ago (2014-03-31 09:17:23 UTC) #6
Eric Willigers
+haraken
6 years, 8 months ago (2014-04-01 01:15:54 UTC) #7
Eric Willigers
haraken - Can I please have an OWNERS review for AnimationPlayerEvent. https://codereview.chromium.org/210363007/diff/230001/Source/core/animation/AnimationPlayer.cpp File Source/core/animation/AnimationPlayer.cpp (right): ...
6 years, 8 months ago (2014-04-01 05:05:48 UTC) #8
haraken
On 2014/04/01 05:05:48, Eric Willigers wrote: > haraken - Can I please have an OWNERS ...
6 years, 8 months ago (2014-04-01 05:08:55 UTC) #9
dstockwell
lgtm
6 years, 8 months ago (2014-04-01 05:19:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericwilligers@chromium.org/210363007/250001
6 years, 8 months ago (2014-04-01 05:20:05 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-01 06:27:37 UTC) #12
Message was sent while issue was closed.
Change committed as 170518

Powered by Google App Engine
This is Rietveld 408576698