Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / geofencing / CircularGeofencingRegion.idl
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 CircularGeofencingRegion : 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 };