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

Issue 137123009: Add hittest mode for Touch-action which ignore inline elements and svg elements (Closed)

Created:
6 years, 11 months ago by gnana
Modified:
6 years, 9 months ago
CC:
blink-reviews, krit, bemjb+rendering_chromium.org, zoltan1, eae+blinkwatch, leviw+renderwatch, f(malita), jchaffraix+rendering, pdr, Stephen Chennney, rwlbuis, leviw_travelin_and_unemployed
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add hittest mode for Touch-action which ignore inline elements and svg elements Intoducing new HitTestRequest::TouchAction hit test type, which will be used in Special hit testing for computing effective touch-action in eventhandler. BUG=247396, 319479 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168443

Patch Set 1 : #

Total comments: 14

Patch Set 2 : incorporated review comments #

Total comments: 12

Patch Set 3 : incoporated review comments #

Total comments: 10

Patch Set 4 : incorporated review comments #

Total comments: 3

Patch Set 5 : incorporated review comments #

Total comments: 2

Patch Set 6 : rebase to trunk and Incorporated review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -13 lines) Patch
M Source/core/page/EventHandler.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M Source/core/rendering/HitTestRequest.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/rendering/InlineBox.h View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/tests/TouchActionTest.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/data/touch-action-simple.html View 1 2 3 1 chunk +27 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
gnana
Hi Rick, It will be helpful if you can give review comments. With the current ...
6 years, 11 months ago (2014-01-16 14:36:02 UTC) #1
gnana
6 years, 11 months ago (2014-01-16 14:39:09 UTC) #2
Rick Byers
Thanks Gnanasekar, this is a good start! https://codereview.chromium.org/137123009/diff/130001/Source/core/rendering/HitTestRequest.h File Source/core/rendering/HitTestRequest.h (right): https://codereview.chromium.org/137123009/diff/130001/Source/core/rendering/HitTestRequest.h#newcode44 Source/core/rendering/HitTestRequest.h:44: TouchAction = ...
6 years, 11 months ago (2014-01-17 16:12:46 UTC) #3
gnana
Thanks Rick for review comments. I have few queries which i have put in reply ...
6 years, 11 months ago (2014-01-21 14:00:16 UTC) #4
Rick Byers
https://codereview.chromium.org/137123009/diff/130001/Source/core/rendering/RootInlineBox.cpp File Source/core/rendering/RootInlineBox.cpp (right): https://codereview.chromium.org/137123009/diff/130001/Source/core/rendering/RootInlineBox.cpp#newcode180 Source/core/rendering/RootInlineBox.cpp:180: if (request.touchAction()) On 2014/01/21 14:00:16, gnana wrote: > On ...
6 years, 11 months ago (2014-01-21 15:24:19 UTC) #5
leviw_travelin_and_unemployed
https://codereview.chromium.org/137123009/diff/130001/Source/core/rendering/RootInlineBox.cpp File Source/core/rendering/RootInlineBox.cpp (right): https://codereview.chromium.org/137123009/diff/130001/Source/core/rendering/RootInlineBox.cpp#newcode180 Source/core/rendering/RootInlineBox.cpp:180: if (request.touchAction()) On 2014/01/21 15:24:20, Rick Byers wrote: > ...
6 years, 11 months ago (2014-01-21 19:14:59 UTC) #6
gnana
Please check this
6 years, 10 months ago (2014-02-14 16:52:44 UTC) #7
Rick Byers
Thanks Gnana, this is looking close to me. Rick https://codereview.chromium.org/137123009/diff/250001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/137123009/diff/250001/Source/core/page/EventHandler.cpp#newcode3677 Source/core/page/EventHandler.cpp:3677: ...
6 years, 10 months ago (2014-02-17 14:43:52 UTC) #8
Rick Byers
https://codereview.chromium.org/137123009/diff/250001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/137123009/diff/250001/Source/core/page/EventHandler.cpp#newcode3676 Source/core/page/EventHandler.cpp:3676: // FIXME(rbyers): Should really be doing a second hit ...
6 years, 10 months ago (2014-02-17 14:44:24 UTC) #9
gnana
Please have a look. https://codereview.chromium.org/137123009/diff/250001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/137123009/diff/250001/Source/core/page/EventHandler.cpp#newcode3676 Source/core/page/EventHandler.cpp:3676: // FIXME(rbyers): Should really be ...
6 years, 10 months ago (2014-02-24 18:59:49 UTC) #10
Rick Byers
Looking good! Unfortunately it seems your test has uncovered a real bug we'll want to ...
6 years, 10 months ago (2014-02-25 22:52:02 UTC) #11
gnana
I feel the patch is ready for owner review. Please check. https://codereview.chromium.org/137123009/diff/360001/Source/web/tests/TouchActionTest.cpp File Source/web/tests/TouchActionTest.cpp (right): ...
6 years, 9 months ago (2014-02-27 13:26:58 UTC) #12
Rick Byers
LGTM modulo the one tiny suggestion. Levi, can you please take a look? https://codereview.chromium.org/137123009/diff/360001/Source/web/tests/TouchActionTest.cpp File ...
6 years, 9 months ago (2014-02-27 14:53:10 UTC) #13
gnana
Thanks Rick. https://codereview.chromium.org/137123009/diff/480001/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/137123009/diff/480001/Source/core/rendering/InlineFlowBox.cpp#newcode1059 Source/core/rendering/InlineFlowBox.cpp:1059: if (visibleToHitTestRequest(request) && locationInContainer.intersects(rect)) { On 2014/02/27 ...
6 years, 9 months ago (2014-02-28 10:04:24 UTC) #14
leviw_travelin_and_unemployed
https://codereview.chromium.org/137123009/diff/500001/Source/core/rendering/RenderObject.h File Source/core/rendering/RenderObject.h (right): https://codereview.chromium.org/137123009/diff/500001/Source/core/rendering/RenderObject.h#newcode927 Source/core/rendering/RenderObject.h:927: if (request.touchAction()) Instead of making this virtual and adding ...
6 years, 9 months ago (2014-02-28 18:14:38 UTC) #15
gnana
Thanks Levi. Please have a look once again. https://codereview.chromium.org/137123009/diff/500001/Source/core/rendering/RenderObject.h File Source/core/rendering/RenderObject.h (right): https://codereview.chromium.org/137123009/diff/500001/Source/core/rendering/RenderObject.h#newcode927 Source/core/rendering/RenderObject.h:927: if ...
6 years, 9 months ago (2014-03-03 07:42:31 UTC) #16
leviw_travelin_and_unemployed
This is exactly what I was looking for. Thanks! LGTM.
6 years, 9 months ago (2014-03-03 22:00:44 UTC) #17
gnana
The CQ bit was checked by gnanasekar.s@samsung.com
6 years, 9 months ago (2014-03-04 04:55:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/137123009/560001
6 years, 9 months ago (2014-03-04 04:56:13 UTC) #19
gnana
The CQ bit was unchecked by gnanasekar.s@samsung.com
6 years, 9 months ago (2014-03-04 05:21:58 UTC) #20
gnana
Need trivial LGTM for Below Presubmit Errors ** Presubmit ERRORS ** Missing LGTM from an ...
6 years, 9 months ago (2014-03-04 05:23:32 UTC) #21
gnana
Need trivial LGTM for Below Presubmit Errors ** Presubmit ERRORS ** Missing LGTM from an ...
6 years, 9 months ago (2014-03-04 05:26:49 UTC) #22
abarth-chromium
Source/web/tests rslgtm
6 years, 9 months ago (2014-03-04 06:43:58 UTC) #23
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 9 months ago (2014-03-04 06:44:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/137123009/560001
6 years, 9 months ago (2014-03-04 06:44:16 UTC) #25
gnana
The CQ bit was unchecked by gnanasekar.s@samsung.com
6 years, 9 months ago (2014-03-05 07:02:37 UTC) #26
gnana
The CQ bit was checked by gnanasekar.s@samsung.com
6 years, 9 months ago (2014-03-05 07:02:48 UTC) #27
gnana
The CQ bit was unchecked by gnanasekar.s@samsung.com
6 years, 9 months ago (2014-03-05 07:02:51 UTC) #28
gnana
The CQ bit was checked by gnanasekar.s@samsung.com
6 years, 9 months ago (2014-03-05 07:46:36 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/137123009/560001
6 years, 9 months ago (2014-03-05 07:47:08 UTC) #30
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 07:48:59 UTC) #31
Message was sent while issue was closed.
Change committed as 168443

Powered by Google App Engine
This is Rietveld 408576698