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

Issue 12087140: Suppress touchscreen tap immediately after a GestureFlingCancel (Closed)

Created:
7 years, 10 months ago by mohsen
Modified:
7 years, 9 months ago
Reviewers:
rjkroege, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, Yusuf
Visibility:
Public.

Description

Suppress touchscreen tap immediately after a GestureFlingCancel Tapping on the touchscreen during a fling scroll causes a GestureFlingCancel to be sent to stop the fling. It also sends a pair of GestureTapDown/GestureTap events that should be suppressed if the fling is successfully stopped (otherwise we will have undesirable side effects; e.g. activating a link or push button in tap location). This was working for touchpad. It is now added for touchscreen, too. BUG=162242 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190017

Patch Set 1 #

Total comments: 35

Patch Set 2 : Applied some reviews #

Patch Set 3 : Updated after TSC refactoring #

Total comments: 13

Patch Set 4 : Limited touchscreen TSC to Aura and Windows #

Patch Set 5 : Allowed GFC Ack in NOTHING state + Resolved a link error on win #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -92 lines) Patch
M content/browser/renderer_host/gesture_event_filter.h View 1 2 3 6 chunks +71 lines, -23 lines 0 comments Download
M content/browser/renderer_host/gesture_event_filter.cc View 1 2 13 chunks +119 lines, -64 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/tap_suppression_controller.cc View 1 2 3 4 1 chunk +0 lines, -1 line 2 comments Download
A content/browser/renderer_host/touchscreen_tap_suppression_controller.h View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A content/browser/renderer_host/touchscreen_tap_suppression_controller.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A content/browser/renderer_host/touchscreen_tap_suppression_controller_stub.cc View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
mohsen
I have added a separate tap suppression controller for the touchscreen. It has almost the ...
7 years, 10 months ago (2013-02-04 15:09:05 UTC) #1
rjkroege
https://codereview.chromium.org/12087140/diff/1/content/browser/renderer_host/gesture_event_filter.cc File content/browser/renderer_host/gesture_event_filter.cc (right): https://codereview.chromium.org/12087140/diff/1/content/browser/renderer_host/gesture_event_filter.cc#newcode143 content/browser/renderer_host/gesture_event_filter.cc:143: const WebGestureEvent& gesture_event) { On 2013/02/04 15:09:05, mohsen wrote: ...
7 years, 10 months ago (2013-02-05 16:00:07 UTC) #2
mohsen
I have applied reviews. The main thing remaining is the common code in touchpad and ...
7 years, 10 months ago (2013-02-06 16:13:06 UTC) #3
rjkroege
On 2013/02/06 16:13:06, mohsen wrote: > I have applied reviews. The main thing remaining is ...
7 years, 10 months ago (2013-02-06 20:30:50 UTC) #4
mohsen
This is the re-implementation of touchscreen tap suppression after TSC refactoring. Currently, GestureEventFilter and TouchscreenTapSuppressionController ...
7 years, 9 months ago (2013-03-07 22:31:41 UTC) #5
rjkroege
Please CC yusufo on this change. https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc File content/browser/renderer_host/gesture_event_filter.cc (right): https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc#newcode132 content/browser/renderer_host/gesture_event_filter.cc:132: ShouldForwardForBounceReduction(gesture_event) && afaik: ...
7 years, 9 months ago (2013-03-07 22:56:21 UTC) #6
mohsen
CC'd yusufo@ for the changes in gesture_event_filter.h/.cc.
7 years, 9 months ago (2013-03-07 23:20:26 UTC) #7
mohsen
https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc File content/browser/renderer_host/gesture_event_filter.cc (right): https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc#newcode132 content/browser/renderer_host/gesture_event_filter.cc:132: ShouldForwardForBounceReduction(gesture_event) && On 2013/03/07 22:56:21, rjkroege wrote: > afaik: ...
7 years, 9 months ago (2013-03-08 00:14:58 UTC) #8
rjkroege
On 2013/03/08 00:14:58, mohsen wrote: > https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc > File content/browser/renderer_host/gesture_event_filter.cc (right): > > https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc#newcode132 > ...
7 years, 9 months ago (2013-03-11 14:24:32 UTC) #9
rjkroege
https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc File content/browser/renderer_host/gesture_event_filter.cc (right): https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc#newcode132 content/browser/renderer_host/gesture_event_filter.cc:132: ShouldForwardForBounceReduction(gesture_event) && On 2013/03/08 00:14:58, mohsen wrote: > On ...
7 years, 9 months ago (2013-03-14 19:48:06 UTC) #10
rjkroege
https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc File content/browser/renderer_host/gesture_event_filter.cc (right): https://codereview.chromium.org/12087140/diff/38001/content/browser/renderer_host/gesture_event_filter.cc#newcode132 content/browser/renderer_host/gesture_event_filter.cc:132: ShouldForwardForBounceReduction(gesture_event) && On 2013/03/08 00:14:58, mohsen wrote: > On ...
7 years, 9 months ago (2013-03-14 19:48:06 UTC) #11
mohsen
I have: 1. limited touchscreen tap suppression controller to Aura and Windows platforms, and used ...
7 years, 9 months ago (2013-03-17 23:09:01 UTC) #12
rjkroege
lgtm
7 years, 9 months ago (2013-03-19 21:28:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/48001
7 years, 9 months ago (2013-03-19 22:39:07 UTC) #14
commit-bot: I haz the power
Presubmit check for 12087140-48001 failed and returned exit status 1. INFO:root:Found 7 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-19 22:39:13 UTC) #15
mohsen
jam@ for OWNERS in content/content_browser.gypi.
7 years, 9 months ago (2013-03-19 22:42:38 UTC) #16
jam
On 2013/03/19 22:42:38, mohsen wrote: > jam@ for OWNERS in content/content_browser.gypi. lgtm
7 years, 9 months ago (2013-03-20 02:58:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/48001
7 years, 9 months ago (2013-03-20 03:39:22 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-20 04:42:41 UTC) #19
mohsen
rjkroege@: I have changed the tap suppression state machine a bit to pass some browser ...
7 years, 9 months ago (2013-03-21 14:49:32 UTC) #20
rjkroege
(still) lgtm. https://codereview.chromium.org/12087140/diff/73001/content/browser/renderer_host/tap_suppression_controller.cc File content/browser/renderer_host/tap_suppression_controller.cc (right): https://codereview.chromium.org/12087140/diff/73001/content/browser/renderer_host/tap_suppression_controller.cc#newcode36 content/browser/renderer_host/tap_suppression_controller.cc:36: case NOTHING: On 2013/03/21 14:49:32, mohsen wrote: ...
7 years, 9 months ago (2013-03-21 17:17:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/73001
7 years, 9 months ago (2013-03-21 17:22:34 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/73001
7 years, 9 months ago (2013-03-22 04:56:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/73001
7 years, 9 months ago (2013-03-22 14:37:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/73001
7 years, 9 months ago (2013-03-22 15:03:24 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/73001
7 years, 9 months ago (2013-03-22 18:06:16 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/12087140/73001
7 years, 9 months ago (2013-03-23 14:38:43 UTC) #27
commit-bot: I haz the power
7 years, 9 months ago (2013-03-23 16:16:45 UTC) #28
Message was sent while issue was closed.
Change committed as 190017

Powered by Google App Engine
This is Rietveld 408576698