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

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

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 [
6 RuntimeEnabled=Geofencing,
7 Exposed=(Window,Worker),
8 GarbageCollected,
9 Constructor(Dictionary init)
10 ] interface CircularRegion : GeofencingRegion {
11 const double MIN_RADIUS = 1.0;
12 const double MAX_RADIUS = 100.0;
13
14 readonly attribute double latitude;
15 readonly attribute double longitude;
16 readonly attribute double radius;
17 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698