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

Issue 2259823007: Add a unit test expection for calling the render scheduler on coalesced events. (Closed)

Created:
4 years, 4 months ago by dtapuska
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, 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

Add a unit test expection for calling the render scheduler on coalesced events. Change the API around a little so that we can mock out the callback to ensure that we are calling in the correct scenarios. BUG=637640 Committed: https://crrev.com/dad74f04e448eab5ecbdbd06e087d5780bdfa065 Cr-Commit-Position: refs/heads/master@{#413442}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move mock into testing directory #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -14 lines) Patch
M content/renderer/input/input_event_filter.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 3 chunks +9 lines, -3 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M content/renderer/input/main_thread_event_queue_unittest.cc View 1 2 4 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/public/platform/scheduler/test/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h View 1 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
dtapuska
I've provided a mock impl of the blink scheduler and assert that we correctly call ...
4 years, 4 months ago (2016-08-19 15:15:08 UTC) #3
Sami
Alex just spent some time cleaning up the various scheduler mocks. Alex, can you suggest ...
4 years, 4 months ago (2016-08-19 15:23:58 UTC) #5
dtapuska
On 2016/08/19 15:23:58, Sami wrote: > Alex just spent some time cleaning up the various ...
4 years, 4 months ago (2016-08-19 15:29:31 UTC) #6
tdresser
LGTM https://codereview.chromium.org/2259823007/diff/1/content/renderer/input/input_event_filter.cc File content/renderer/input/input_event_filter.cc (right): https://codereview.chromium.org/2259823007/diff/1/content/renderer/input/input_event_filter.cc#newcode57 content/renderer/input/input_event_filter.cc:57: renderer_scheduler_(NULL) { Should we take the renderer scheduler ...
4 years, 4 months ago (2016-08-19 15:38:20 UTC) #7
alex clarke (OOO till 29th)
On 2016/08/19 15:23:58, Sami wrote: > Alex just spent some time cleaning up the various ...
4 years, 4 months ago (2016-08-19 15:38:32 UTC) #8
dtapuska
On 2016/08/19 15:38:32, alex clarke wrote: > On 2016/08/19 15:23:58, Sami wrote: > > Alex ...
4 years, 4 months ago (2016-08-19 16:03:20 UTC) #9
alex clarke (OOO till 29th)
lgtm
4 years, 4 months ago (2016-08-19 16:05:53 UTC) #12
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/2259823007/20001
4 years, 4 months ago (2016-08-19 19:09:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/242073)
4 years, 4 months ago (2016-08-19 19:16:04 UTC) #19
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/2259823007/40001
4 years, 4 months ago (2016-08-19 19:24:50 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/277331)
4 years, 4 months ago (2016-08-19 23:59:40 UTC) #24
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/2259823007/40001
4 years, 4 months ago (2016-08-22 13:03:39 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-22 14:55:21 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 14:56:53 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dad74f04e448eab5ecbdbd06e087d5780bdfa065
Cr-Commit-Position: refs/heads/master@{#413442}

Powered by Google App Engine
This is Rietveld 408576698