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

Issue 1907213002: Refactor OverlayScrollbarSizeRelevancy into OverlayScrollbarClipBehavior (Closed)

Created:
4 years, 8 months ago by pdr.
Modified:
4 years, 8 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor OverlayScrollbarSizeRelevancy into OverlayScrollbarClipBehavior OverlayScrollbarSizeRelevancy was added in [1] and took chrishtr and me quite a bit of time to understand in [2]. For example, it was not clear what "relevancy" meant, nor that including overlay scrollbar size is needed for hit testing. When creating the new LayoutViewItem API, this code was incorrectly exposed even though it wasn't needed. This patch does the following renames and adds a comment explaining why: OverlayScrollbarSizeRelevancy -> OverlayScrollbarClipBehavior IncludeOverlayScrollbarSize -> IncludeOverlayScrollbarSizeForHitTesting Additionally, LayoutViewItem has been updated to no longer use the enum. [1] https://chromium.googlesource.com/chromium/src/+/9477b0e3afbc92ba1e75e235b0f09fe231853770 [2] https://codereview.chromium.org/1897753002/ BUG=597946 Committed: https://crrev.com/0c45146717e9d715483d89fa7314ed7fcc5831bd Cr-Commit-Position: refs/heads/master@{#389345}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Include -> Exclude #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -48 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ClipRectsCache.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 3 chunks +6 lines, -3 lines 1 comment Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTable.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTable.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/api/LayoutViewItem.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 8 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907213002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907213002/1
4 years, 8 months ago (2016-04-22 05:00:19 UTC) #2
pdr.
4 years, 8 months ago (2016-04-22 06:06:00 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-22 06:13:47 UTC) #7
chrishtr
https://codereview.chromium.org/1907213002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/1907213002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode45 third_party/WebKit/Source/core/layout/LayoutBox.h:45: enum OverlayScrollbarClipBehavior { IgnoreOverlayScrollbarSize, IncludeOverlayScrollbarSizeForHitTesting }; Exclude, not Include, ...
4 years, 8 months ago (2016-04-22 16:05:04 UTC) #8
pdr.
On 2016/04/22 at 16:05:04, chrishtr wrote: > https://codereview.chromium.org/1907213002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h > File third_party/WebKit/Source/core/layout/LayoutBox.h (right): > > https://codereview.chromium.org/1907213002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode45 ...
4 years, 8 months ago (2016-04-22 17:27:32 UTC) #9
chrishtr
On 2016/04/22 at 17:27:32, pdr wrote: > On 2016/04/22 at 16:05:04, chrishtr wrote: > > ...
4 years, 8 months ago (2016-04-22 17:31:16 UTC) #10
pdr.
On 2016/04/22 at 17:31:16, chrishtr wrote: > On 2016/04/22 at 17:27:32, pdr wrote: > > ...
4 years, 8 months ago (2016-04-22 18:19:02 UTC) #11
pdr.
On 2016/04/22 at 18:19:02, pdr wrote: > On 2016/04/22 at 17:31:16, chrishtr wrote: > > ...
4 years, 8 months ago (2016-04-22 18:25:59 UTC) #12
chrishtr
On 2016/04/22 at 18:25:59, pdr wrote: > On 2016/04/22 at 18:19:02, pdr wrote: > > ...
4 years, 8 months ago (2016-04-22 18:32:53 UTC) #13
pdr.
On 2016/04/22 at 18:32:53, chrishtr wrote: > On 2016/04/22 at 18:25:59, pdr wrote: > > ...
4 years, 8 months ago (2016-04-22 18:43:07 UTC) #14
chrishtr
https://codereview.chromium.org/1907213002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/1907213002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode45 third_party/WebKit/Source/core/layout/LayoutBox.h:45: enum OverlayScrollbarClipBehavior { IgnoreOverlayScrollbarSize, ExcludeOverlayScrollbarSizeForHitTesting }; Why have the ...
4 years, 8 months ago (2016-04-22 22:33:26 UTC) #15
pdr.
On 2016/04/22 at 22:33:26, chrishtr wrote: > https://codereview.chromium.org/1907213002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h > File third_party/WebKit/Source/core/layout/LayoutBox.h (right): > > https://codereview.chromium.org/1907213002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode45 ...
4 years, 8 months ago (2016-04-22 22:39:00 UTC) #16
chrishtr
lgtm
4 years, 8 months ago (2016-04-22 22:44:24 UTC) #18
chrishtr
lgtm
4 years, 8 months ago (2016-04-22 22:44:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907213002/20001
4 years, 8 months ago (2016-04-22 22:45:04 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-23 02:33:56 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-23 02:35:52 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0c45146717e9d715483d89fa7314ed7fcc5831bd
Cr-Commit-Position: refs/heads/master@{#389345}

Powered by Google App Engine
This is Rietveld 408576698