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

Issue 2495123002: Make all scrollable layers visible to hit testing. (Closed)

Created:
4 years, 1 month ago by skobes
Modified:
4 years, 1 month ago
Reviewers:
majidvp, enne (OOO)
CC:
ajuma, cc-bugs_chromium.org, chromium-reviews, esprehn, sunxd, Ian Vollick, jaydasika
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make all scrollable layers visible to hit testing. Scrollers should remain scrollable even if their descendants are all offscreen. An offscreen descendant with a render surface was causing num_drawn_descendants to be decremented to 0 in ClearIsDrawnRenderSurfaceLayerListMember. This patch removes num_drawn_descendants and scrolls_drawn_descendant in favor of simply checking LayerImpl::scrollable(). BUG=641226 Committed: https://crrev.com/eec54e30707389a2e9e0335f432ca2cd4396f869 Cr-Commit-Position: refs/heads/master@{#432056}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -156 lines) Patch
M cc/layers/layer_impl.h View 2 chunks +0 lines, -7 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 4 chunks +1 line, -34 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 chunks +3 lines, -105 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M cc/trees/scroll_node.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/scroll_node.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
skobes
4 years, 1 month ago (2016-11-12 02:03:12 UTC) #5
majidvp
This looks reasonable to me. I tried once in the past to make a similar ...
4 years, 1 month ago (2016-11-14 17:21:11 UTC) #8
skobes
On 2016/11/14 17:21:11, majidvp wrote: > I tried once in the past to make a ...
4 years, 1 month ago (2016-11-14 17:46:33 UTC) #9
majidvp
lgtm. On 2016/11/14 17:46:33, skobes wrote: > On 2016/11/14 17:21:11, majidvp wrote: > > I ...
4 years, 1 month ago (2016-11-14 18:21:28 UTC) #10
skobes
Thanks. Waiting on @enne for OWNERS.
4 years, 1 month ago (2016-11-14 18:22:48 UTC) #11
enne (OOO)
lgtm. I don't remember all the details of why this was implemented this way initially, ...
4 years, 1 month ago (2016-11-14 18:33:11 UTC) #12
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/2495123002/1
4 years, 1 month ago (2016-11-14 18:53:25 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-14 20:58:11 UTC) #16
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/2495123002/1
4 years, 1 month ago (2016-11-14 21:41:07 UTC) #18
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/2495123002/1
4 years, 1 month ago (2016-11-14 21:51:27 UTC) #22
commit-bot: I haz the power
Failed to apply patch for cc/trees/scroll_node.h: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-14 22:51:33 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/2495123002/20001
4 years, 1 month ago (2016-11-14 23:04:42 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-15 01:08:49 UTC) #30
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/2495123002/20001
4 years, 1 month ago (2016-11-15 01:10:06 UTC) #33
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 01:58:53 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 03:00:50 UTC) #37
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eec54e30707389a2e9e0335f432ca2cd4396f869
Cr-Commit-Position: refs/heads/master@{#432056}

Powered by Google App Engine
This is Rietveld 408576698