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

Issue 2809843002: Geolocation: rename Geoposition to Position to follow Spec (Closed)

Created:
3 years, 8 months ago by mcasas
Modified:
3 years, 8 months ago
Reviewers:
foolip
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, blink-reviews, timvolodine, mvanouwerkerk+watch_chromium.org, mcasas+geolocation_chromium.org, haraken
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Geolocation: rename Geoposition to Position to follow Spec Renamed Geoposition to Position to align with the spec [1] and rippled that change through the files. This change does not surface to the Web platform since Geoposition is a NoInterfaceObject _except_ for the way Geoposition is stringified, which changes to "[object Position]". [1] https://www.w3.org/TR/geolocation-API/#position_interface BUG=708206 Review-Url: https://codereview.chromium.org/2809843002 Cr-Commit-Position: refs/heads/master@{#463759} Committed: https://chromium.googlesource.com/chromium/src/+/80d6493c57a368cf14c8c3eaf429732250df0e9e

Patch Set 1 : #

Total comments: 4

Patch Set 2 : foolip@ comments #

Total comments: 1

Patch Set 3 : comment correction #

Patch Set 4 : position-string-expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -122 lines) Patch
M third_party/WebKit/LayoutTests/geolocation-api/position-string.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/geolocation-api/position-string-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/geolocation/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/geolocation/GeoNotifier.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/geolocation/Geolocation.h View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/geolocation/Geolocation.cpp View 4 chunks +5 lines, -6 lines 0 comments Download
D third_party/WebKit/Source/modules/geolocation/Geoposition.h View 1 chunk +0 lines, -63 lines 0 comments Download
D third_party/WebKit/Source/modules/geolocation/Geoposition.idl View 1 chunk +0 lines, -31 lines 0 comments Download
A + third_party/WebKit/Source/modules/geolocation/Position.h View 4 chunks +8 lines, -8 lines 0 comments Download
A + third_party/WebKit/Source/modules/geolocation/Position.idl View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/geolocation/PositionCallback.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/geolocation/PositionCallback.idl View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (19 generated)
mcasas
foolip@ PTAL
3 years, 8 months ago (2017-04-11 02:31:30 UTC) #4
foolip
lgtm https://codereview.chromium.org/2809843002/diff/20001/third_party/WebKit/LayoutTests/geolocation-api/position-string.html File third_party/WebKit/LayoutTests/geolocation-api/position-string.html (right): https://codereview.chromium.org/2809843002/diff/20001/third_party/WebKit/LayoutTests/geolocation-api/position-string.html#newcode30 third_party/WebKit/LayoutTests/geolocation-api/position-string.html:30: shouldBe('position.toString()', '"[object Position]"'); "This change does not surface ...
3 years, 8 months ago (2017-04-11 14:09:53 UTC) #9
mcasas
https://codereview.chromium.org/2809843002/diff/20001/third_party/WebKit/LayoutTests/geolocation-api/position-string.html File third_party/WebKit/LayoutTests/geolocation-api/position-string.html (right): https://codereview.chromium.org/2809843002/diff/20001/third_party/WebKit/LayoutTests/geolocation-api/position-string.html#newcode30 third_party/WebKit/LayoutTests/geolocation-api/position-string.html:30: shouldBe('position.toString()', '"[object Position]"'); On 2017/04/11 14:09:53, foolip_UTC7 wrote: > ...
3 years, 8 months ago (2017-04-11 16:22:16 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/2809843002/40001
3 years, 8 months ago (2017-04-11 16:23:11 UTC) #14
foolip
https://codereview.chromium.org/2809843002/diff/40001/third_party/WebKit/Source/modules/geolocation/PositionCallback.idl File third_party/WebKit/Source/modules/geolocation/PositionCallback.idl (right): https://codereview.chromium.org/2809843002/diff/40001/third_party/WebKit/Source/modules/geolocation/PositionCallback.idl#newcode29 third_party/WebKit/Source/modules/geolocation/PositionCallback.idl:29: // interface, see https://crbug.com/569301 s/an interface/a callback interface/
3 years, 8 months ago (2017-04-11 16:35:37 UTC) #16
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/2809843002/60001
3 years, 8 months ago (2017-04-11 16:49:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/419704)
3 years, 8 months ago (2017-04-11 18:29:56 UTC) #22
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/2809843002/80001
3 years, 8 months ago (2017-04-11 19:02:51 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/chromium/src/+/80d6493c57a368cf14c8c3eaf429732250df0e9e
3 years, 8 months ago (2017-04-11 20:48:55 UTC) #28
jbauman
On 2017/04/11 20:48:55, commit-bot: I haz the power wrote: > Committed patchset #4 (id:80001) as ...
3 years, 8 months ago (2017-04-11 21:46:13 UTC) #29
mcasas
3 years, 8 months ago (2017-04-11 21:54:37 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/2809783004/ by mcasas@chromium.org.

The reason for reverting is: Seems like Position was already taken (by
core\editing\position.h), reverting due to comment
#29

I'm puzzled that this didn't trigger _any_ bot :?.

Powered by Google App Engine
This is Rietveld 408576698