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

Issue 2559273003: Blink Compositor Animation: Introduce CompositorAnimationHost correctly. (Closed)

Created:
4 years ago by loyso (OOO)
Modified:
4 years ago
CC:
ajuma+watch_chromium.org, darktears, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-api_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, Eric Willigers, f(malita), jam, jbroman, Justin Novosad, kenneth.christiansen, kinuko+watch, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blink Compositor Animation: Introduce CompositorAnimationHost correctly. So we get it from WebLayerTreeView (RenderWidgetCompositor), not from timeline. BUG=610763 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/ffcf86ca01510297c45f67c09de79859d541d98f Cr-Commit-Position: refs/heads/master@{#439423}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Add nullcheck for m_layerTreeView in WebViewImpl #

Total comments: 10

Patch Set 4 : Fix nits. #

Patch Set 5 : Allocate on stack in unit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -135 lines) Patch
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +1 line, -4 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 chunk +2 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 4 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 2 chunks +11 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 chunks +29 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h View 1 2 3 1 chunk +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationHost.cpp View 1 2 3 1 chunk +15 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationHostTest.cpp View 1 2 3 4 2 chunks +7 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationTimeline.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationTimeline.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationTimelineTest.cpp View 1 2 3 4 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp View 1 2 3 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp View 1 chunk +2 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 3 5 chunks +11 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 3 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayerTreeView.h View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
loyso (OOO)
4 years ago (2016-12-09 05:07:12 UTC) #9
ajuma
lgtm
4 years ago (2016-12-09 15:08:23 UTC) #12
loyso (OOO)
PTAL! aelias: content/renderer/ Source/web/ public/platform/WebLayerTreeView.h jbroman: Source/core/ Source/platform/ Thanks!
4 years ago (2016-12-12 00:22:06 UTC) #16
aelias_OOO_until_Jul13
lgtm
4 years ago (2016-12-12 23:27:58 UTC) #19
loyso (OOO)
jbroman@, PTAL!
4 years ago (2016-12-13 03:22:49 UTC) #20
jbroman
lgtm with a couple optional nits https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode1818 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:1818: if (LocalFrame* frame ...
4 years ago (2016-12-13 16:38:32 UTC) #21
loyso (OOO)
https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h File third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h (right): https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h#newcode28 third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h:28: void addTimeline(CompositorAnimationTimeline*); On 2016/12/13 at 16:38:32, jbroman wrote: > ...
4 years ago (2016-12-13 22:23:35 UTC) #22
loyso (OOO)
https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode1818 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:1818: if (LocalFrame* frame = box().frame()) { Done. https://codereview.chromium.org/2559273003/diff/40001/third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h File ...
4 years ago (2016-12-19 04:03:12 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2559273003/80001
4 years ago (2016-12-19 06:48:21 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-19 07:15:12 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-19 07:17:09 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ffcf86ca01510297c45f67c09de79859d541d98f
Cr-Commit-Position: refs/heads/master@{#439423}

Powered by Google App Engine
This is Rietveld 408576698