michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "domstubs.idl" michael@0: #include "nsIDOMMouseEvent.idl" michael@0: michael@0: interface nsIDOMDataTransfer; michael@0: michael@0: [scriptable, builtinclass, uuid(4d0fe952-7ca7-4730-a163-4454e39ed187)] michael@0: interface nsIDOMDragEvent : nsIDOMMouseEvent michael@0: { michael@0: readonly attribute nsIDOMDataTransfer dataTransfer; michael@0: michael@0: void initDragEvent(in DOMString typeArg, michael@0: in boolean canBubbleArg, michael@0: in boolean cancelableArg, michael@0: in nsIDOMWindow aView, michael@0: in long aDetail, michael@0: in long aScreenX, michael@0: in long aScreenY, michael@0: in long aClientX, michael@0: in long aClientY, michael@0: in boolean aCtrlKey, michael@0: in boolean aAltKey, michael@0: in boolean aShiftKey, michael@0: in boolean aMetaKey, michael@0: in unsigned short aButton, michael@0: in nsIDOMEventTarget aRelatedTarget, michael@0: in nsIDOMDataTransfer aDataTransfer); michael@0: };