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

Issue 2798913002: [Sensors] Stop exposing sensor state (Closed)

Created:
3 years, 8 months ago by Mikhail
Modified:
3 years, 8 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, shalamov, wanming.lin, blink-reviews, blink-reviews-frames_chromium.org, Mikhail
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sensors] Stop exposing sensor state In the updated specification [1] sensor states are internal slots, the 'state' attribute is moved to the 'boolean activated' attribute. This CL updates the Sensor implementation and layout tests accordingly. [1] https://w3c.github.io/sensors/ BUG=606766 Review-Url: https://codereview.chromium.org/2798913002 Cr-Commit-Position: refs/heads/master@{#462434} Committed: https://chromium.googlesource.com/chromium/src/+/23539089aaee4a68f814b0f42b2ec04885fe69ea

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments from Reilly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -89 lines) Patch
M third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/sensor/accelerometer.html View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/sensor/ambient-light-sensor.html View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/sensor/gyroscope.html View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/sensor/magnetometer.html View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/sensor/resources/generic-sensor-tests.js View 9 chunks +14 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js View 4 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.cpp View 6 chunks +9 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.idl View 1 1 chunk +2 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
Mikhail
PTAL
3 years, 8 months ago (2017-04-05 13:46:43 UTC) #5
haraken
LGTM
3 years, 8 months ago (2017-04-05 14:07:54 UTC) #6
Reilly Grant (use Gerrit)
lgtm with nits https://codereview.chromium.org/2798913002/diff/1/third_party/WebKit/Source/modules/sensor/Sensor.idl File third_party/WebKit/Source/modules/sensor/Sensor.idl (right): https://codereview.chromium.org/2798913002/diff/1/third_party/WebKit/Source/modules/sensor/Sensor.idl#newcode6 third_party/WebKit/Source/modules/sensor/Sensor.idl:6: // https://w3c.github.io/sensors/#sensor0 This link should be ...
3 years, 8 months ago (2017-04-05 17:21:18 UTC) #9
shalamov
lgtm
3 years, 8 months ago (2017-04-06 08:36:09 UTC) #10
Mikhail
Thanks for your comments! https://codereview.chromium.org/2798913002/diff/1/third_party/WebKit/Source/modules/sensor/Sensor.idl File third_party/WebKit/Source/modules/sensor/Sensor.idl (right): https://codereview.chromium.org/2798913002/diff/1/third_party/WebKit/Source/modules/sensor/Sensor.idl#newcode6 third_party/WebKit/Source/modules/sensor/Sensor.idl:6: // https://w3c.github.io/sensors/#sensor0 On 2017/04/05 17:21:18, ...
3 years, 8 months ago (2017-04-06 09:39:58 UTC) #11
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/2798913002/20001
3 years, 8 months ago (2017-04-06 09:40:33 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 12:04:07 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/23539089aaee4a68f814b0f42b2e...

Powered by Google App Engine
This is Rietveld 408576698