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

Issue 2856423002: input: Change how synthesized events are dispatched in telemetry tests. (Closed)

Created:
3 years, 7 months ago by sadrul
Modified:
3 years, 7 months ago
Reviewers:
kenrb, dtapuska, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

input: Change how synthesized events are dispatched in telemetry tests. Synthesized events are still generated and dispatched on begin-frame. But the dispatch is somewhat simplified in this change. Some detail: . Before this change, SyntheticGestureController would request for the next input flush through the SyntheticGestureTarget, which would then request for flush to RenderWidgetHostImpl. This CL changes that, so that SyntheticGestureController can directly request for flush to RenderWidgetHostImpl, through a callback installed during construction of SyntheticGestureController. BUG=722921 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2856423002 Cr-Commit-Position: refs/heads/master@{#472595} Committed: https://chromium.googlesource.com/chromium/src/+/233e1b3593cd4a9565e2ffef1a9ec97207d740e2

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 7

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -134 lines) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller.h View 1 2 3 4 5 4 chunks +14 lines, -9 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller.cc View 1 2 3 4 5 3 chunks +28 lines, -31 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc View 1 2 4 chunks +8 lines, -27 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_target.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_target_base.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_target_base.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 chunks +16 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 3 chunks +1 line, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 3 chunks +0 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_render_view_host.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (30 generated)
sadrul
Hi! Mind taking a look at this? This CL is not expected to change the ...
3 years, 7 months ago (2017-05-16 03:45:27 UTC) #20
dtapuska
https://codereview.chromium.org/2856423002/diff/80001/content/browser/renderer_host/input/synthetic_gesture_controller.cc File content/browser/renderer_host/input/synthetic_gesture_controller.cc (left): https://codereview.chromium.org/2856423002/diff/80001/content/browser/renderer_host/input/synthetic_gesture_controller.cc#oldcode42 content/browser/renderer_host/input/synthetic_gesture_controller.cc:42: if (pending_gesture_result_) Doesn't removing the pending_gesture_result_ not change the ...
3 years, 7 months ago (2017-05-16 14:39:42 UTC) #21
dtapuska
https://codereview.chromium.org/2856423002/diff/80001/content/browser/renderer_host/input/synthetic_gesture_controller.cc File content/browser/renderer_host/input/synthetic_gesture_controller.cc (left): https://codereview.chromium.org/2856423002/diff/80001/content/browser/renderer_host/input/synthetic_gesture_controller.cc#oldcode42 content/browser/renderer_host/input/synthetic_gesture_controller.cc:42: if (pending_gesture_result_) On 2017/05/16 14:39:41, dtapuska wrote: > Doesn't ...
3 years, 7 months ago (2017-05-16 14:40:52 UTC) #22
sadrul
https://codereview.chromium.org/2856423002/diff/80001/content/browser/renderer_host/input/synthetic_gesture_controller.cc File content/browser/renderer_host/input/synthetic_gesture_controller.cc (left): https://codereview.chromium.org/2856423002/diff/80001/content/browser/renderer_host/input/synthetic_gesture_controller.cc#oldcode42 content/browser/renderer_host/input/synthetic_gesture_controller.cc:42: if (pending_gesture_result_) On 2017/05/16 14:40:52, dtapuska wrote: > On ...
3 years, 7 months ago (2017-05-16 17:35:06 UTC) #26
dtapuska
lgtm % I wonder if this is now broken for oopif sending web driver events ...
3 years, 7 months ago (2017-05-16 17:42:32 UTC) #28
sadrul
On 2017/05/16 17:42:32, dtapuska wrote: > lgtm % I wonder if this is now broken ...
3 years, 7 months ago (2017-05-16 17:56:13 UTC) #30
dtapuska
On 2017/05/16 17:56:13, sadrul wrote: > On 2017/05/16 17:42:32, dtapuska wrote: > > lgtm % ...
3 years, 7 months ago (2017-05-16 17:58:37 UTC) #31
sadrul
On 2017/05/16 17:58:37, dtapuska wrote: > On 2017/05/16 17:56:13, sadrul wrote: > > On 2017/05/16 ...
3 years, 7 months ago (2017-05-17 04:16:07 UTC) #34
sadrul
kenrb@ ping +piman@ for content owners
3 years, 7 months ago (2017-05-17 18:06:33 UTC) #36
piman
rs lgtm
3 years, 7 months ago (2017-05-17 19:01:07 UTC) #37
kenrb
lgtm AFAICT this doesn't break OOPIFs with Chromedriver any more than they are already broken.
3 years, 7 months ago (2017-05-17 20:10:37 UTC) #38
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/2856423002/100001
3 years, 7 months ago (2017-05-17 20:45:16 UTC) #40
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 22:56:43 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/233e1b3593cd4a9565e2ffef1a9e...

Powered by Google App Engine
This is Rietveld 408576698