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

Side by Side Diff: Source/modules/geolocation/CircularRegion.idl

Issue 375353002: Add the first very basic bits of a geofencing API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: finalized, and update layout tests Created 6 years, 5 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 [
6 RuntimeEnabled=Geofencing,
7 GarbageCollected,
8 Constructor(Dictionary init)
9 ] interface CircularRegion : GeofencingRegion {
10 const double MIN_RADIUS = 1.0;
11 const double MAX_RADIUS = 100.0;
jochen (gone - plz use gerrit) 2014/07/10 11:38:51 is it clear for geo ppl what unit the radius is in
Marijn Kruisselbrink 2014/07/10 12:36:00 I don't know. Are IDL files supposed to document t
Peter Beverloo 2014/07/10 13:17:27 FWIW, the IDL files define the Web Exposed API sur
12
13 readonly attribute double latitude;
14 readonly attribute double longitude;
15 readonly attribute double radius;
16 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698