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

Issue 2832883003: Remove unneeded Convert* methods and move many from FrameViewBase to FrameView (Closed)

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

Description

Remove unneeded Convert* methods and move many from FrameViewBase to FrameView. I am cleaning up the Convert methods and moving them out of FrameViewBase in preparation for removing Scrollbar from inheriting from FrameViewBase. With this change, Scrollbar no longer has any calls to FrameViewBase methods. There were Convert methods in scrollbar classes that are never called. * Scrollbar - ConvertFromContainingFrameViewBase(IntRect) - ConvertToContainingFrameViewBase(IntPoint) * ScrollableArea and PaintLayerScrollableArea - ConvertFromContainingFrameViewBaseToScrollbar(IntPoint) BUG=637460 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2832883003 Cr-Commit-Position: refs/heads/master@{#466440} Committed: https://chromium.googlesource.com/chromium/src/+/5a589220480eef0ce8436e3bdd00c796d914a596

Patch Set 1 #

Patch Set 2 : fix for RemoteFrameView #

Patch Set 3 : Cleanup convert methods #

Patch Set 4 : remove scrollbar convert methods #

Total comments: 2

Patch Set 5 : fix mac #

Patch Set 6 : fix comment #

Patch Set 7 : Implement ScrollableArea::ConvertFromScrollbarToContainingFrameViewBase(IntRect) #

Patch Set 8 : fix ScrollableArea::ConvertFromScrollbarToContainingFrameViewBase and remove dchecks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -220 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 3 chunks +9 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 8 chunks +37 lines, -45 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RemoteFrameView.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RemoteFrameView.cpp View 1 2 3 4 5 6 7 2 chunks +15 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/platform/FrameViewBase.h View 1 2 3 4 5 6 1 chunk +16 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/FrameViewBase.cpp View 1 2 3 chunks +2 lines, -67 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 1 2 3 4 2 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 2 3 4 5 6 7 2 chunks +14 lines, -21 lines 0 comments Download

Messages

Total messages: 44 (36 generated)
joelhockey
3 years, 8 months ago (2017-04-21 06:46:37 UTC) #15
dcheng
I didn't review this CL completely, but it looks like good cleanup. That being said, ...
3 years, 8 months ago (2017-04-21 07:10:39 UTC) #19
joelhockey
On 2017/04/21 at 07:10:39, dcheng wrote: > I didn't review this CL completely, but it ...
3 years, 8 months ago (2017-04-21 07:34:21 UTC) #24
joelhockey
https://codereview.chromium.org/2832883003/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2832883003/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h#newcode949 third_party/WebKit/Source/core/frame/FrameView.h:949: // Override FrameViewBase methods to do point conversion via ...
3 years, 8 months ago (2017-04-21 07:36:21 UTC) #25
haraken
LGTM on my side, though I want to have szager@ take a close look at ...
3 years, 8 months ago (2017-04-21 08:34:10 UTC) #29
szager1
lgtm
3 years, 8 months ago (2017-04-21 14:59:29 UTC) #38
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/2832883003/140001
3 years, 8 months ago (2017-04-21 20:41:58 UTC) #41
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 20:46:43 UTC) #44
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/5a589220480eef0ce8436e3bdd00...

Powered by Google App Engine
This is Rietveld 408576698