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

Issue 27718006: cc: Fix touch hit-testing for overlapping layers. (Closed)

Created:
7 years, 2 months ago by sadrul
Modified:
7 years, 2 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, Yusuf
Visibility:
Public.

Description

cc: Fix touch hit-testing for overlapping layers (in tests). If a touch-layer is below a non-touch layer, and the two layers overlap, then the overlapped region should not be treated as a touch-handling region. This change updates FindLayerThatIsHitByPointInTouchHandlerRegion() to do the right thing (which is currently used only in tests), and uses this function from LayerTreeHostImpl::HaveTouchEventHandlersAt() (instead of having its own code). BUG=none R=enne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230578

Patch Set 1 #

Patch Set 2 : update-test #

Patch Set 3 : fix-win #

Total comments: 5

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -42 lines) Patch
M cc/trees/layer_tree_host_common.cc View 1 2 3 1 chunk +14 lines, -27 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 1 chunk +84 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 1 chunk +5 lines, -15 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sadrul
7 years, 2 months ago (2013-10-17 19:21:03 UTC) #1
Rick Byers
On 2013/10/17 19:21:03, sadrul wrote: I agree this seems like the right thing to do, ...
7 years, 2 months ago (2013-10-17 21:05:02 UTC) #2
sadrul
On 2013/10/17 21:05:02, Rick Byers wrote: > On 2013/10/17 19:21:03, sadrul wrote: > > I ...
7 years, 2 months ago (2013-10-18 11:28:11 UTC) #3
enne (OOO)
https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (left): https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc#oldcode2399 cc/trees/layer_tree_host_common.cc:2399: continue; I would have expected the fix here to ...
7 years, 2 months ago (2013-10-18 19:18:38 UTC) #4
sadrul
https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc#newcode2386 cc/trees/layer_tree_host_common.cc:2386: // Walk up the hierarchy and look for a ...
7 years, 2 months ago (2013-10-18 19:57:43 UTC) #5
sadrul
ping
7 years, 2 months ago (2013-10-21 18:49:04 UTC) #6
enne (OOO)
https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc#newcode2386 cc/trees/layer_tree_host_common.cc:2386: // Walk up the hierarchy and look for a ...
7 years, 2 months ago (2013-10-21 19:52:04 UTC) #7
sadrul
https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/27718006/diff/10001/cc/trees/layer_tree_host_common.cc#newcode2386 cc/trees/layer_tree_host_common.cc:2386: // Walk up the hierarchy and look for a ...
7 years, 2 months ago (2013-10-21 21:36:46 UTC) #8
enne (OOO)
On 2013/10/21 21:36:46, sadrul wrote: > From what I can see, this was done since ...
7 years, 2 months ago (2013-10-22 23:18:00 UTC) #9
sadrul
On 2013/10/22 23:18:00, enne wrote: > On 2013/10/21 21:36:46, sadrul wrote: > > > From ...
7 years, 2 months ago (2013-10-24 00:58:20 UTC) #10
sadrul
7 years, 2 months ago (2013-10-24 01:03:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r230578 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698