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

Issue 2753533002: Fixed a bug in TouchActionFilter for unidirectional touch-actions. (Closed)

Created:
3 years, 9 months ago by mustaq
Modified:
3 years, 9 months ago
Reviewers:
dtapuska, Rick Byers
CC:
chromium-reviews, jam, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed a bug in TouchActionFilter for unidirectional touch-actions. This CL simplifies the touch-action filtering code and fixes a crack introduced through unidirectional touch action support. Touch-actions left/right/up/down should never allow opposite exact diagonal swipes even though still allowing diagonals towards the touch-action direction as before. BUG=697102 Review-Url: https://codereview.chromium.org/2753533002 Cr-Commit-Position: refs/heads/master@{#457133} Committed: https://chromium.googlesource.com/chromium/src/+/4d73d6ea6360a1a74625a2f9ac3a0eab8ef3cfb2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Dave's comments. #

Patch Set 3 : Dave's comments. #

Patch Set 4 : Fixed a test. #

Patch Set 5 : Fixed a test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -45 lines) Patch
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 3 4 1 chunk +12 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/touch_action_filter.cc View 1 2 1 chunk +21 lines, -38 lines 0 comments Download
M content/browser/renderer_host/input/touch_action_filter_unittest.cc View 7 chunks +65 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
mustaq
ptal
3 years, 9 months ago (2017-03-14 16:51:36 UTC) #2
dtapuska
https://codereview.chromium.org/2753533002/diff/1/content/browser/renderer_host/input/touch_action_filter.cc File content/browser/renderer_host/input/touch_action_filter.cc (right): https://codereview.chromium.org/2753533002/diff/1/content/browser/renderer_host/input/touch_action_filter.cc#newcode196 content/browser/renderer_host/input/touch_action_filter.cc:196: if (fabs(deltaXHint) <= fabs(deltaYHint)) { Can we write this ...
3 years, 9 months ago (2017-03-14 17:28:32 UTC) #3
mustaq
https://codereview.chromium.org/2753533002/diff/1/content/browser/renderer_host/input/touch_action_filter.cc File content/browser/renderer_host/input/touch_action_filter.cc (right): https://codereview.chromium.org/2753533002/diff/1/content/browser/renderer_host/input/touch_action_filter.cc#newcode196 content/browser/renderer_host/input/touch_action_filter.cc:196: if (fabs(deltaXHint) <= fabs(deltaYHint)) { On 2017/03/14 17:28:32, dtapuska ...
3 years, 9 months ago (2017-03-14 20:05:38 UTC) #4
dtapuska
On 2017/03/14 20:05:38, mustaq wrote: > https://codereview.chromium.org/2753533002/diff/1/content/browser/renderer_host/input/touch_action_filter.cc > File content/browser/renderer_host/input/touch_action_filter.cc (right): > > https://codereview.chromium.org/2753533002/diff/1/content/browser/renderer_host/input/touch_action_filter.cc#newcode196 > ...
3 years, 9 months ago (2017-03-14 20:21:17 UTC) #7
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/2753533002/60001
3 years, 9 months ago (2017-03-15 15:58:27 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/2753533002/80001
3 years, 9 months ago (2017-03-15 16:02:51 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/137301)
3 years, 9 months ago (2017-03-15 16:41:17 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/2753533002/80001
3 years, 9 months ago (2017-03-15 16:57:27 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 17:55:23 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4d73d6ea6360a1a74625a2f9ac3a...

Powered by Google App Engine
This is Rietveld 408576698