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

Issue 336343002: Use "Dictionary" for PositionOptions instead of Custom binding (Closed)

Created:
6 years, 6 months ago by kihong
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, mvanouwerkerk+watch_chromium.org, arv+blink, timvolodine, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Use "Dictionary" for PositionOptions instead of Custom binding getCurrentPosition and watchPosition of Geolocation API use "Custom" binding for implementing PositionOptions. But it could be implemented using "Dictionary" instead of "Custom" and we can remove custom binding file(V8GeolocationCustom.cpp) for that. BUG=385426 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176719

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebasing for removing PerWorldBindings (http://crrev.com/330293002) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -211 lines) Patch
M LayoutTests/fast/dom/Geolocation/argument-types-expected.txt View 1 chunk +22 lines, -22 lines 0 comments Download
M LayoutTests/fast/dom/Geolocation/not-enough-arguments-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js View 1 chunk +5 lines, -5 lines 0 comments Download
D Source/bindings/v8/custom/V8GeolocationCustom.cpp View 1 chunk +0 lines, -161 lines 0 comments Download
M Source/bindings/v8/custom/custom.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/geolocation/Geolocation.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/geolocation/Geolocation.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/geolocation/Geolocation.idl View 1 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/geolocation/PositionOptions.h View 1 2 chunks +4 lines, -10 lines 0 comments Download
A Source/modules/geolocation/PositionOptions.cpp View 1 chunk +47 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
kihong
PTAL
6 years, 6 months ago (2014-06-17 04:34:44 UTC) #1
haraken
This is great CL overall! I'm happy to take a close look if Michael is ...
6 years, 6 months ago (2014-06-17 04:39:32 UTC) #2
kihong
On 2014/06/17 04:39:32, haraken wrote: > This is great CL overall! I'm happy to take ...
6 years, 6 months ago (2014-06-17 05:36:35 UTC) #3
Michael van Ouwerkerk
Getting rid of these custom bindings is great! Thanks! https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp File Source/modules/geolocation/PositionOptions.cpp (right): https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode26 Source/modules/geolocation/PositionOptions.cpp:26: ...
6 years, 6 months ago (2014-06-17 11:13:56 UTC) #4
kihong
https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp File Source/modules/geolocation/PositionOptions.cpp (right): https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode26 Source/modules/geolocation/PositionOptions.cpp:26: double maximumAge; On 2014/06/17 11:13:56, Michael van Ouwerkerk wrote: ...
6 years, 6 months ago (2014-06-17 13:13:10 UTC) #5
Inactive
https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp File Source/modules/geolocation/PositionOptions.cpp (right): https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode13 Source/modules/geolocation/PositionOptions.cpp:13: PositionOptions* PositionOptions::create(const Dictionary& options) Are we returning a raw ...
6 years, 6 months ago (2014-06-17 13:49:13 UTC) #6
sof
https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp File Source/modules/geolocation/PositionOptions.cpp (right): https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode13 Source/modules/geolocation/PositionOptions.cpp:13: PositionOptions* PositionOptions::create(const Dictionary& options) On 2014/06/17 13:49:13, Chris Dumez ...
6 years, 6 months ago (2014-06-17 14:05:05 UTC) #7
kihong
https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp File Source/modules/geolocation/PositionOptions.cpp (right): https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode13 Source/modules/geolocation/PositionOptions.cpp:13: PositionOptions* PositionOptions::create(const Dictionary& options) On 2014/06/17 13:49:13, Chris Dumez ...
6 years, 6 months ago (2014-06-17 14:46:18 UTC) #8
kihong
On 2014/06/17 14:46:18, kihong wrote: > https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp > File Source/modules/geolocation/PositionOptions.cpp (right): > > https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode13 > ...
6 years, 6 months ago (2014-06-18 03:57:01 UTC) #9
kihong
6 years, 6 months ago (2014-06-18 09:20:54 UTC) #10
Inactive
https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp File Source/modules/geolocation/PositionOptions.cpp (right): https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode13 Source/modules/geolocation/PositionOptions.cpp:13: PositionOptions* PositionOptions::create(const Dictionary& options) On 2014/06/17 14:46:18, kihong wrote: ...
6 years, 6 months ago (2014-06-18 12:22:44 UTC) #11
haraken
On 2014/06/18 12:22:44, Chris Dumez wrote: > https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp > File Source/modules/geolocation/PositionOptions.cpp (right): > > https://codereview.chromium.org/336343002/diff/1/Source/modules/geolocation/PositionOptions.cpp#newcode13 ...
6 years, 6 months ago (2014-06-18 12:29:01 UTC) #12
Inactive
On 2014/06/18 12:29:01, haraken wrote: > On 2014/06/18 12:22:44, Chris Dumez wrote: > > > ...
6 years, 6 months ago (2014-06-19 13:43:37 UTC) #13
haraken
On 2014/06/19 13:43:37, Chris Dumez wrote: > On 2014/06/18 12:29:01, haraken wrote: > > On ...
6 years, 6 months ago (2014-06-19 13:48:44 UTC) #14
kihong
OK... I think discussion regarding oilpan is almost finished in this phase. :-) Michael, could ...
6 years, 6 months ago (2014-06-19 15:01:08 UTC) #15
haraken
On 2014/06/19 15:01:08, kihong wrote: > OK... I think discussion regarding oilpan is almost finished ...
6 years, 6 months ago (2014-06-19 15:18:36 UTC) #16
kihong
On 2014/06/19 15:18:36, haraken wrote: > On 2014/06/19 15:01:08, kihong wrote: > > OK... I ...
6 years, 6 months ago (2014-06-19 15:34:29 UTC) #17
Inactive
On 2014/06/19 15:34:29, kihong wrote: > On 2014/06/19 15:18:36, haraken wrote: > > On 2014/06/19 ...
6 years, 6 months ago (2014-06-19 15:38:37 UTC) #18
kihong
On 2014/06/19 15:38:37, Chris Dumez wrote: > On 2014/06/19 15:34:29, kihong wrote: > > On ...
6 years, 6 months ago (2014-06-19 15:40:23 UTC) #19
Michael van Ouwerkerk
Very nice, thank you Kihong. My apologies for the delay in reviewing. Please do follow ...
6 years, 6 months ago (2014-06-20 08:47:25 UTC) #20
kihong
On 2014/06/20 08:47:25, Michael van Ouwerkerk wrote: > Very nice, thank you Kihong. My apologies ...
6 years, 6 months ago (2014-06-20 08:50:17 UTC) #21
haraken
Sorry about the review delay. This CL changes existing behavior for corner cases where null/undefined/empty ...
6 years, 6 months ago (2014-06-23 01:08:50 UTC) #22
kihong
The CQ bit was checked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-06-23 02:09:08 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/336343002/20001
6 years, 6 months ago (2014-06-23 02:09:16 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-23 03:11:40 UTC) #25
commit-bot: I haz the power
6 years, 6 months ago (2014-06-23 03:47:58 UTC) #26
Message was sent while issue was closed.
Change committed as 176719

Powered by Google App Engine
This is Rietveld 408576698