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

Issue 2834573005: Scrollbar no longer inherits from FrameViewBase. (Closed)

Created:
3 years, 8 months ago by joelhockey
Modified:
3 years, 8 months ago
Reviewers:
haraken, szager1, dcheng
CC:
blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Scrollbar no longer inherits from FrameViewBase. FrameView now holds Scrollbars separate to other FrameView children. BUG=637460 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2834573005 Cr-Commit-Position: refs/heads/master@{#466609} Committed: https://chromium.googlesource.com/chromium/src/+/9a51ef8f83c3ebd1e7c04ec66e35cc191e9870fe

Patch Set 1 #

Total comments: 17

Patch Set 2 : Update from upstream patch #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -63 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 4 chunks +5 lines, -4 lines 1 comment Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 7 chunks +25 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 5 chunks +14 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h View 2 chunks +0 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 30 (14 generated)
joelhockey
This CL follows on from the cleanup of the Convert methods. After making those changes, ...
3 years, 8 months ago (2017-04-21 08:16:53 UTC) #4
szager1
https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#newcode486 third_party/WebKit/Source/core/frame/FrameView.h:486: const ScrollbarsSet* Scrollbars() const { return &scrollbars_; } Can ...
3 years, 8 months ago (2017-04-21 08:37:53 UTC) #7
haraken
https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3908 third_party/WebKit/Source/core/frame/FrameView.cpp:3908: for (const auto& child : children_) Don't we need ...
3 years, 8 months ago (2017-04-21 08:42:03 UTC) #8
joelhockey
https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#newcode486 third_party/WebKit/Source/core/frame/FrameView.h:486: const ScrollbarsSet* Scrollbars() const { return &scrollbars_; } Yes. ...
3 years, 8 months ago (2017-04-21 09:56:10 UTC) #9
joelhockey
Sorry, these comments didn't show up in the UI. I hope my responses are understandable. ...
3 years, 8 months ago (2017-04-21 10:00:20 UTC) #10
szager1
https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode2016 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:2016: ScrollableArea()->Box().GetDocument().View()->RemoveScrollbar(scrollbar); On 2017/04/21 09:56:10, joelhockey wrote: > On 2017/04/21 ...
3 years, 8 months ago (2017-04-21 10:22:37 UTC) #11
szager1
> I think the proper fix is to define Scrollbar ownership semantics in > FrameViewBase ...
3 years, 8 months ago (2017-04-21 10:23:31 UTC) #12
szager1
> - Make Scrollbar::parent_ a ScrollbarManager ... and for good measure, rename it to manager_.
3 years, 8 months ago (2017-04-21 10:24:30 UTC) #13
szager1
https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode2016 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:2016: ScrollableArea()->Box().GetDocument().View()->RemoveScrollbar(scrollbar); On 2017/04/21 10:22:36, szager1 wrote: > On 2017/04/21 ...
3 years, 8 months ago (2017-04-21 10:42:30 UTC) #16
joelhockey
https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode2016 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:2016: ScrollableArea()->Box().GetDocument().View()->RemoveScrollbar(scrollbar); > Just to be totally clear, this line ...
3 years, 8 months ago (2017-04-21 12:22:05 UTC) #19
joelhockey
On 2017/04/21 at 12:22:05, joelhockey wrote: > https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp > File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): > > https://codereview.chromium.org/2834573005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode2016 ...
3 years, 8 months ago (2017-04-24 00:31:49 UTC) #22
haraken
LGTM https://codereview.chromium.org/2834573005/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2834573005/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h#newcode486 third_party/WebKit/Source/core/frame/FrameView.h:486: const ScrollbarsSet* Scrollbars() const { return &scrollbars_; } ...
3 years, 8 months ago (2017-04-24 07:22:17 UTC) #23
joelhockey
On 2017/04/24 at 07:22:17, haraken wrote: > LGTM > > https://codereview.chromium.org/2834573005/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h > File third_party/WebKit/Source/core/frame/FrameView.h (right): ...
3 years, 8 months ago (2017-04-24 07:28:55 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/2834573005/20001
3 years, 8 months ago (2017-04-24 07:29:19 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/9a51ef8f83c3ebd1e7c04ec66e35cc191e9870fe
3 years, 8 months ago (2017-04-24 09:27:52 UTC) #29
szager1
3 years, 8 months ago (2017-04-24 09:55:15 UTC) #30
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698