diff -r 000000000000 -r 6474c204b198 dom/interfaces/events/nsIDOMDragEvent.idl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/interfaces/events/nsIDOMDragEvent.idl Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,32 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* 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" +#include "nsIDOMMouseEvent.idl" + +interface nsIDOMDataTransfer; + +[scriptable, builtinclass, uuid(4d0fe952-7ca7-4730-a163-4454e39ed187)] +interface nsIDOMDragEvent : nsIDOMMouseEvent +{ + readonly attribute nsIDOMDataTransfer dataTransfer; + + void initDragEvent(in DOMString typeArg, + in boolean canBubbleArg, + in boolean cancelableArg, + in nsIDOMWindow aView, + in long aDetail, + in long aScreenX, + in long aScreenY, + in long aClientX, + in long aClientY, + in boolean aCtrlKey, + in boolean aAltKey, + in boolean aShiftKey, + in boolean aMetaKey, + in unsigned short aButton, + in nsIDOMEventTarget aRelatedTarget, + in nsIDOMDataTransfer aDataTransfer); +};