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

Issue 2631853002: Give OOPIF FrameViews their own scroll animation timelines and hosts (Closed)

Created:
3 years, 11 months ago by kenrb
Modified:
3 years, 11 months ago
Reviewers:
loyso (OOO), bokan, ajuma
CC:
chromium-reviews, kenneth.christiansen, mlamouri+watch-blink_chromium.org, dcheng, blink-layers+watch_chromium.org, blink-reviews, kinuko+watch, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Give OOPIF FrameViews their own scroll animation timelines and hosts OOPIFs need independent scroll animation timelines and hosts, because they have separate compositors. Ultimately we need to associate a ScrollingCoordinator which each local frame root, but until that work is done this CL resolves some known scrolling problems in --site-per-process mode. BUG=675695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2631853002 Cr-Commit-Position: refs/heads/master@{#444947} Committed: https://chromium.googlesource.com/chromium/src/+/65c7df6e695eb4435ccf5485498b34fd1629f898

Patch Set 1 #

Patch Set 2 : Still buggy #

Patch Set 3 : Seems to work right now #

Patch Set 4 : Attempt to fix tests #

Total comments: 18

Patch Set 5 : Test added #

Total comments: 10

Patch Set 6 : Fixes from bokan comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -34 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/misc/resources/cross-origin-subframe-for-scrolling.html View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/misc/scroll-cross-origin-iframes.html View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/misc/scroll-cross-origin-iframes-expected.txt View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 2 chunks +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 2 chunks +37 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 1 chunk +2 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 3 4 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 2 chunks +14 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 46 (35 generated)
kenrb
bokan@: PTAL? Is this a reasonable short term fix for the --site-per-process scrolling bug?
3 years, 11 months ago (2017-01-16 22:07:02 UTC) #12
bokan
Please wrap the description at 80 cols. Also, this needs a test. I'm fine landing ...
3 years, 11 months ago (2017-01-17 20:40:16 UTC) #22
ajuma
+loyso to have a look too Looks good to me overall, modulo bokan's comments.
3 years, 11 months ago (2017-01-17 22:39:20 UTC) #24
kenrb
https://codereview.chromium.org/2631853002/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2631853002/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode494 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:494: CompositorAnimationTimeline* timeline; On 2017/01/17 20:40:15, bokan wrote: > For ...
3 years, 11 months ago (2017-01-19 19:07:40 UTC) #28
bokan
Ok, assuming my understanding is correct, the fix lgtm. Some requested changes to the tests ...
3 years, 11 months ago (2017-01-19 20:05:39 UTC) #29
kenrb
Thanks, I'll see if I can land as is and post a follow-up tomorrow with ...
3 years, 11 months ago (2017-01-19 21:36:20 UTC) #30
bokan
https://codereview.chromium.org/2631853002/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2631853002/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode501 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:501: timeline = m_programmaticScrollAnimatorTimeline.get(); On 2017/01/19 21:36:19, kenrb wrote: > ...
3 years, 11 months ago (2017-01-19 21:37:50 UTC) #31
kenrb
https://codereview.chromium.org/2631853002/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2631853002/diff/60001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode501 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:501: timeline = m_programmaticScrollAnimatorTimeline.get(); On 2017/01/19 21:37:50, bokan wrote: > ...
3 years, 11 months ago (2017-01-20 00:15:33 UTC) #38
bokan
thanks, still lgtm
3 years, 11 months ago (2017-01-20 00:16:51 UTC) #39
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/2631853002/100001
3 years, 11 months ago (2017-01-20 01:44:30 UTC) #43
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 02:04:38 UTC) #46
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/65c7df6e695eb4435ccf5485498b...

Powered by Google App Engine
This is Rietveld 408576698