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

Issue 1830333002: Correct visual rects for scroll corner/resizer and non-frame composited scroll bars. (Closed)

Created:
4 years, 9 months ago by wkorman
Modified:
4 years, 8 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_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

Correct visual rects for scroll corner/resizer and non-frame composited scroll bars. Non-composited scroll corner visual rects are now determined by their associated ScrollableArea, per updated logic in LayoutScrollbarPart. Change the DisplayItemClient for non-frame composited ScrollbarArea painted content to be the GraphicsLayer to which it belongs. BUG=529938 Committed: https://crrev.com/398e024db042ebd7d81b71dfd4e5abb8419fd5de Cr-Commit-Position: refs/heads/master@{#385270}

Patch Set 1 #

Patch Set 2 : Fix up composited non-frame scrollable area visual rects. #

Total comments: 2

Patch Set 3 : Add assert. #

Patch Set 4 : Use cached drawing for non-frame composited scrollbars when available. #

Patch Set 5 : We have to mark the paint layer for repaint for composited scroll controls. #

Patch Set 6 : Modify CLM to always report needsRepaint for scrollable area layers. #

Patch Set 7 : Don't create a LayoutScrollbartPart if we've no scrollable area. #

Total comments: 2

Messages

Total messages: 52 (24 generated)
wkorman
Fixes: compositing/overflow/clip-content-under-overflow-controls.html compositing/scrollbar-painting.html I'm currently looking for a test case that fails with this, as ...
4 years, 9 months ago (2016-03-24 19:37:05 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/1
4 years, 9 months ago (2016-03-24 19:37:47 UTC) #4
chrishtr
Per offline conversation: the constructor for LayoutScrollbarPart should always be passed a ScrollableArea, from which ...
4 years, 9 months ago (2016-03-24 20:54:02 UTC) #5
wkorman
On 2016/03/24 at 20:54:02, chrishtr wrote: > Per offline conversation: the constructor for LayoutScrollbarPart should ...
4 years, 9 months ago (2016-03-24 21:18:58 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-24 22:00:24 UTC) #8
wkorman
PTAL, updated as discussed.
4 years, 9 months ago (2016-03-24 23:27:19 UTC) #9
chrishtr
https://codereview.chromium.org/1830333002/diff/20001/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp File third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp (right): https://codereview.chromium.org/1830333002/diff/20001/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp#newcode43 third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp:43: { ASSERT(m_scrollableArea)
4 years, 9 months ago (2016-03-24 23:39:34 UTC) #10
chrishtr
Also please update the description to say all the things being done. (In particular, change ...
4 years, 9 months ago (2016-03-24 23:40:18 UTC) #11
wkorman
https://codereview.chromium.org/1830333002/diff/20001/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp File third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp (right): https://codereview.chromium.org/1830333002/diff/20001/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp#newcode43 third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp:43: { On 2016/03/24 at 23:39:34, chrishtr wrote: > ASSERT(m_scrollableArea) ...
4 years, 9 months ago (2016-03-25 03:30:32 UTC) #14
chrishtr
lgtm
4 years, 9 months ago (2016-03-25 03:38:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/40001
4 years, 9 months ago (2016-03-25 03:38:21 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/135792)
4 years, 9 months ago (2016-03-25 04:12:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/40001
4 years, 9 months ago (2016-03-25 04:15:53 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/200467)
4 years, 9 months ago (2016-03-25 04:29:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/60001
4 years, 9 months ago (2016-03-25 18:14:27 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/135975)
4 years, 9 months ago (2016-03-25 19:03:07 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/80001
4 years, 9 months ago (2016-03-25 20:29:17 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/21838)
4 years, 9 months ago (2016-03-25 21:38:38 UTC) #35
wkorman
Chris -- PTAL and make sure I'm not off in the weeds before I go ...
4 years, 9 months ago (2016-03-25 21:59:29 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/100001
4 years, 8 months ago (2016-04-05 00:28:33 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/26230)
4 years, 8 months ago (2016-04-05 02:02:29 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/120001
4 years, 8 months ago (2016-04-05 18:00:37 UTC) #42
wkorman
https://codereview.chromium.org/1830333002/diff/120001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/1830333002/diff/120001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode2314 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:2314: return isScrollableAreaLayer(&graphicsLayer) ? true : m_owningLayer.needsRepaint(); Since last review: ...
4 years, 8 months ago (2016-04-05 19:03:04 UTC) #43
wkorman
https://codereview.chromium.org/1830333002/diff/120001/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp File third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp (right): https://codereview.chromium.org/1830333002/diff/120001/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp#newcode264 third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp:264: if (!partLayoutObject && needLayoutObject && m_scrollableArea) { Also added ...
4 years, 8 months ago (2016-04-05 19:04:19 UTC) #44
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 19:15:02 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830333002/120001
4 years, 8 months ago (2016-04-05 20:13:14 UTC) #49
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-05 20:19:31 UTC) #50
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 20:20:43 UTC) #52
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/398e024db042ebd7d81b71dfd4e5abb8419fd5de
Cr-Commit-Position: refs/heads/master@{#385270}

Powered by Google App Engine
This is Rietveld 408576698