2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
2008-07-15 23:37:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include "domstubs.idl"
|
|
|
|
|
2009-11-13 17:21:09 +00:00
|
|
|
[scriptable, uuid(AD9FA4C8-EC71-4B2D-8294-9ADF06DDEC32)]
|
2008-08-14 16:35:49 +00:00
|
|
|
interface nsIDOMGeoPositionError : nsISupports
|
|
|
|
{
|
2008-11-12 16:31:25 +00:00
|
|
|
const unsigned short PERMISSION_DENIED = 1;
|
|
|
|
const unsigned short POSITION_UNAVAILABLE = 2;
|
|
|
|
const unsigned short TIMEOUT = 3;
|
|
|
|
|
2008-08-14 16:35:49 +00:00
|
|
|
readonly attribute short code;
|
2008-07-15 23:37:48 +00:00
|
|
|
};
|