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

Issue 1947963003: Make deviceorientationabsolute confrom with spec on Chromium OS (Closed)

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

Description

Make deviceorientationabsolute confrom with spec on Chromium OS Absolute device orientation cannot be provided on Chromium OS machines. This update sends a one-off null event when deviceorientationabsolute is requesteed. This conforms with the spec: http://w3c.github.io/deviceorientation/spec-source-orientation.html TEST=http://timvolodine.github.io/deviceorientation-test/ BUG=609131 Committed: https://crrev.com/123238ab16647ff1fd69a664844522793eae69b6 Cr-Commit-Position: refs/heads/master@{#392674}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Rebase to include 1954753002 #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 19 (6 generated)
jonross
Hey Tim, Could you review this change to send null-event on CrOS for deviceorientationabsolute? Thanks, ...
4 years, 7 months ago (2016-05-04 17:46:48 UTC) #2
timvolodine
On 2016/05/04 17:46:48, jonross wrote: > Hey Tim, > > Could you review this change ...
4 years, 7 months ago (2016-05-05 18:56:41 UTC) #3
timvolodine
Sorry my original mac patch was incomplete, I've added some more bits to it https://codereview.chromium.org/1915273003/. ...
4 years, 7 months ago (2016-05-06 15:10:41 UTC) #4
jonross
https://codereview.chromium.org/1947963003/diff/1/content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc File content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc (right): https://codereview.chromium.org/1947963003/diff/1/content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc#newcode36 content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc:36: orientation_absolute_buffer->seqlock.WriteBegin(); On 2016/05/06 15:10:41, timvolodine wrote: > think it ...
4 years, 7 months ago (2016-05-06 17:57:44 UTC) #5
timvolodine
lgtm % comments below also in description: "Asbolute" -> Absolute ;) if not too much ...
4 years, 7 months ago (2016-05-09 18:20:41 UTC) #6
jonross
On 2016/05/09 18:20:41, timvolodine wrote: > lgtm % comments below > > also in description: ...
4 years, 7 months ago (2016-05-09 18:39:37 UTC) #7
timvolodine
On 2016/05/09 18:39:37, jonross wrote: > On 2016/05/09 18:20:41, timvolodine wrote: > > lgtm % ...
4 years, 7 months ago (2016-05-09 18:43:14 UTC) #8
jonross
Oh, yeah. That should be fine to hit. On Mon, May 9, 2016 at 11:43 ...
4 years, 7 months ago (2016-05-09 18:50:00 UTC) #9
jonross
https://codereview.chromium.org/1947963003/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc File content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc (right): https://codereview.chromium.org/1947963003/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc#newcode58 content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc:58: // properly cleanup, and fire an all-null event to ...
4 years, 7 months ago (2016-05-10 18:01:08 UTC) #11
jonross
On 2016/05/10 18:01:08, jonross wrote: > https://codereview.chromium.org/1947963003/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc > File content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc > (right): > > https://codereview.chromium.org/1947963003/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory_chromeos.cc#newcode58 ...
4 years, 7 months ago (2016-05-10 18:01:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947963003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947963003/60001
4 years, 7 months ago (2016-05-10 18:02:30 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-10 19:13:54 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 19:15:58 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/123238ab16647ff1fd69a664844522793eae69b6
Cr-Commit-Position: refs/heads/master@{#392674}

Powered by Google App Engine
This is Rietveld 408576698