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

Issue 2900513002: Move CalculateScrollbarModes from FrameView to LayoutView. (Closed)

Created:
3 years, 7 months ago by skobes
Modified:
3 years, 7 months ago
Reviewers:
szager1
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews, blink-reviews-frames_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move CalculateScrollbarModes from FrameView to LayoutView. This is a better place given that it is used by both FrameView and the root PaintLayerScrollableArea. SetCanHaveScrollbars remains on FrameView, but with a comment to clarify that it is RLS-aware. BUG=724309 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2900513002 Cr-Commit-Position: refs/heads/master@{#473695} Committed: https://chromium.googlesource.com/chromium/src/+/1c38965c165d21706028861200fab06b1eca0bea

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -111 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 5 chunks +5 lines, -13 lines 1 comment Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 3 chunks +2 lines, -69 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.h View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 2 chunks +82 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/SpatialNavigation.cpp View 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 3 chunks +19 lines, -28 lines 2 comments Download

Messages

Total messages: 14 (9 generated)
skobes
3 years, 7 months ago (2017-05-20 01:54:29 UTC) #5
szager1
lgtm https://codereview.chromium.org/2900513002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (left): https://codereview.chromium.org/2900513002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#oldcode365 third_party/WebKit/Source/core/frame/FrameView.h:365: void CalculateScrollbarModes(ScrollbarMode& h_mode, So confusing, thanks for getting ...
3 years, 7 months ago (2017-05-22 18:29:36 UTC) #8
skobes
https://codereview.chromium.org/2900513002/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2900513002/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode668 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:668: if (Box().IsLayoutView()) { On 2017/05/22 18:29:35, szager1 wrote: > ...
3 years, 7 months ago (2017-05-22 19:15:10 UTC) #9
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/2900513002/1
3 years, 7 months ago (2017-05-22 19:15:55 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 21:14:07 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1c38965c165d21706028861200fa...

Powered by Google App Engine
This is Rietveld 408576698