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

Issue 2034213002: Reland: Fix touchpad gesture routing to renderers (Closed)

Created:
4 years, 6 months ago by mohsen
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Fix touchpad gesture routing to renderers With the addition for touchpad pinch zoom, we will have gesture events with touchpad as the source device. RenderWidgetHostInputEventRouter should handle these types of gestures properly. Also, handling touchpad fling events that are recently switched to use RenderWidgetHostInputEventRouter path. BUG=410580 Committed: https://crrev.com/c6cf0184697c9b473b78cdc0e44490a73da95486 Committed: https://crrev.com/298aa38b91c86e1540aeb2a1c119c9040715037c Cr-Original-Commit-Position: refs/heads/master@{#401723} Cr-Commit-Position: refs/heads/master@{#403016}

Patch Set 1 #

Patch Set 2 : Cleaned up comments #

Total comments: 6

Patch Set 3 : Fixed DCHECK's #

Total comments: 11

Patch Set 4 : Addressed review comments #

Total comments: 1

Patch Set 5 : Got rid of delta checks in test #

Total comments: 4

Patch Set 6 : Rebased #

Patch Set 7 : Handled touchpad flings #

Patch Set 8 : Updated test to include fling #

Patch Set 9 : Fixed Windows failure #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -98 lines) Patch
M content/browser/renderer_host/render_widget_host_input_event_router.h View 1 2 3 3 chunks +17 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 3 4 5 6 5 chunks +103 lines, -60 lines 3 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 3 chunks +146 lines, -28 lines 0 comments Download

Messages

Total messages: 82 (30 generated)
mohsen
sadrul@: Can you please take a look...
4 years, 6 months ago (2016-06-03 21:39:19 UTC) #2
sadrul
+tdresser@ It doesn't look like the target for touchpad-wheel events are ever 'locked'. Is there ...
4 years, 6 months ago (2016-06-06 15:21:47 UTC) #4
tdresser
On 2016/06/06 15:21:47, sadrul wrote: > +tdresser@ > > It doesn't look like the target ...
4 years, 6 months ago (2016-06-06 15:23:20 UTC) #5
sadrul
On 2016/06/06 15:23:20, tdresser wrote: > On 2016/06/06 15:21:47, sadrul wrote: > > +tdresser@ > ...
4 years, 6 months ago (2016-06-06 15:24:53 UTC) #6
tdresser
On 2016/06/06 15:24:53, sadrul wrote: > On 2016/06/06 15:23:20, tdresser wrote: > > On 2016/06/06 ...
4 years, 6 months ago (2016-06-06 17:39:23 UTC) #7
mohsen
https://codereview.chromium.org/2034213002/diff/20001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/20001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode287 content/browser/renderer_host/render_widget_host_input_event_router.cc:287: DCHECK(event->sourceDevice == blink::WebGestureDeviceTouchscreen); On 2016/06/06 at 15:21:47, sadrul wrote: ...
4 years, 6 months ago (2016-06-06 18:33:41 UTC) #8
sadrul
A few comments and nits. Otherwise lgtm. Please wait for a review from tdresser@ too ...
4 years, 6 months ago (2016-06-08 15:56:30 UTC) #9
tdresser
LGTM with nits. https://codereview.chromium.org/2034213002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode56 content/browser/renderer_host/render_widget_host_input_event_router.cc:56: if (view == touchscreen_gesture_target_) { We ...
4 years, 6 months ago (2016-06-08 17:41:12 UTC) #10
mohsen
https://codereview.chromium.org/2034213002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode56 content/browser/renderer_host/render_widget_host_input_event_router.cc:56: if (view == touchscreen_gesture_target_) { On 2016/06/08 at 17:41:12, ...
4 years, 6 months ago (2016-06-08 23:32:27 UTC) #11
tdresser
https://codereview.chromium.org/2034213002/diff/60001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/60001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode42 content/browser/renderer_host/render_widget_host_input_event_router.cc:42: if (view == touch_target_.target) { I was envisioning getting ...
4 years, 6 months ago (2016-06-09 12:42:24 UTC) #12
mohsen
sadrul@: I got rid of delta checks I'd added in the previous patch set and ...
4 years, 6 months ago (2016-06-13 18:11:19 UTC) #13
sadrul
On 2016/06/13 18:11:19, mohsen wrote: > sadrul@: I got rid of delta checks I'd added ...
4 years, 6 months ago (2016-06-13 18:14:59 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034213002/80001
4 years, 6 months ago (2016-06-13 21:47:47 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-13 21:53:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034213002/80001
4 years, 6 months ago (2016-06-13 22:16:14 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/199991)
4 years, 6 months ago (2016-06-13 22:26:36 UTC) #23
mohsen
jam@: Can you please take an OWNERS look at content/browser/site_per_process_browsertest.cc?
4 years, 6 months ago (2016-06-14 03:06:19 UTC) #25
jam
On 2016/06/14 03:06:19, mohsen wrote: > jam@: Can you please take an OWNERS look at ...
4 years, 6 months ago (2016-06-14 16:24:39 UTC) #26
mohsen
jam@: Sure, I had added you because nasko@ and creis@ were marked as very slow ...
4 years, 6 months ago (2016-06-14 16:29:33 UTC) #28
mohsen
creis@: nasko@ is still OOO. Can you please take a look?
4 years, 6 months ago (2016-06-22 19:10:50 UTC) #30
Charlie Reis
[+site-isolation-reviews] Thanks for adding the OOPIF test! Mostly deferring to sadrul and tdresser, but LGTM. ...
4 years, 6 months ago (2016-06-23 00:07:40 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034213002/80001
4 years, 6 months ago (2016-06-23 18:19:42 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 19:30:27 UTC) #35
mohsen
https://codereview.chromium.org/2034213002/diff/80001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/2034213002/diff/80001/content/browser/site_per_process_browsertest.cc#newcode4838 content/browser/site_per_process_browsertest.cc:4838: #if defined(USE_AURA) On 2016/06/23 at 00:07:40, Charlie Reis wrote: ...
4 years, 6 months ago (2016-06-23 19:42:27 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034213002/80001
4 years, 6 months ago (2016-06-23 21:19:44 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-23 21:26:55 UTC) #39
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/c6cf0184697c9b473b78cdc0e44490a73da95486 Cr-Commit-Position: refs/heads/master@{#401723}
4 years, 6 months ago (2016-06-23 21:28:07 UTC) #41
dgozman
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2096923002/ by dgozman@chromium.org. ...
4 years, 6 months ago (2016-06-23 23:24:23 UTC) #42
kenrb
The test that was broken by this CL had been landed only a few hours ...
4 years, 6 months ago (2016-06-24 15:28:18 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2034213002/120001
4 years, 6 months ago (2016-06-24 19:34:29 UTC) #46
mohsen
sadrul@: I talked with kenrb@ and we decided to update my patch to handle touchpad ...
4 years, 6 months ago (2016-06-24 20:08:51 UTC) #48
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2034213002/140001
4 years, 5 months ago (2016-06-27 22:10:23 UTC) #50
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/236328)
4 years, 5 months ago (2016-06-27 23:35:09 UTC) #52
sadrul
On 2016/06/24 20:08:51, mohsen wrote: > sadrul@: I talked with kenrb@ and we decided to ...
4 years, 5 months ago (2016-06-28 19:14:10 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2034213002/180001
4 years, 5 months ago (2016-06-29 17:12:18 UTC) #56
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 18:07:14 UTC) #58
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/2034213002/180001
4 years, 5 months ago (2016-06-30 00:00:52 UTC) #64
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 5 months ago (2016-06-30 00:19:13 UTC) #65
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 00:19:38 UTC) #66
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/298aa38b91c86e1540aeb2a1c119c9040715037c Cr-Commit-Position: refs/heads/master@{#403016}
4 years, 5 months ago (2016-06-30 00:21:07 UTC) #68
wjmaclean
https://codereview.chromium.org/2034213002/diff/180001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/180001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode317 content/browser/renderer_host/render_widget_host_input_event_router.cc:317: if (event->type == blink::WebInputEvent::GesturePinchBegin || As best I recall, ...
4 years, 5 months ago (2016-07-14 12:15:12 UTC) #71
mohsen
https://codereview.chromium.org/2034213002/diff/180001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/180001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode317 content/browser/renderer_host/render_widget_host_input_event_router.cc:317: if (event->type == blink::WebInputEvent::GesturePinchBegin || On 2016/07/14 at 12:15:11, ...
4 years, 5 months ago (2016-07-15 14:40:05 UTC) #72
mohsen
https://codereview.chromium.org/2034213002/diff/180001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2034213002/diff/180001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode317 content/browser/renderer_host/render_widget_host_input_event_router.cc:317: if (event->type == blink::WebInputEvent::GesturePinchBegin || On 2016/07/15 at 14:40:05, ...
4 years, 5 months ago (2016-07-15 14:46:19 UTC) #73
wjmaclean
Sending the touchscreen pinch gestures is a mistake I will fix at the same time ...
4 years, 5 months ago (2016-07-15 14:54:37 UTC) #74
tdresser
On 2016/07/15 14:54:37, wjmaclean wrote: > Sending the touchscreen pinch gestures is a mistake I ...
4 years, 5 months ago (2016-07-15 16:47:36 UTC) #75
wjmaclean
On 2016/07/15 16:47:36, tdresser wrote: > It's a good point though that we need to ...
4 years, 5 months ago (2016-07-15 16:52:23 UTC) #76
tdresser
On 2016/07/15 16:52:23, wjmaclean wrote: > On 2016/07/15 16:47:36, tdresser wrote: > > > It's ...
4 years, 5 months ago (2016-07-15 16:55:23 UTC) #77
mohsen
On 2016/07/15 at 16:52:23, wjmaclean wrote: > On 2016/07/15 16:47:36, tdresser wrote: > > > ...
4 years, 5 months ago (2016-07-15 16:58:30 UTC) #78
wjmaclean
On 2016/07/15 16:58:30, mohsen wrote: > On 2016/07/15 at 16:52:23, wjmaclean wrote: > > On ...
4 years, 5 months ago (2016-07-15 17:02:16 UTC) #79
wjmaclean
On 2016/07/15 17:02:16, wjmaclean wrote: > Hmm, but pinch zoom is only applied on the ...
4 years, 5 months ago (2016-07-15 17:03:32 UTC) #80
bokan
On 2016/07/15 17:03:32, wjmaclean wrote: > On 2016/07/15 17:02:16, wjmaclean wrote: > > > Hmm, ...
4 years, 5 months ago (2016-07-15 19:44:19 UTC) #81
kenrb
4 years, 5 months ago (2016-07-18 14:59:46 UTC) #82
Message was sent while issue was closed.
The bug for pinch gestures in OOPIF is
https://bugs.chromium.org/p/chromium/issues/detail?id=627926. I have copied
bokan's last comment to that thread and welcome any further comment. It sounds
to me like that summarizes well the remaining work related to pinch and OOPIFs.

Powered by Google App Engine
This is Rietveld 408576698