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

Issue 2356133002: Reland of [sensors] Ambient light sensor bindings implementation (Closed)

Created:
4 years, 3 months ago by shalamov
Modified:
4 years, 2 months ago
CC:
blink-reviews, chromium-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of [sensors] Ambient light sensor bindings implementation Reverted in: https://codereview.chromium.org/2348333002/ Reason for revert: Two new tests are failing on several Blink bots. Original CL: https://codereview.chromium.org/2332323002/ This patch implements AmbientLightSensor [1] blink bindings and adds LayoutTest helpers for testing sensors that are based on Generic Sensor API. Following layout tests added to test new functionality: IDL tests. - third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.html AmbientLightSensor tests. - third_party/WebKit/LayoutTests/sensor/ambient-light-sensor.html Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/TkfdVqYAYiE/xLGN2b1-AAAJ [1] ED specification for Ambient Light Sensor http://w3c.github.io/ambient-light/ TBR=haraken@chromium.org,jochen@chromium.org,timvolodine@chromium.org,mikhail.pozdnyakov@intel.com BUG=606766 Committed: https://crrev.com/5fa13b93096a4f609dd0df403eb76233e17efb05 Cr-Commit-Position: refs/heads/master@{#421484}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make SensorReading GCFinalized. #

Total comments: 1

Patch Set 3 : Rebased and fixed review comment from haraken. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+766 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/sensor/ambient-light-sensor.html View 1 chunk +189 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.html View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/sensor/mock-sensor.html View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js View 1 chunk +302 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp View 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensor.idl View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensorReading.h View 1 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensorReading.cpp View 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensorReading.idl View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/AmbientLightSensorReadingInit.idl View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/SensorReading.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/sensor/SensorReading.cpp View 1 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 23 (11 generated)
shalamov
Please take a look. I was trying to figure out what was the root cause ...
4 years, 3 months ago (2016-09-21 10:05:24 UTC) #5
Mikhail
lgtm
4 years, 3 months ago (2016-09-21 14:05:10 UTC) #6
haraken
https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h File third_party/WebKit/Source/modules/sensor/SensorReading.h (right): https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h#newcode19 third_party/WebKit/Source/modules/sensor/SensorReading.h:19: : public GarbageCollectedMixin Why do you need to make ...
4 years, 3 months ago (2016-09-21 14:27:51 UTC) #7
shalamov
https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h File third_party/WebKit/Source/modules/sensor/SensorReading.h (right): https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h#newcode19 third_party/WebKit/Source/modules/sensor/SensorReading.h:19: : public GarbageCollectedMixin On 2016/09/21 14:27:51, haraken wrote: > ...
4 years, 3 months ago (2016-09-22 06:33:39 UTC) #8
haraken
https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h File third_party/WebKit/Source/modules/sensor/SensorReading.h (right): https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h#newcode19 third_party/WebKit/Source/modules/sensor/SensorReading.h:19: : public GarbageCollectedMixin On 2016/09/22 06:33:39, shalamov wrote: > ...
4 years, 3 months ago (2016-09-22 13:55:05 UTC) #9
shalamov
https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h File third_party/WebKit/Source/modules/sensor/SensorReading.h (right): https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h#newcode19 third_party/WebKit/Source/modules/sensor/SensorReading.h:19: : public GarbageCollectedMixin On 2016/09/22 13:55:05, haraken wrote: > ...
4 years, 3 months ago (2016-09-22 15:15:09 UTC) #10
shalamov
On 2016/09/22 15:15:09, shalamov wrote: > https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h > File third_party/WebKit/Source/modules/sensor/SensorReading.h (right): > > https://codereview.chromium.org/2356133002/diff/1/third_party/WebKit/Source/modules/sensor/SensorReading.h#newcode19 > ...
4 years, 3 months ago (2016-09-23 08:16:22 UTC) #11
haraken
Sorry for the review delay -- this slipped off my review list... LGTM! https://codereview.chromium.org/2356133002/diff/20001/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h File ...
4 years, 2 months ago (2016-09-27 13:32:23 UTC) #12
jochen (gone - plz use gerrit)
lgtm
4 years, 2 months ago (2016-09-27 19:27:14 UTC) #13
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/2356133002/40001
4 years, 2 months ago (2016-09-28 09:12:17 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-28 09:17:31 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 09:19:33 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5fa13b93096a4f609dd0df403eb76233e17efb05
Cr-Commit-Position: refs/heads/master@{#421484}

Powered by Google App Engine
This is Rietveld 408576698