/* 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 "nsIDOMEvent.idl"

[scriptable, builtinclass, uuid(caf39525-b0f9-46d1-91d2-59f31dd6e206)]
interface nsIDOMUserProximityEvent : nsIDOMEvent
{
  [noscript] void initUserProximityEvent(in DOMString eventTypeArg,
                                         in boolean canBubbleArg,
                                         in boolean cancelableArg,
                                         in boolean near);

  readonly attribute boolean near;
};

dictionary UserProximityEventInit : EventInit
{
   boolean near;
};
