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

Side by Side Diff: public/platform/WebCircularGeofencingRegion.h

Issue 464073002: Pass through geofencing API calls to the content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: only support circular regions for now Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebCircularGeofencingRegion_h
6 #define WebCircularGeofencingRegion_h
7
8 #include "WebCommon.h"
9 #include "WebString.h"
10
11 namespace blink {
12
13 struct WebCircularGeofencingRegion {
14 WebString id;
jochen (gone - plz use gerrit) 2014/09/04 11:14:54 i wouldn't put the ID in the region (the IDL doesn
Marijn Kruisselbrink 2014/09/04 17:44:19 The IDL does have the ID in the region. In fact th
jochen (gone - plz use gerrit) 2014/09/05 14:08:29 I'm sorry, I guess I should first read up on this
Marijn Kruisselbrink 2014/09/05 18:32:09 I now changed the blink<->content API to not have
15 double latitude;
16 double longitude;
17 double radius;
18
19 WebCircularGeofencingRegion()
20 : latitude(0)
21 , longitude(0)
22 , radius(0)
23 {
24 }
25 };
26
27 } // namespace blink
28
29 #endif // WebCircularGeofencingRegion_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698