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

Issue 2506903003: [sensors] Gyroscope sensor bindings implementation (Closed)

Created:
4 years, 1 month ago by Mikhail
Modified:
4 years, 1 month ago
CC:
blink-reviews, chromium-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sensors] Gyroscope sensor bindings implementation This CL implements blink bindings for Gyroscope sensor [1]. Layout tests are also added. Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_IReUkNKF6o [1] ED specification for Gyroscope https://w3c.github.io/gyroscope/ BUG=661478 Committed: https://crrev.com/3d1bd0e6727ee92cc13fda7ca74055f5d8b49e5c Cr-Commit-Position: refs/heads/master@{#432894}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/sensor/gyroscope.html View 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/sensor/idl-Gyroscope.html View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/sensor/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/Gyroscope.h View 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/Gyroscope.cpp View 1 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/Gyroscope.idl View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/GyroscopeReading.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/GyroscopeReading.cpp View 1 1 chunk +56 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/GyroscopeReading.idl View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/sensor/GyroscopeReadingInit.idl View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
Mikhail
PTAL
4 years, 1 month ago (2016-11-16 13:31:53 UTC) #5
shalamov
On 2016/11/16 13:31:53, Mikhail wrote: > PTAL third_party/WebKit/Source/modules/sensor/* lgtm with nits
4 years, 1 month ago (2016-11-16 14:38:10 UTC) #8
shalamov
https://codereview.chromium.org/2506903003/diff/1/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp File third_party/WebKit/Source/modules/sensor/Gyroscope.cpp (right): https://codereview.chromium.org/2506903003/diff/1/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp#newcode7 third_party/WebKit/Source/modules/sensor/Gyroscope.cpp:7: #include "bindings/core/v8/ScriptPromise.h" nit: ScriptPromise.h and ScriptPromiseResolver.h are not used ...
4 years, 1 month ago (2016-11-16 14:38:21 UTC) #9
Reilly Grant (use Gerrit)
lgtm https://codereview.chromium.org/2506903003/diff/1/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp File third_party/WebKit/Source/modules/sensor/Gyroscope.cpp (right): https://codereview.chromium.org/2506903003/diff/1/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp#newcode38 third_party/WebKit/Source/modules/sensor/Gyroscope.cpp:38: new SensorReadingFactoryImpl<GyroscopeReading>()); As haraken@ suggested on the other ...
4 years, 1 month ago (2016-11-16 18:50:51 UTC) #10
haraken
LGTM
4 years, 1 month ago (2016-11-17 06:05:09 UTC) #11
Mikhail
Thanks for your comments! https://codereview.chromium.org/2506903003/diff/1/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp File third_party/WebKit/Source/modules/sensor/Gyroscope.cpp (right): https://codereview.chromium.org/2506903003/diff/1/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp#newcode7 third_party/WebKit/Source/modules/sensor/Gyroscope.cpp:7: #include "bindings/core/v8/ScriptPromise.h" On 2016/11/16 14:38:20, ...
4 years, 1 month ago (2016-11-17 13:47:47 UTC) #19
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/2506903003/40001
4 years, 1 month ago (2016-11-17 16:40:37 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-17 16:46:29 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 16:48:16 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d1bd0e6727ee92cc13fda7ca74055f5d8b49e5c
Cr-Commit-Position: refs/heads/master@{#432894}

Powered by Google App Engine
This is Rietveld 408576698