Use timeline, animation, keyframe, keyframe model ids for targeting animation events.
Implemented common mechanism for targeting animation events initiated by animations and worklet animations. Changes made: - AnimationHost::SetAnimationEvents consults animation timeline to find a target animation. - Moved animation events routing logic from cc:ElementAnimations to cc:Animation. - Directly route to the target keyframe model using keyframe id and model id instead of using element id and group id to identify the target keyframe model. Bug: 1013727 Change-Id: I28613b0e708258e6433a45e828710caa3e73e280 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872486 Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Reviewed-by:Robert Flack <flackr@chromium.org> Reviewed-by:
Majid Valipour <majidvp@chromium.org> Cr-Commit-Position: refs/heads/master@{#719388}
Showing
This diff is collapsed.
Please register or sign in to comment