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

Issue 870053009: Test DeviceMotionEventPump to ensure events deliver at 60Hz (Closed)

Created:
5 years, 10 months ago by jonross
Modified:
5 years, 10 months ago
Reviewers:
timvolodine
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, riju_, mlamouri+watch-sensors_chromium.org, jam, darin-cc_chromium.org, Michael van Ouwerkerk, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Test DeviceMotionEventPump to ensure events deliver at 60Hz Add a unit test for DeviceMotionEventPump to ensure that events are not delivered to Blink at a rate faster than 60 Hz. TEST=DeviceMotionEventPumpTest.PumpThrottlesEventRate BUG=421691 Committed: https://crrev.com/d771a782774564197c9c4d3ddd07605e53397a12 Cr-Commit-Position: refs/heads/master@{#314574}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -4 lines) Patch
M content/renderer/device_sensors/device_motion_event_pump_unittest.cc View 1 2 5 chunks +49 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
jonross
Hi Tim, I've written a unit test for the rate at which Device Motion events ...
5 years, 10 months ago (2015-02-03 21:55:24 UTC) #2
timvolodine
On 2015/02/03 21:55:24, jonross wrote: > Hi Tim, > > I've written a unit test ...
5 years, 10 months ago (2015-02-04 13:30:06 UTC) #3
timvolodine
https://codereview.chromium.org/870053009/diff/1/content/renderer/device_sensors/device_motion_event_pump_unittest.cc File content/renderer/device_sensors/device_motion_event_pump_unittest.cc (right): https://codereview.chromium.org/870053009/diff/1/content/renderer/device_sensors/device_motion_event_pump_unittest.cc#newcode12 content/renderer/device_sensors/device_motion_event_pump_unittest.cc:12: #include "content/renderer/device_sensors/device_sensor_event_pump.h" is this needed? https://codereview.chromium.org/870053009/diff/1/content/renderer/device_sensors/device_motion_event_pump_unittest.cc#newcode183 content/renderer/device_sensors/device_motion_event_pump_unittest.cc:183: EXPECT_EQ(60, base::Time::kMicrosecondsPerSecond ...
5 years, 10 months ago (2015-02-04 13:30:18 UTC) #4
jonross
https://codereview.chromium.org/870053009/diff/1/content/renderer/device_sensors/device_motion_event_pump_unittest.cc File content/renderer/device_sensors/device_motion_event_pump_unittest.cc (right): https://codereview.chromium.org/870053009/diff/1/content/renderer/device_sensors/device_motion_event_pump_unittest.cc#newcode12 content/renderer/device_sensors/device_motion_event_pump_unittest.cc:12: #include "content/renderer/device_sensors/device_sensor_event_pump.h" On 2015/02/04 13:30:18, timvolodine wrote: > is ...
5 years, 10 months ago (2015-02-04 14:52:55 UTC) #5
timvolodine
lgtm (with nits) https://codereview.chromium.org/870053009/diff/20001/content/renderer/device_sensors/device_motion_event_pump_unittest.cc File content/renderer/device_sensors/device_motion_event_pump_unittest.cc (right): https://codereview.chromium.org/870053009/diff/20001/content/renderer/device_sensors/device_motion_event_pump_unittest.cc#newcode182 content/renderer/device_sensors/device_motion_event_pump_unittest.cc:182: // Confirm that the delay for ...
5 years, 10 months ago (2015-02-04 15:11:53 UTC) #6
jonross
https://codereview.chromium.org/870053009/diff/20001/content/renderer/device_sensors/device_motion_event_pump_unittest.cc File content/renderer/device_sensors/device_motion_event_pump_unittest.cc (right): https://codereview.chromium.org/870053009/diff/20001/content/renderer/device_sensors/device_motion_event_pump_unittest.cc#newcode182 content/renderer/device_sensors/device_motion_event_pump_unittest.cc:182: // Confirm that the delay for pumping events is ...
5 years, 10 months ago (2015-02-04 16:57:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/870053009/40001
5 years, 10 months ago (2015-02-04 16:58:12 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-04 17:31:14 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 17:32:53 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d771a782774564197c9c4d3ddd07605e53397a12
Cr-Commit-Position: refs/heads/master@{#314574}

Powered by Google App Engine
This is Rietveld 408576698