michael@0: /* -*- Mode: IDL; 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: michael@0: interface WindowProxy; michael@0: michael@0: interface DragEvent : MouseEvent michael@0: { michael@0: readonly attribute DataTransfer? dataTransfer; michael@0: michael@0: [Throws] michael@0: void initDragEvent(DOMString type, michael@0: boolean canBubble, michael@0: boolean cancelable, michael@0: WindowProxy? aView, michael@0: long aDetail, michael@0: long aScreenX, michael@0: long aScreenY, michael@0: long aClientX, michael@0: long aClientY, michael@0: boolean aCtrlKey, michael@0: boolean aAltKey, michael@0: boolean aShiftKey, michael@0: boolean aMetaKey, michael@0: unsigned short aButton, michael@0: EventTarget? aRelatedTarget, michael@0: DataTransfer? aDataTransfer); michael@0: };