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

Issue 68503014: cc: Alow animations to be aborted from either thread (Closed)

Created:
7 years, 1 month ago by ajuma
Modified:
7 years, 1 month ago
Reviewers:
Ian Vollick
CC:
chromium-reviews, cc-bugs_chromium.org, avallee
Visibility:
Public.

Description

cc: Alow animations to be aborted from either thread This makes LayerAnimationController correctly handle animations that are aborted on the compositor thread. It also adds an AbortAnimations method that aborts all animations with a particular target property. These changes are needed for implementing the CSSOM View smooth scroll API, since we will require the ability to abort scroll animations on the compositor thread as a result of input events received by the compositor thread. BUG=243871 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235557

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix typo in MarkAnimationsForDeletion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -12 lines) Patch
M cc/animation/animation_events.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/animation/layer_animation_controller.h View 2 chunks +8 lines, -7 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 1 6 chunks +40 lines, -4 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 1 1 chunk +230 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ajuma
PTAL. https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.h File cc/animation/layer_animation_controller.h (right): https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.h#newcode45 cc/animation/layer_animation_controller.h:45: Animation::TargetProperty target_property); These were marked "virtual for testing", ...
7 years, 1 month ago (2013-11-14 21:56:03 UTC) #1
Ian Vollick
https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.cc File cc/animation/layer_animation_controller.cc (right): https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.cc#newcode622 cc/animation/layer_animation_controller.cc:622: continue; Won't continuing here prevent us from sending events ...
7 years, 1 month ago (2013-11-15 01:48:56 UTC) #2
ajuma
PTAL. https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.cc File cc/animation/layer_animation_controller.cc (right): https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.cc#newcode622 cc/animation/layer_animation_controller.cc:622: continue; On 2013/11/15 01:48:56, Ian Vollick wrote: > ...
7 years, 1 month ago (2013-11-15 18:07:34 UTC) #3
Ian Vollick
On 2013/11/15 18:07:34, ajuma wrote: > PTAL. > > https://codereview.chromium.org/68503014/diff/1/cc/animation/layer_animation_controller.cc > File cc/animation/layer_animation_controller.cc (right): > ...
7 years, 1 month ago (2013-11-15 18:41:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/68503014/110001
7 years, 1 month ago (2013-11-15 18:57:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/68503014/110001
7 years, 1 month ago (2013-11-15 22:10:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/68503014/110001
7 years, 1 month ago (2013-11-16 00:40:14 UTC) #7
commit-bot: I haz the power
7 years, 1 month ago (2013-11-17 21:31:30 UTC) #8
Message was sent while issue was closed.
Change committed as 235557

Powered by Google App Engine
This is Rietveld 408576698