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

Issue 2186983002: Re-route Touchscreen GesturePinch events to root view. (Closed)

Created:
4 years, 4 months ago by wjmaclean
Modified:
4 years, 4 months ago
Reviewers:
kenrb, Charlie Reis
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

Re-route Touchscreen GesturePinch events to root view. This CL fixes the routing of GesturePinch* events so that they always go to the root view. Also, any other gesture events between GesturePinchBegin and GesturePinchEnd (namely GestureScrollUpdate) are also routed to the root view, so that the visual viewport pans correctly. BUG=627926 Committed: https://crrev.com/237a3cdd338750a6a35d336912c5830868380272 Cr-Commit-Position: refs/heads/master@{#410198}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address kenrb@'s comments. #

Total comments: 14

Patch Set 3 : Address creis@ comments. #

Total comments: 1

Patch Set 4 : Modify to consult RWHI's GestureScroll status. #

Patch Set 5 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -14 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 3 5 chunks +45 lines, -3 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 2 chunks +192 lines, -11 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
wjmaclean
kenrb@ - would you please give this a first look? It won't land until after ...
4 years, 4 months ago (2016-07-27 15:01:16 UTC) #3
kenrb
lgtm https://codereview.chromium.org/2186983002/diff/1/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/2186983002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode396 content/browser/renderer_host/render_widget_host_input_event_router.cc:396: // revisit how this code should work. nit: ...
4 years, 4 months ago (2016-07-27 21:49:49 UTC) #8
wjmaclean
creis@ - a not-too-large CL, please take a look? https://codereview.chromium.org/2186983002/diff/1/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/2186983002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode396 content/browser/renderer_host/render_widget_host_input_event_router.cc:396: ...
4 years, 4 months ago (2016-07-28 13:22:11 UTC) #10
Charlie Reis
[+site-isolation-reviews] Mostly deferring to kenrb on the behavior. Otherwise LGTM with nits. Thanks! https://codereview.chromium.org/2186983002/diff/20001/content/browser/renderer_host/render_widget_host_input_event_router.h File ...
4 years, 4 months ago (2016-07-28 17:23:02 UTC) #15
wjmaclean
https://codereview.chromium.org/2186983002/diff/20001/content/browser/renderer_host/render_widget_host_input_event_router.h File content/browser/renderer_host/render_widget_host_input_event_router.h (right): https://codereview.chromium.org/2186983002/diff/20001/content/browser/renderer_host/render_widget_host_input_event_router.h#newcode140 content/browser/renderer_host/render_widget_host_input_event_router.h:140: bool in_touchscreen_gesture_pinch_; On 2016/07/28 17:23:02, Charlie Reis wrote: > ...
4 years, 4 months ago (2016-07-29 14:28:31 UTC) #16
Charlie Reis
Thanks. I assume you're not blocked on me, but still LGTM. https://codereview.chromium.org/2186983002/diff/20001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): ...
4 years, 4 months ago (2016-08-01 20:19:43 UTC) #17
wjmaclean
kenrb@ - I've modified to use the state in RenderWidgetHostImpl as we discussed ... can ...
4 years, 4 months ago (2016-08-04 16:53:48 UTC) #20
kenrb
lgtm
4 years, 4 months ago (2016-08-05 19:19:10 UTC) #25
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/2186983002/80001
4 years, 4 months ago (2016-08-05 22:30:30 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-05 22:35:30 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 22:38:38 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/237a3cdd338750a6a35d336912c5830868380272
Cr-Commit-Position: refs/heads/master@{#410198}

Powered by Google App Engine
This is Rietveld 408576698