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

Issue 2746573002: [Sensors] Implement bindings for AbsoluteOrientationSensor (Closed)

Created:
3 years, 9 months ago by Mikhail
Modified:
3 years, 9 months ago
CC:
chromium-reviews, haraken, blink-reviews, wanming.lin, shalamov
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sensors] Implement bindings for AbsoluteOrientationSensor Specification: https://w3c.github.io/orientation-sensor/ BUG=661478 Review-Url: https://codereview.chromium.org/2746573002 Cr-Commit-Position: refs/heads/master@{#459759} Committed: https://chromium.googlesource.com/chromium/src/+/e3e5baac82ee84437b0de0de0e208f7503ae2de3

Patch Set 1 : [Sensors] Implement bindings for AbsoluteOrientationSensor #

Total comments: 6

Patch Set 2 : Comments from Alex #

Total comments: 15

Patch Set 3 : Comments from Reilly #

Total comments: 2

Patch Set 4 : webexpose #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -15 lines) Patch
A third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html View 1 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.h View 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.cpp View 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.idl View 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/BUILD.gn View 2 chunks +4 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/OrientationSensor.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/OrientationSensor.idl View 1 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.h View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.cpp View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/SensorProxy.h View 1 2 1 chunk +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/SensorProxy.cpp View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 54 (38 generated)
shalamov
https://codereview.chromium.org/2746573002/diff/80001/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html File third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html (right): https://codereview.chromium.org/2746573002/diff/80001/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html#newcode15 third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html:15: const kIdentityMatrix = [1, 0, 0, 0, Would be ...
3 years, 9 months ago (2017-03-23 08:41:06 UTC) #21
Mikhail
Thanks for your comments! https://codereview.chromium.org/2746573002/diff/80001/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html File third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html (right): https://codereview.chromium.org/2746573002/diff/80001/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html#newcode15 third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html:15: const kIdentityMatrix = [1, 0, ...
3 years, 9 months ago (2017-03-24 14:47:09 UTC) #24
Mikhail
PTAL
3 years, 9 months ago (2017-03-24 14:48:43 UTC) #26
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html File third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html (right): https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html#newcode1 third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html:1: <!DOCTYPE html> In a separate patch can you replace ...
3 years, 9 months ago (2017-03-24 15:10:33 UTC) #27
Alexander Shalamov
https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp File third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp (right): https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp#newcode53 third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp:53: out[15] = 1.0; On 2017/03/24 15:10:33, Reilly Grant wrote: ...
3 years, 9 months ago (2017-03-24 16:16:47 UTC) #31
Mikhail
On 2017/03/24 16:16:47, shalamov1 wrote: > https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp > File third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp (right): > > https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp#newcode53 > ...
3 years, 9 months ago (2017-03-24 16:27:44 UTC) #32
Mikhail
Thanks for taking a look! https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html File third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html (right): https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html#newcode1 third_party/WebKit/LayoutTests/sensor/idl-AbsoluteOrientationSensor.html:1: <!DOCTYPE html> On 2017/03/24 ...
3 years, 9 months ago (2017-03-24 16:30:31 UTC) #34
Alexander Shalamov
On 2017/03/24 16:27:44, Mikhail wrote: > On 2017/03/24 16:16:47, shalamov1 wrote: > > > https://codereview.chromium.org/2746573002/diff/100001/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp ...
3 years, 9 months ago (2017-03-24 16:30:36 UTC) #35
Alexander Shalamov
On 2017/03/24 16:30:36, Alexander Shalamov wrote: > On 2017/03/24 16:27:44, Mikhail wrote: > > On ...
3 years, 9 months ago (2017-03-24 16:45:47 UTC) #37
Reilly Grant (use Gerrit)
lgtm
3 years, 9 months ago (2017-03-24 20:49:46 UTC) #40
shalamov
lgtm
3 years, 9 months ago (2017-03-27 07:37:21 UTC) #41
Mikhail
haraken@, could you PTAL? thanks!
3 years, 9 months ago (2017-03-27 08:50:09 UTC) #42
haraken
Implementation-wise LGTM https://codereview.chromium.org/2746573002/diff/120001/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp File third_party/WebKit/Source/modules/sensor/SensorProxy.cpp (right): https://codereview.chromium.org/2746573002/diff/120001/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp#newcode134 third_party/WebKit/Source/modules/sensor/SensorProxy.cpp:134: for (Observer* observer : m_observers) Don't you ...
3 years, 9 months ago (2017-03-27 09:59:38 UTC) #43
Mikhail
Thanks for taking a look! https://codereview.chromium.org/2746573002/diff/120001/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp File third_party/WebKit/Source/modules/sensor/SensorProxy.cpp (right): https://codereview.chromium.org/2746573002/diff/120001/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp#newcode134 third_party/WebKit/Source/modules/sensor/SensorProxy.cpp:134: for (Observer* observer : ...
3 years, 9 months ago (2017-03-27 10:04:01 UTC) #44
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/2746573002/140001
3 years, 9 months ago (2017-03-27 12:01:23 UTC) #51
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 12:06:41 UTC) #54
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/e3e5baac82ee84437b0de0de0e20...

Powered by Google App Engine
This is Rietveld 408576698