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

Issue 2471003002: [sensors] Accelerometer sensor bindings implementation (Closed)

Created:
4 years, 1 month ago by darktears
Modified:
4 years, 1 month ago
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sensors] Accelerometer sensor bindings implementation This patch implements Accelerometer [1] blink bindings. Following layout tests added to test new functionality: IDL tests. - third_party/WebKit/LayoutTests/sensor/idl-Accelerometer.html Accelerometer tests. - third_party/WebKit/LayoutTests/sensor/accelerometer.html Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_IReUkNKF6o [1] ED specification for Accelerometer https://w3c.github.io/accelerometer/ Based on patch from Alexander Shalamov <alexander.shalamov@intel.com>; BUG=661478 Committed: https://crrev.com/522d1f06c8e8bb100136ab0a83d69b04a8f244b8 Cr-Commit-Position: refs/heads/master@{#432673}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix Alexander comments #

Total comments: 1

Patch Set 3 : Fix mikhail comments #

Total comments: 2

Patch Set 4 : Fix mikhail comments #

Total comments: 2

Patch Set 5 : Rebased after spec alignement #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased after splitting the refactor for the tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/sensor/accelerometer.html View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/sensor/idl-Accelerometer.html View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/Accelerometer.h View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/Accelerometer.cpp View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/Accelerometer.idl View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AccelerometerOptions.idl View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AccelerometerReading.h View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AccelerometerReading.cpp View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AccelerometerReading.idl View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AccelerometerReadingInit.idl View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (30 generated)
darktears
PTAL. I will CC more reviewers after.
4 years, 1 month ago (2016-11-01 22:39:33 UTC) #2
shalamov
https://codereview.chromium.org/2471003002/diff/1/third_party/WebKit/LayoutTests/sensor/accelerometer.html File third_party/WebKit/LayoutTests/sensor/accelerometer.html (right): https://codereview.chromium.org/2471003002/diff/1/third_party/WebKit/LayoutTests/sensor/accelerometer.html#newcode1 third_party/WebKit/LayoutTests/sensor/accelerometer.html:1: <!DOCTYPE html> We had a plan to make generic ...
4 years, 1 month ago (2016-11-02 14:25:14 UTC) #7
darktears
On 2016/11/02 at 14:25:14, alexander.shalamov wrote: > https://codereview.chromium.org/2471003002/diff/1/third_party/WebKit/LayoutTests/sensor/accelerometer.html > File third_party/WebKit/LayoutTests/sensor/accelerometer.html (right): > > https://codereview.chromium.org/2471003002/diff/1/third_party/WebKit/LayoutTests/sensor/accelerometer.html#newcode1 ...
4 years, 1 month ago (2016-11-02 21:31:49 UTC) #8
Mikhail
https://codereview.chromium.org/2471003002/diff/20001/third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js File third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js (right): https://codereview.chromium.org/2471003002/diff/20001/third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js#newcode3 third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js:3: function runGenericTests(sensorProto, updateReading, verifyReading) { - 'runGenericSensorTest' would be ...
4 years, 1 month ago (2016-11-03 08:25:45 UTC) #15
darktears
On 2016/11/03 at 08:25:45, mikhail.pozdnyakov wrote: > https://codereview.chromium.org/2471003002/diff/20001/third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js > File third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js (right): > > https://codereview.chromium.org/2471003002/diff/20001/third_party/WebKit/LayoutTests/sensor/resources/generic-tests.js#newcode3 ...
4 years, 1 month ago (2016-11-03 15:37:04 UTC) #16
shalamov
Alexis, did you check why accelerometer tests are failing?
4 years, 1 month ago (2016-11-04 09:20:23 UTC) #21
darktears
On 2016/11/04 at 09:20:23, alexander.shalamov wrote: > Alexis, did you check why accelerometer tests are ...
4 years, 1 month ago (2016-11-04 15:13:19 UTC) #22
Mikhail
lgtm https://codereview.chromium.org/2471003002/diff/40001/third_party/WebKit/LayoutTests/sensor/accelerometer.html File third_party/WebKit/LayoutTests/sensor/accelerometer.html (right): https://codereview.chromium.org/2471003002/diff/40001/third_party/WebKit/LayoutTests/sensor/accelerometer.html#newcode31 third_party/WebKit/LayoutTests/sensor/accelerometer.html:31: runGenericSensorTest(Accelerometer, update_sensor_reading, verify_sensor_reading); nit: runGenericSensorTests https://codereview.chromium.org/2471003002/diff/40001/third_party/WebKit/Source/modules/sensor/Accelerometer.h File third_party/WebKit/Source/modules/sensor/Accelerometer.h ...
4 years, 1 month ago (2016-11-04 18:57:31 UTC) #24
haraken
modules/ implementation LGTM https://codereview.chromium.org/2471003002/diff/60001/third_party/WebKit/Source/modules/sensor/AccelerometerReading.h File third_party/WebKit/Source/modules/sensor/AccelerometerReading.h (right): https://codereview.chromium.org/2471003002/diff/60001/third_party/WebKit/Source/modules/sensor/AccelerometerReading.h#newcode40 third_party/WebKit/Source/modules/sensor/AccelerometerReading.h:40: AccelerometerReadingInit mAccelerometerReadingInit; m_AccelerometerReadingInit https://codereview.chromium.org/2471003002/diff/60001/third_party/WebKit/Source/modules/sensor/BUILD.gn File third_party/WebKit/Source/modules/sensor/BUILD.gn ...
4 years, 1 month ago (2016-11-05 12:30:38 UTC) #26
esprehn
On 2016/11/05 at 12:30:38, haraken wrote: > ... > > esprehn: Not directly related to ...
4 years, 1 month ago (2016-11-05 22:06:46 UTC) #27
Mikhail
On 2016/11/05 22:06:46, esprehn wrote: > On 2016/11/05 at 12:30:38, haraken wrote: > > ...
4 years, 1 month ago (2016-11-07 07:33:27 UTC) #28
haraken
On 2016/11/07 07:33:27, Mikhail wrote: > On 2016/11/05 22:06:46, esprehn wrote: > > On 2016/11/05 ...
4 years, 1 month ago (2016-11-07 10:02:22 UTC) #29
haraken
On 2016/11/07 10:02:22, haraken wrote: > On 2016/11/07 07:33:27, Mikhail wrote: > > On 2016/11/05 ...
4 years, 1 month ago (2016-11-07 10:02:53 UTC) #30
Mikhail
On 2016/11/07 10:02:53, haraken wrote: > Why can't we use mojo-blink bindings for blink? To ...
4 years, 1 month ago (2016-11-07 11:02:32 UTC) #31
Mikhail
darktears@, could I ask you to split this CL and make a separate one containing ...
4 years, 1 month ago (2016-11-11 12:45:50 UTC) #36
darktears
On 2016/11/11 at 12:45:50, mikhail.pozdnyakov wrote: > darktears@, could I ask you to split this ...
4 years, 1 month ago (2016-11-11 22:39:07 UTC) #37
jochen (gone - plz use gerrit)
idl files lgtm
4 years, 1 month ago (2016-11-12 21:08:50 UTC) #38
shalamov
lgtm
4 years, 1 month ago (2016-11-15 15:28:21 UTC) #39
darktears
On 2016/11/15 at 15:28:21, alexander.shalamov wrote: > lgtm @esprehn, @haraken : any other concerns after ...
4 years, 1 month ago (2016-11-15 17:02:23 UTC) #42
haraken
On 2016/11/15 17:02:23, darktears wrote: > On 2016/11/15 at 15:28:21, alexander.shalamov wrote: > > lgtm ...
4 years, 1 month ago (2016-11-15 17:06:31 UTC) #43
esprehn
The most recent patch doesn't seem to include any device headers?
4 years, 1 month ago (2016-11-16 04:43:55 UTC) #46
haraken
On 2016/11/16 04:43:55, esprehn wrote: > The most recent patch doesn't seem to include any ...
4 years, 1 month ago (2016-11-16 05:50:18 UTC) #47
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/2471003002/120001
4 years, 1 month ago (2016-11-16 16:09:03 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/68951)
4 years, 1 month ago (2016-11-16 19:38:21 UTC) #52
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/2471003002/120001
4 years, 1 month ago (2016-11-16 23:11:50 UTC) #54
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-17 00:18:21 UTC) #55
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 00:32:54 UTC) #57
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/522d1f06c8e8bb100136ab0a83d69b04a8f244b8
Cr-Commit-Position: refs/heads/master@{#432673}

Powered by Google App Engine
This is Rietveld 408576698