2011-05-11 06:33:11 +00:00
|
|
|
/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
|
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/. */
|
2011-05-11 06:33:11 +00:00
|
|
|
|
|
|
|
#include "nsIDOMEvent.idl"
|
|
|
|
interface nsIVariant;
|
|
|
|
|
2012-12-22 08:18:08 +00:00
|
|
|
[scriptable, builtinclass, uuid(b56ae6ca-c822-489e-be71-2a9f3c56082e)]
|
2011-05-11 06:33:11 +00:00
|
|
|
interface nsIDOMCustomEvent : nsIDOMEvent
|
|
|
|
{
|
|
|
|
|
|
|
|
readonly attribute nsIVariant detail;
|
|
|
|
|
|
|
|
void initCustomEvent(in DOMString typeArg,
|
|
|
|
in boolean canBubbleArg,
|
|
|
|
in boolean cancelableArg,
|
|
|
|
in nsIVariant detailArg);
|
|
|
|
};
|
2011-12-14 19:53:48 +00:00
|
|
|
|
2012-03-13 04:44:48 +00:00
|
|
|
dictionary CustomEventInit : EventInit
|
2011-12-14 19:53:48 +00:00
|
|
|
{
|
2012-03-13 04:44:48 +00:00
|
|
|
nsIVariant detail;
|
2011-12-14 19:53:48 +00:00
|
|
|
};
|