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

Issue 2285253003: Move TopDocumentRootScrollerController to a separate object on FrameHost (Closed)

Created:
4 years, 3 months ago by bokan
Modified:
4 years, 3 months ago
Reviewers:
tdresser
CC:
chromium-reviews, kenneth.christiansen, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, sof, eae+blinkwatch, leviw+renderwatch, blink-reviews-dom_chromium.org, dglazkov+blink, jchaffraix+rendering, blink-reviews, kinuko+watch, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move TopDocumentRootScrollerController to a separate object on FrameHost It contains a number of methods that don't conceptually belong on RootScrollerController. This is also a natural step towards making this feature work with out of process iframes. The main changes in this CL are: -TopDocumentRootScrollerController is no longer a subclass of RootScrollerController -TopDocumentRootScrollerController is now owned by FrameHost -All the methods on RootScrollerController that really only belonged on the Page level object have been removed. The class will be renamed in a followup CL to be more representative of these changes. BUG=505516 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/23cd9757ba798fa41b4d8dd80eb8457da6a9fa9e Cr-Commit-Position: refs/heads/master@{#418868}

Patch Set 1 #

Patch Set 2 : None #

Patch Set 3 : None #

Total comments: 8

Patch Set 4 : Rebase #

Patch Set 5 : Tim's comments addressed #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -212 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 2 chunks +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameHost.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameHost.cpp View 4 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp View 1 2 3 4 5 5 chunks +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 4 5 2 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/page/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h View 1 2 3 4 5 4 chunks +12 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp View 1 2 3 4 5 5 chunks +5 lines, -59 lines 0 comments Download
A third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/page/scrolling/RootScrollerUtil.cpp View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h View 1 2 3 4 5 3 chunks +34 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp View 1 2 3 4 5 7 chunks +46 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/RootScrollerTest.cpp View 1 2 3 4 5 11 chunks +22 lines, -26 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
bokan
This CL finally feels like everything is conceptually right. I'll rename the TopDocument class in ...
4 years, 3 months ago (2016-08-29 21:17:57 UTC) #4
tdresser
LGTM, I agree this feels better. https://codereview.chromium.org/2285253003/diff/40001/third_party/WebKit/Source/core/frame/FrameHost.h File third_party/WebKit/Source/core/frame/FrameHost.h (right): https://codereview.chromium.org/2285253003/diff/40001/third_party/WebKit/Source/core/frame/FrameHost.h#newcode146 third_party/WebKit/Source/core/frame/FrameHost.h:146: Member<TopDocumentRootScrollerController> m_globalRootScrollerController; Should ...
4 years, 3 months ago (2016-08-30 15:05:30 UTC) #8
bokan
This was dependent on a previous patch that made some changes in clipping and PaintLayerCompositor ...
4 years, 3 months ago (2016-08-30 16:13:39 UTC) #9
bokan
On 2016/08/30 16:13:39, bokan wrote: > This was dependent on a previous patch that made ...
4 years, 3 months ago (2016-08-30 17:14:51 UTC) #10
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/2285253003/100001
4 years, 3 months ago (2016-09-15 15:06:18 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-15 15:11:24 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 15:13:57 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/23cd9757ba798fa41b4d8dd80eb8457da6a9fa9e
Cr-Commit-Position: refs/heads/master@{#418868}

Powered by Google App Engine
This is Rietveld 408576698