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

Issue 1003023002: Signal input flush when all flings have terminated (Closed)

Created:
5 years, 9 months ago by jdduke (slow)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Signal input flush when all flings have terminated Synthetic gestures rely on a flush signal from the InputRouter to indicate when a particular gesture has finished. Currently, this fails to capture fling animations, as they are hosted in the renderer. Wire up the fling end notification to the InputRouter, allowing it to gate flush signalling based on fling animation existence. This will allow proper execution of synthetic fling gestures with telemetry. BUG=321141 Committed: https://crrev.com/4216439c7d9c0f0796e9aff6639164d077546960 Cr-Commit-Position: refs/heads/master@{#321504}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updates #

Patch Set 3 : Fix test #

Patch Set 4 : Fix test compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -109 lines) Patch
M content/browser/renderer_host/input/gesture_event_queue.h View 1 3 chunks +8 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue.cc View 1 6 chunks +12 lines, -12 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue_unittest.cc View 1 2 3 4 chunks +31 lines, -13 lines 0 comments Download
M content/browser/renderer_host/input/input_router.h View 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/input_router_client.h View 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.h View 1 4 chunks +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 6 chunks +23 lines, -17 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_perftest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 8 chunks +63 lines, -8 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.cc View 3 chunks +10 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 5 chunks +6 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 3 chunks +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/input_messages.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
jdduke (slow)
miletus@: Could you take a look? The key change here is in input_router_impl with respect ...
5 years, 9 months ago (2015-03-13 01:01:30 UTC) #2
Yufeng Shen (Slow to review)
https://codereview.chromium.org/1003023002/diff/1/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/1003023002/diff/1/content/browser/renderer_host/input/input_router_impl.cc#newcode612 content/browser/renderer_host/input/input_router_impl.cc:612: } I saw that gesture event queue also maintains ...
5 years, 9 months ago (2015-03-13 15:53:42 UTC) #3
jdduke (slow)
https://codereview.chromium.org/1003023002/diff/1/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/1003023002/diff/1/content/browser/renderer_host/input/input_router_impl.cc#newcode612 content/browser/renderer_host/input/input_router_impl.cc:612: } On 2015/03/13 15:53:42, Yufeng Shen wrote: > I ...
5 years, 9 months ago (2015-03-13 16:08:04 UTC) #4
jdduke (slow)
OK, moved the logic to the GEQ, definitely the right thing to do. I'd still ...
5 years, 9 months ago (2015-03-13 21:56:23 UTC) #5
Yufeng Shen (Slow to review)
On 2015/03/13 21:56:23, jdduke wrote: > OK, moved the logic to the GEQ, definitely the ...
5 years, 9 months ago (2015-03-16 16:21:34 UTC) #6
jdduke (slow)
+sadrul for content/browser/renderer_host/render_widget* changes. +dcheng for trivial content/common security review.
5 years, 9 months ago (2015-03-16 17:37:35 UTC) #8
dcheng
rs lgtm for moving IPC message definition from view_messages.h to input_messages.h.
5 years, 9 months ago (2015-03-17 01:50:25 UTC) #9
sadrul
The trybot failures look relevant. Mind looking at those?
5 years, 9 months ago (2015-03-17 16:36:02 UTC) #10
jdduke (slow)
On 2015/03/17 16:36:02, sadrul wrote: > The trybot failures look relevant. Mind looking at those? ...
5 years, 9 months ago (2015-03-17 17:00:03 UTC) #12
jdduke (slow)
On 2015/03/17 17:00:03, jdduke wrote: > On 2015/03/17 16:36:02, sadrul wrote: > > The trybot ...
5 years, 9 months ago (2015-03-19 15:30:11 UTC) #13
sadrul
lgtm
5 years, 9 months ago (2015-03-19 22:51:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003023002/80001
5 years, 9 months ago (2015-03-19 23:12:28 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 9 months ago (2015-03-20 03:09:46 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 03:10:55 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4216439c7d9c0f0796e9aff6639164d077546960
Cr-Commit-Position: refs/heads/master@{#321504}

Powered by Google App Engine
This is Rietveld 408576698