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

Issue 557403002: InputHandlerProxy to inform blink scheduler of input events (Closed)

Created:
6 years, 3 months ago by alex clarke (OOO till 29th)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jdduke+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

InputHandlerProxy to inform blink scheduler of input events The blink scheduler needs to know when input events are received since it uses that as a signal to prioritize compositor tasks over other main thread tasks which reduces queueing durations and input event latency. BUG=391005, 411520 Committed: https://crrev.com/1ec1dbcc68ee3590b3b296617c5eaafb1e6de04b Cr-Commit-Position: refs/heads/master@{#294573}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added a test #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M content/renderer/input/input_handler_proxy.cc View 1 1 chunk +1 line, -0 lines 4 comments Download
M content/renderer/input/input_handler_proxy_client.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/input/input_handler_proxy_unittest.cc View 1 2 chunks +30 lines, -0 lines 0 comments Download
M content/renderer/input/input_handler_wrapper.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/input/input_handler_wrapper.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Sami
https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_proxy.cc#newcode189 content/renderer/input/input_handler_proxy.cc:189: client_->DidHandleInputEvent(); DidReceiveInputEvent No need for this call here.
6 years, 3 months ago (2014-09-10 16:41:23 UTC) #2
jdduke (slow)
https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_wrapper.cc File content/renderer/input/input_handler_wrapper.cc (right): https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_wrapper.cc#newcode62 content/renderer/input/input_handler_wrapper.cc:62: web_scheduler_proxy_.didReceiveInputEvent(); What kind of work might this call trigger?
6 years, 3 months ago (2014-09-10 17:02:27 UTC) #4
Sami
https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_wrapper.cc File content/renderer/input/input_handler_wrapper.cc (right): https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_wrapper.cc#newcode62 content/renderer/input/input_handler_wrapper.cc:62: web_scheduler_proxy_.didReceiveInputEvent(); On 2014/09/10 17:02:26, jdduke wrote: > What kind ...
6 years, 3 months ago (2014-09-10 17:23:00 UTC) #5
alexclarke
I think this is ready for review now. https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/557403002/diff/1/content/renderer/input/input_handler_proxy.cc#newcode189 content/renderer/input/input_handler_proxy.cc:189: client_->DidHandleInputEvent(); ...
6 years, 3 months ago (2014-09-11 16:00:33 UTC) #7
jdduke (slow)
https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc#newcode198 content/renderer/input/input_handler_proxy.cc:198: client_->DidReceiveInputEvent(); This method is called internally for synthetic wheel/fling ...
6 years, 3 months ago (2014-09-11 16:29:35 UTC) #8
Sami
https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc#newcode198 content/renderer/input/input_handler_proxy.cc:198: client_->DidReceiveInputEvent(); On 2014/09/11 16:29:35, jdduke wrote: > This method ...
6 years, 3 months ago (2014-09-11 16:42:31 UTC) #9
Sami
My magic has no power here, but lgtm.
6 years, 3 months ago (2014-09-11 16:44:10 UTC) #10
alexclarke
https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc#newcode198 content/renderer/input/input_handler_proxy.cc:198: client_->DidReceiveInputEvent(); On 2014/09/11 16:29:35, jdduke wrote: > This method ...
6 years, 3 months ago (2014-09-11 16:45:00 UTC) #11
jdduke (slow)
lgtm, thanks. https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/557403002/diff/20001/content/renderer/input/input_handler_proxy.cc#newcode198 content/renderer/input/input_handler_proxy.cc:198: client_->DidReceiveInputEvent(); On 2014/09/11 16:45:00, alexclarke wrote: > ...
6 years, 3 months ago (2014-09-11 16:49:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557403002/20001
6 years, 3 months ago (2014-09-12 10:23:21 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14923)
6 years, 3 months ago (2014-09-12 10:42:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557403002/20001
6 years, 3 months ago (2014-09-12 10:58:34 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 37e699550cea8d57b7af54a484825ef9b8449764
6 years, 3 months ago (2014-09-12 11:24:19 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 11:26:25 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1ec1dbcc68ee3590b3b296617c5eaafb1e6de04b
Cr-Commit-Position: refs/heads/master@{#294573}

Powered by Google App Engine
This is Rietveld 408576698