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

Issue 464073002: Pass through geofencing API calls to the content layer. (Closed)

Created:
6 years, 4 months ago by Marijn Kruisselbrink
Modified:
6 years, 3 months ago
CC:
abarth-chromium, arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, dglazkov+blink, jamesr
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Pass through geofencing API calls to the content layer. BUG=383125 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181755

Patch Set 1 #

Patch Set 2 : add regionType #

Total comments: 4

Patch Set 3 : use SpecialWrapFor #

Patch Set 4 : #

Total comments: 24

Patch Set 5 : address comments #

Patch Set 6 : get rid of UndefinedValue class #

Total comments: 1

Patch Set 7 : back out the CallbackPromiseAdapter changes #

Patch Set 8 : rebase #

Total comments: 24

Patch Set 9 : address comments #

Patch Set 10 : only support circular regions for now #

Total comments: 17

Patch Set 11 : nits #

Patch Set 12 : keep id separate from region #

Total comments: 2

Patch Set 13 : add ctor and rebase #

Patch Set 14 : fix test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -132 lines) Patch
M LayoutTests/geofencing/geofencing-not-implemented.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-shared-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
A Source/modules/geofencing/CircularGeofencingRegion.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +43 lines, -0 lines 0 comments Download
A Source/modules/geofencing/CircularGeofencingRegion.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +40 lines, -0 lines 0 comments Download
A + Source/modules/geofencing/CircularGeofencingRegion.idl View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
D Source/modules/geofencing/CircularRegion.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -47 lines 0 comments Download
D Source/modules/geofencing/CircularRegion.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -36 lines 0 comments Download
D Source/modules/geofencing/CircularRegion.idl View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -17 lines 0 comments Download
M Source/modules/geofencing/Geofencing.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +62 lines, -3 lines 0 comments Download
A + Source/modules/geofencing/GeofencingError.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -8 lines 0 comments Download
A + Source/modules/geofencing/GeofencingError.cpp View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M Source/modules/geofencing/GeofencingRegion.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M Source/modules/geofencing/GeofencingRegion.idl View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A Source/modules/geofencing/WorkerNavigatorGeofencing.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +37 lines, -0 lines 0 comments Download
A Source/modules/geofencing/WorkerNavigatorGeofencing.cpp View 1 chunk +54 lines, -0 lines 0 comments Download
A + Source/modules/geofencing/WorkerNavigatorGeofencing.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +8 lines, -3 lines 0 comments Download
M public/platform/Platform.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
A public/platform/WebCircularGeofencingRegion.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +28 lines, -0 lines 0 comments Download
A + public/platform/WebGeofencingError.h View 2 chunks +5 lines, -5 lines 0 comments Download
A public/platform/WebGeofencingProvider.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -0 lines 0 comments Download
A public/platform/WebGeofencingRegistration.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (5 generated)
Marijn Kruisselbrink
This mostly implements (part of) the blink side of things in my design doc (https://docs.google.com/document/d/1f0YwJDRvoGko4OaD8gWJdmgLIPTMs_SiOd3rjHyd_Yo/edit?usp=sharing). ...
6 years, 4 months ago (2014-08-13 23:47:12 UTC) #1
esprehn
l-g-t-m from me, but I think abarth@ should look over it too since he's more ...
6 years, 4 months ago (2014-08-14 00:44:53 UTC) #2
haraken
https://codereview.chromium.org/464073002/diff/20001/Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp File Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp (right): https://codereview.chromium.org/464073002/diff/20001/Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp#newcode13 Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp:13: v8::Handle<v8::Object> wrap(GeofencingRegion* region, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) Can we ...
6 years, 4 months ago (2014-08-14 00:47:21 UTC) #3
Marijn Kruisselbrink
https://codereview.chromium.org/464073002/diff/20001/Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp File Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp (right): https://codereview.chromium.org/464073002/diff/20001/Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp#newcode13 Source/bindings/modules/v8/custom/V8GeofencingRegionCustom.cpp:13: v8::Handle<v8::Object> wrap(GeofencingRegion* region, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 16:03:32 UTC) #4
esprehn
https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp File Source/modules/geofencing/Geofencing.cpp (right): https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp#newcode22 Source/modules/geofencing/Geofencing.cpp:22: // Copy of same class in ServiceWorkerContainer.cpp How can ...
6 years, 4 months ago (2014-08-19 01:15:59 UTC) #5
Marijn Kruisselbrink
https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp File Source/modules/geofencing/Geofencing.cpp (right): https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp#newcode22 Source/modules/geofencing/Geofencing.cpp:22: // Copy of same class in ServiceWorkerContainer.cpp On 2014/08/19 ...
6 years, 4 months ago (2014-08-19 18:55:14 UTC) #6
Marijn Kruisselbrink
https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp File Source/modules/geofencing/Geofencing.cpp (right): https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp#newcode22 Source/modules/geofencing/Geofencing.cpp:22: // Copy of same class in ServiceWorkerContainer.cpp On 2014/08/19 ...
6 years, 4 months ago (2014-08-19 18:58:50 UTC) #7
Marijn Kruisselbrink
https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp File Source/modules/geofencing/Geofencing.cpp (right): https://codereview.chromium.org/464073002/diff/60001/Source/modules/geofencing/Geofencing.cpp#newcode22 Source/modules/geofencing/Geofencing.cpp:22: // Copy of same class in ServiceWorkerContainer.cpp On 2014/08/19 ...
6 years, 4 months ago (2014-08-19 19:13:07 UTC) #8
esprehn
Yeah can we do the v8/ change in a separate CL? https://codereview.chromium.org/464073002/diff/120001/Source/bindings/core/v8/CallbackPromiseAdapter.h File Source/bindings/core/v8/CallbackPromiseAdapter.h (right): ...
6 years, 4 months ago (2014-08-19 19:24:53 UTC) #9
Marijn Kruisselbrink
On 2014/08/19 19:24:53, esprehn wrote: > Yeah can we do the v8/ change in a ...
6 years, 4 months ago (2014-08-19 20:45:41 UTC) #10
Marijn Kruisselbrink
On 2014/08/19 20:45:41, Marijn Kruisselbrink wrote: > On 2014/08/19 19:24:53, esprehn wrote: > > Yeah ...
6 years, 4 months ago (2014-08-21 17:50:39 UTC) #11
esprehn
lgtm
6 years, 4 months ago (2014-08-21 21:59:45 UTC) #12
abarth-chromium
https://codereview.chromium.org/464073002/diff/160001/Source/modules/geofencing/CircularRegion.cpp File Source/modules/geofencing/CircularRegion.cpp (right): https://codereview.chromium.org/464073002/diff/160001/Source/modules/geofencing/CircularRegion.cpp#newcode27 Source/modules/geofencing/CircularRegion.cpp:27: CircularRegionInit rinit(init); rinit -> please use complete words in ...
6 years, 4 months ago (2014-08-23 05:43:35 UTC) #13
Marijn Kruisselbrink
Thanks for the review. I'm still not entirely sure what the best process is to ...
6 years, 4 months ago (2014-08-25 22:25:25 UTC) #14
Marijn Kruisselbrink
abarth: ping
6 years, 3 months ago (2014-08-28 16:24:07 UTC) #15
Marijn Kruisselbrink
As suggested by abarth@, adding jochen as a reviewer. jochen: Hopefully you'll have more time ...
6 years, 3 months ago (2014-08-29 23:40:06 UTC) #17
jochen (gone - plz use gerrit)
Can you help me understand why the regions need to be classes as opposed to ...
6 years, 3 months ago (2014-09-02 09:14:51 UTC) #18
abarth-chromium
6 years, 3 months ago (2014-09-02 19:38:22 UTC) #20
Marijn Kruisselbrink
On 2014/09/02 09:14:51, jochen wrote: > Can you help me understand why the regions need ...
6 years, 3 months ago (2014-09-03 03:27:52 UTC) #21
jochen (gone - plz use gerrit)
On 2014/09/03 at 03:27:52, mek wrote: > On 2014/09/02 09:14:51, jochen wrote: > > Can ...
6 years, 3 months ago (2014-09-03 08:32:17 UTC) #22
Marijn Kruisselbrink
On 2014/09/03 08:32:17, jochen wrote: > On 2014/09/03 at 03:27:52, mek wrote: > > On ...
6 years, 3 months ago (2014-09-03 23:19:36 UTC) #24
jochen (gone - plz use gerrit)
https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/CircularGeofencingRegion.cpp File Source/modules/geofencing/CircularGeofencingRegion.cpp (right): https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/CircularGeofencingRegion.cpp#newcode41 Source/modules/geofencing/CircularGeofencingRegion.cpp:41: : GeofencingRegion(region.id), m_latitude(region.latitude), m_longitude(region.longitude), m_radius(region.radius) nit. initializers on separate ...
6 years, 3 months ago (2014-09-04 11:14:54 UTC) #25
Marijn Kruisselbrink
https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/CircularGeofencingRegion.cpp File Source/modules/geofencing/CircularGeofencingRegion.cpp (right): https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/CircularGeofencingRegion.cpp#newcode41 Source/modules/geofencing/CircularGeofencingRegion.cpp:41: : GeofencingRegion(region.id), m_latitude(region.latitude), m_longitude(region.longitude), m_radius(region.radius) On 2014/09/04 11:14:54, jochen ...
6 years, 3 months ago (2014-09-04 17:44:19 UTC) #26
jochen (gone - plz use gerrit)
https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/WorkerNavigatorGeofencing.h File Source/modules/geofencing/WorkerNavigatorGeofencing.h (right): https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/WorkerNavigatorGeofencing.h#newcode17 Source/modules/geofencing/WorkerNavigatorGeofencing.h:17: : public NoBaseWillBeGarbageCollectedFinalized<WorkerNavigatorGeofencing> On 2014/09/04 17:44:19, Marijn Kruisselbrink wrote: ...
6 years, 3 months ago (2014-09-05 14:08:29 UTC) #27
Marijn Kruisselbrink
https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/WorkerNavigatorGeofencing.h File Source/modules/geofencing/WorkerNavigatorGeofencing.h (right): https://codereview.chromium.org/464073002/diff/220001/Source/modules/geofencing/WorkerNavigatorGeofencing.h#newcode17 Source/modules/geofencing/WorkerNavigatorGeofencing.h:17: : public NoBaseWillBeGarbageCollectedFinalized<WorkerNavigatorGeofencing> On 2014/09/05 14:08:28, jochen wrote: > ...
6 years, 3 months ago (2014-09-05 18:32:09 UTC) #28
Marijn Kruisselbrink
jochen: ptal
6 years, 3 months ago (2014-09-09 23:07:51 UTC) #29
jochen (gone - plz use gerrit)
lgtm I wonder whether the API should have some way for the platform to tell ...
6 years, 3 months ago (2014-09-10 07:51:04 UTC) #30
Marijn Kruisselbrink
On 2014/09/10 07:51:04, jochen wrote: > I wonder whether the API should have some way ...
6 years, 3 months ago (2014-09-10 17:24:05 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mek@chromium.org/464073002/280001
6 years, 3 months ago (2014-09-10 17:24:52 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mek@chromium.org/464073002/300001
6 years, 3 months ago (2014-09-10 17:57:21 UTC) #35
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 18:59:47 UTC) #36
Message was sent while issue was closed.
Committed patchset #14 (id:300001) as 181755

Powered by Google App Engine
This is Rietveld 408576698