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

Issue 1847823005: Fix Event Latency Info on generate gesture events. (Closed)

Created:
4 years, 8 months ago by dtapuska
Modified:
4 years, 8 months ago
Reviewers:
wjmaclean, tdresser
CC:
chromium-reviews, darin-cc_chromium.org, jam, dtapuska+chromiumwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Event Latency Info on generate gesture events. Generated gesture events weren't marking the begin component correctly which caused the tag not to be set correctly. In order to achieve this proper marking the events need to propagate up from the InputRouterImpl into the RenderWidgetHostImpl which adds the latency information. BUG=596823 Committed: https://crrev.com/581656043e63a1e26fb6b038823b2d0bb2a28710 Cr-Commit-Position: refs/heads/master@{#384951}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't fully qualify blink::WebGestureEvent in mouse wheel event queue #

Patch Set 3 : Fix build #

Patch Set 4 : Fix DCHECKS failing #

Total comments: 2

Patch Set 5 : Remove debugging #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -67 lines) Patch
M content/browser/renderer_host/input/input_router_client.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_perftest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue.cc View 1 2 3 7 chunks +56 lines, -55 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 2 chunks +12 lines, -6 lines 2 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 34 (12 generated)
dtapuska
Try bot was run here to verify fix: https://build.chromium.org/p/tryserver.chromium.perf/builders/mac_10_11_perf_bisect/builds/563
4 years, 8 months ago (2016-04-01 19:24:57 UTC) #3
tdresser
LGTM. https://codereview.chromium.org/1847823005/diff/1/content/browser/renderer_host/input/mouse_wheel_event_queue.cc File content/browser/renderer_host/input/mouse_wheel_event_queue.cc (right): https://codereview.chromium.org/1847823005/diff/1/content/browser/renderer_host/input/mouse_wheel_event_queue.cc#newcode13 content/browser/renderer_host/input/mouse_wheel_event_queue.cc:13: using ui::LatencyInfo; Feel free to add WebGestureEvent here ...
4 years, 8 months ago (2016-04-01 19:28:56 UTC) #4
dtapuska
https://codereview.chromium.org/1847823005/diff/1/content/browser/renderer_host/input/mouse_wheel_event_queue.cc File content/browser/renderer_host/input/mouse_wheel_event_queue.cc (right): https://codereview.chromium.org/1847823005/diff/1/content/browser/renderer_host/input/mouse_wheel_event_queue.cc#newcode13 content/browser/renderer_host/input/mouse_wheel_event_queue.cc:13: using ui::LatencyInfo; On 2016/04/01 19:28:56, tdresser wrote: > Feel ...
4 years, 8 months ago (2016-04-01 19:33:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847823005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847823005/20001
4 years, 8 months ago (2016-04-01 19:34:06 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/44323)
4 years, 8 months ago (2016-04-01 19:57:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847823005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847823005/40001
4 years, 8 months ago (2016-04-01 20:23:37 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/138335)
4 years, 8 months ago (2016-04-01 21:32:57 UTC) #15
dtapuska
On 2016/04/01 21:32:57, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-04-04 14:49:18 UTC) #17
dtapuska
https://codereview.chromium.org/1847823005/diff/60001/content/browser/renderer_host/input/mouse_wheel_event_queue.cc File content/browser/renderer_host/input/mouse_wheel_event_queue.cc (right): https://codereview.chromium.org/1847823005/diff/60001/content/browser/renderer_host/input/mouse_wheel_event_queue.cc#newcode219 content/browser/renderer_host/input/mouse_wheel_event_queue.cc:219: scroll_end_timer_.Reset(); Although this typically wouldn't get hit. The one ...
4 years, 8 months ago (2016-04-04 14:53:15 UTC) #18
wjmaclean
On 2016/04/04 14:53:15, dtapuska wrote: > https://codereview.chromium.org/1847823005/diff/60001/content/browser/renderer_host/input/mouse_wheel_event_queue.cc > File content/browser/renderer_host/input/mouse_wheel_event_queue.cc (right): > > https://codereview.chromium.org/1847823005/diff/60001/content/browser/renderer_host/input/mouse_wheel_event_queue.cc#newcode219 > ...
4 years, 8 months ago (2016-04-04 15:34:37 UTC) #19
tdresser
On 2016/04/04 15:34:37, wjmaclean wrote: > On 2016/04/04 14:53:15, dtapuska wrote: > > > https://codereview.chromium.org/1847823005/diff/60001/content/browser/renderer_host/input/mouse_wheel_event_queue.cc ...
4 years, 8 months ago (2016-04-04 15:37:55 UTC) #20
tdresser
Still LGTM % nit. https://codereview.chromium.org/1847823005/diff/80001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/1847823005/diff/80001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1035 content/browser/renderer_host/render_widget_host_impl.cc:1035: : &is_in_touchscreen_gesture_scroll_; I think it ...
4 years, 8 months ago (2016-04-04 15:47:48 UTC) #21
wjmaclean
On 2016/04/04 15:37:55, tdresser wrote: > On 2016/04/04 15:34:37, wjmaclean wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 15:48:01 UTC) #22
tdresser
On 2016/04/04 15:48:01, wjmaclean wrote: > On 2016/04/04 15:37:55, tdresser wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 15:57:10 UTC) #23
tdresser
https://codereview.chromium.org/1847823005/diff/80001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/1847823005/diff/80001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1035 content/browser/renderer_host/render_widget_host_impl.cc:1035: : &is_in_touchscreen_gesture_scroll_; On 2016/04/04 15:47:48, tdresser wrote: > I ...
4 years, 8 months ago (2016-04-04 15:57:21 UTC) #24
wjmaclean
On 2016/04/04 15:57:10, tdresser wrote: > On 2016/04/04 15:48:01, wjmaclean wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 15:59:42 UTC) #25
tdresser
On 2016/04/04 15:59:42, wjmaclean wrote: > On 2016/04/04 15:57:10, tdresser wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 16:04:29 UTC) #26
dtapuska
On 2016/04/04 16:04:29, tdresser wrote: > On 2016/04/04 15:59:42, wjmaclean wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 16:49:58 UTC) #27
tdresser
On 2016/04/04 16:49:58, dtapuska wrote: > On 2016/04/04 16:04:29, tdresser wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 16:52:38 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847823005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847823005/80001
4 years, 8 months ago (2016-04-04 16:53:59 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-04 17:59:19 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 18:01:36 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/581656043e63a1e26fb6b038823b2d0bb2a28710
Cr-Commit-Position: refs/heads/master@{#384951}

Powered by Google App Engine
This is Rietveld 408576698