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

Issue 1550243002: Blink CompositorAnimations: Add more tests for integration with CC. (Closed)

Created:
4 years, 11 months ago by loyso (OOO)
Modified:
4 years, 10 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, kinuko+watch, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@assert-if
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blink CompositorAnimations: Add more tests for integration with CC. This is a significant enhancement for our test coverage. Now we can test blink Elements with LayoutObject, PaintLayer, CompositedLayerMapping, GraphicsLayer, WebContentLayer and WebLayer objects properly installed. This allows us to run Animation::preCommit (Animation::maybeStartAnimationOnCompositor and CompositorAnimations::startAnimationOnCompositor) No more 'simulation' and 'ForTesting'. The fix itself: https://codereview.chromium.org/1543143002 BUG=571504

Patch Set 1 #

Patch Set 2 : Rework. #

Patch Set 3 : Rework. #

Patch Set 4 : Rebase. Mock abortAnimation methods. #

Total comments: 4

Patch Set 5 : Fix leaks. Support disableCompositorAnimationTimelines mode. #

Patch Set 6 : List new header files in gyp. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -74 lines) Patch
A third_party/WebKit/Source/core/animation/AnimationTranslationUtilTest.h View 1 chunk +79 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/animation/AnimationTranslationUtilTest.cpp View 2 chunks +1 line, -36 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp View 1 2 3 4 7 chunks +141 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTestHelper.h View 1 2 3 4 3 chunks +38 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffect.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
A third_party/WebKit/Source/platform/testing/WebLayerMock.h View 1 2 3 1 chunk +125 lines, -0 lines 1 comment Download

Messages

Total messages: 16 (8 generated)
loyso (OOO)
shans@chromium.org: Please review changes in vollick@chromium.org: Please review changes in dstockwell@chromium.org: Please review changes in
4 years, 11 months ago (2015-12-29 06:52:27 UTC) #3
Ian Vollick
This is really interesting. Your tests want to muck with blink to set up animation ...
4 years, 11 months ago (2015-12-29 20:32:24 UTC) #6
loyso (OOO)
On 2015/12/29 20:32:24, vollick wrote: > This is really interesting. Your tests want to muck ...
4 years, 11 months ago (2015-12-29 23:54:12 UTC) #7
loyso (OOO)
https://codereview.chromium.org/1550243002/diff/60001/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp File third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp (right): https://codereview.chromium.org/1550243002/diff/60001/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp#newcode1265 third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp:1265: animation->cancelAnimationOnCompositor(); On 2015/12/29 20:32:24, vollick wrote: > I may ...
4 years, 11 months ago (2015-12-29 23:54:25 UTC) #8
esprehn
This is a ton of mocks, I'm not sure we should do this. I'm also ...
4 years, 11 months ago (2016-01-04 21:15:21 UTC) #11
loyso (OOO)
On 2016/01/04 21:15:21, esprehn wrote: > This is a ton of mocks, I'm not sure ...
4 years, 11 months ago (2016-01-18 23:36:28 UTC) #12
esprehn
On 2016/01/18 at 23:36:28, loyso wrote: > On 2016/01/04 21:15:21, esprehn wrote: > > This ...
4 years, 11 months ago (2016-01-20 02:32:48 UTC) #14
loyso (OOO)
4 years, 10 months ago (2016-02-23 06:04:18 UTC) #15
Closing this CL (to use https://codereview.chromium.org/1727443002/ instead)

Powered by Google App Engine
This is Rietveld 408576698