summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl')
-rw-r--r--dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl b/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl
new file mode 100644
index 000000000..a25fb9822
--- /dev/null
+++ b/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl
@@ -0,0 +1,18 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+
+#include "domstubs.idl"
+
+[scriptable, uuid(B31702D0-6DAC-4FA0-B93B-F043E71C8F9A)]
+interface nsIDOMGeoPositionCoords : nsISupports
+{
+ readonly attribute double latitude;
+ readonly attribute double longitude;
+ readonly attribute double altitude;
+ readonly attribute double accuracy;
+ readonly attribute double altitudeAccuracy;
+ readonly attribute double heading;
+ readonly attribute double speed;
+};