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

Issue 13931009: Add latency info to input events sent to RenderWidget. (Closed)

Created:
7 years, 8 months ago by jbauman
Modified:
7 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Add latency info to input events sent to RenderWidget. This keeps track of the latency info for input events, and sends that down into the RenderWidget and into the compositor. It also collects the latency info when swap happens with gtk and returns it the the RenderWidgetHostImpl. BUG=155367 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199340

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : Add EventWithLatencyInfo #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -186 lines) Patch
A content/browser/renderer_host/event_with_latency_info.h View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
M content/browser/renderer_host/gesture_event_filter.h View 1 2 3 4 5 6 6 chunks +19 lines, -17 lines 0 comments Download
M content/browser/renderer_host/gesture_event_filter.cc View 1 2 3 4 16 chunks +92 lines, -81 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller.h View 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/renderer_host/overscroll_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 5 chunks +29 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 16 chunks +100 lines, -55 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -6 lines 0 comments Download
M content/browser/renderer_host/touchpad_tap_suppression_controller.h View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/touchpad_tap_suppression_controller.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/touchpad_tap_suppression_controller_aura.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/touchscreen_tap_suppression_controller.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/touchscreen_tap_suppression_controller.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/touchscreen_tap_suppression_controller_stub.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/input_messages.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/gpu/input_event_filter_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/idle_user_detector.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/idle_user_detector.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
jbauman
7 years, 8 months ago (2013-04-22 20:09:51 UTC) #1
piman
https://codereview.chromium.org/13931009/diff/11001/content/browser/renderer_host/gesture_event_filter.h File content/browser/renderer_host/gesture_event_filter.h (right): https://codereview.chromium.org/13931009/diff/11001/content/browser/renderer_host/gesture_event_filter.h#newcode23 content/browser/renderer_host/gesture_event_filter.h:23: class GestureEventLatency : public WebKit::WebGestureEvent { nit: I found ...
7 years, 8 months ago (2013-04-22 20:46:38 UTC) #2
sadrul
Would it be possible to include the latency-info into the WebInputEvent itself (perhaps a WebLatencyInfo)? ...
7 years, 8 months ago (2013-04-22 20:56:03 UTC) #3
piman
On 2013/04/22 20:56:03, sadrul wrote: > Would it be possible to include the latency-info into ...
7 years, 8 months ago (2013-04-22 21:01:48 UTC) #4
jbauman
On 2013/04/22 20:56:03, sadrul wrote: > Would it be possible to include the latency-info into ...
7 years, 8 months ago (2013-04-22 21:35:12 UTC) #5
jbauman
On 2013/04/22 20:46:38, piman wrote: > https://codereview.chromium.org/13931009/diff/11001/content/browser/renderer_host/gesture_event_filter.h > File content/browser/renderer_host/gesture_event_filter.h (right): > > https://codereview.chromium.org/13931009/diff/11001/content/browser/renderer_host/gesture_event_filter.h#newcode23 > ...
7 years, 8 months ago (2013-04-22 21:43:22 UTC) #6
piman
On Mon, Apr 22, 2013 at 2:43 PM, <jbauman@chromium.org> wrote: > On 2013/04/22 20:46:38, piman ...
7 years, 8 months ago (2013-04-22 21:56:23 UTC) #7
jbauman
Ok, I made a generic EventWithLatencyInfo that's templated on the specific input event, so it ...
7 years, 8 months ago (2013-04-23 19:58:04 UTC) #8
piman
LGTM, nice!
7 years, 8 months ago (2013-04-25 04:20:07 UTC) #9
jbauman
Also adding cevans@ to hopefully rubber-stamp the change to view_messages.h
7 years, 8 months ago (2013-04-25 22:29:20 UTC) #10
jbauman
On 2013/04/25 22:29:20, jbauman wrote: > Also adding cevans@ to hopefully rubber-stamp the change to ...
7 years, 7 months ago (2013-04-30 01:47:39 UTC) #11
jbauman
On 2013/04/30 01:47:39, jbauman wrote: > On 2013/04/25 22:29:20, jbauman wrote: > > Also adding ...
7 years, 7 months ago (2013-05-08 23:04:35 UTC) #12
cevans
On 2013/05/08 23:04:35, jbauman wrote: > On 2013/04/30 01:47:39, jbauman wrote: > > On 2013/04/25 ...
7 years, 7 months ago (2013-05-09 02:21:01 UTC) #13
jbauman
7 years, 7 months ago (2013-05-09 06:26:19 UTC) #14
jbauman
On 2013/05/09 02:21:01, cevans wrote: > On 2013/05/08 23:04:35, jbauman wrote: > > On 2013/04/30 ...
7 years, 7 months ago (2013-05-09 06:26:34 UTC) #15
Chris Evans
On 2013/05/09 06:26:34, jbauman wrote: > On 2013/05/09 02:21:01, cevans wrote: > > On 2013/05/08 ...
7 years, 7 months ago (2013-05-09 17:46:41 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/13931009/64001
7 years, 7 months ago (2013-05-09 22:50:00 UTC) #17
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 02:41:56 UTC) #18
Message was sent while issue was closed.
Change committed as 199340

Powered by Google App Engine
This is Rietveld 408576698