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

Issue 934203002: Add [TypeChecking=Unrestricted] on Device Orientation interfaces (Closed)

Created:
5 years, 10 months ago by Jens Widell
Modified:
5 years, 9 months ago
Reviewers:
haraken
CC:
blink-reviews, arv+blink, vivekg_samsung, mlamouri+watch-blink_chromium.org, vivekg, timvolodine, mvanouwerkerk+watch_chromium.org, blink-reviews-bindings_chromium.org, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add [TypeChecking=Unrestricted] on Device Orientation interfaces The only definitions that this actually affects are methods with custom implementations, so the IDL change is just for show. Also adjust the custom implementations of these methods to be closer to normal generated code in handling their float arguments, thereby actually making them restricted and thus honoring the [TypeChecking=Unrestricted] flag. BUG=354298 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190994

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : fix custom bindings logic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -8 lines) Patch
M Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp View 1 2 1 chunk +10 lines, -2 lines 0 comments Download
M Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp View 1 2 1 chunk +22 lines, -4 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionEvent.idl View 1 chunk +3 lines, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationEvent.idl View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
Jens Widell
PTAL
5 years, 10 months ago (2015-02-18 08:56:55 UTC) #2
haraken
LGTM, though I wonder why these methods need to be written in custom bindings.
5 years, 10 months ago (2015-02-18 09:44:47 UTC) #3
Jens Widell
On 2015/02/18 09:44:47, haraken wrote: > LGTM, though I wonder why these methods need to ...
5 years, 10 months ago (2015-02-18 12:56:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934203002/1
5 years, 10 months ago (2015-02-18 12:56:47 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/47542)
5 years, 10 months ago (2015-02-18 14:45:59 UTC) #8
Jens Widell
On 2015/02/18 14:45:59, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 9 months ago (2015-02-27 11:27:30 UTC) #9
haraken
LGTM
5 years, 9 months ago (2015-02-27 11:32:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934203002/20002
5 years, 9 months ago (2015-02-27 11:37:35 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 12:51:17 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:20002) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190994

Powered by Google App Engine
This is Rietveld 408576698