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

Issue 2173603002: Filter GestureFlingStarts with Vx=Vy=0 in RenderWidgetHostViewChildFrame (Closed)

Created:
4 years, 5 months ago by wjmaclean
Modified:
4 years, 5 months ago
Reviewers:
Charlie Reis, khmel, spang
CC:
chromium-reviews, ozone-reviews_chromium.org, creis+watch_chromium.org, tdresser+watch_chromium.org, nasko+codewatch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, darin-cc_chromium.org, kalyank, xiyuan (google.com)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Filter GestureFlingStarts with Vx=Vy=0 in RenderWidgetHostViewChildFrame This CL fixes both (1) the renderer crash originally fixed by https://codereview.chromium.org/2165043002, and (2) reverts the part of that CL which prevents ChromeOS from having zero-velocity GestureFlingStarts, which caused a regression in two-finger swipe navigation for touchpad. It also moves the DCHECK from the original CL to a new location which would have prevented the renderer crashes from being introduced in the first place. This CL doesn't include a test, though the test proposed by khmel@ in https://codereview.chromium.org/2168693003 presumably will land shortly after this CL. BUG=627227 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/d51673024bb1990807d86e8acfbf7759748fbae3 Cr-Commit-Position: refs/heads/master@{#407275}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update comment, undo unintended formatting change. #

Total comments: 2

Patch Set 3 : Clarify comments, and include reference to RWHVA::FilterInputEvent(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -16 lines) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 2 chunks +26 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc View 1 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
wjmaclean
Revised approach to fixing renderer crash from Issue 627227; the original approach regressed an animation ...
4 years, 5 months ago (2016-07-22 00:25:07 UTC) #6
wjmaclean
https://codereview.chromium.org/2173603002/diff/1/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2173603002/diff/1/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode677 content/browser/frame_host/render_widget_host_view_child_frame.cc:677: // However, the here we've just indicated touchpad scroll ...
4 years, 5 months ago (2016-07-22 00:42:01 UTC) #7
khmel
On 2016/07/22 00:42:01, wjmaclean wrote: > https://codereview.chromium.org/2173603002/diff/1/content/browser/frame_host/render_widget_host_view_child_frame.cc > File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): > > https://codereview.chromium.org/2173603002/diff/1/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode677 > ...
4 years, 5 months ago (2016-07-22 15:02:50 UTC) #14
Charlie Reis
content/ LGTM with some comment clarifications. https://codereview.chromium.org/2173603002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2173603002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode669 content/browser/frame_host/render_widget_host_view_child_frame.cc:669: // Reporting consumed ...
4 years, 5 months ago (2016-07-22 17:25:55 UTC) #15
spang
ozone lgtm
4 years, 5 months ago (2016-07-22 18:24:16 UTC) #16
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/2173603002/40001
4 years, 5 months ago (2016-07-22 20:43:12 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-22 21:53:03 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 21:54:32 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d51673024bb1990807d86e8acfbf7759748fbae3
Cr-Commit-Position: refs/heads/master@{#407275}

Powered by Google App Engine
This is Rietveld 408576698