1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/events/nsIDOMDragEvent.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "domstubs.idl" 1.10 +#include "nsIDOMMouseEvent.idl" 1.11 + 1.12 +interface nsIDOMDataTransfer; 1.13 + 1.14 +[scriptable, builtinclass, uuid(4d0fe952-7ca7-4730-a163-4454e39ed187)] 1.15 +interface nsIDOMDragEvent : nsIDOMMouseEvent 1.16 +{ 1.17 + readonly attribute nsIDOMDataTransfer dataTransfer; 1.18 + 1.19 + void initDragEvent(in DOMString typeArg, 1.20 + in boolean canBubbleArg, 1.21 + in boolean cancelableArg, 1.22 + in nsIDOMWindow aView, 1.23 + in long aDetail, 1.24 + in long aScreenX, 1.25 + in long aScreenY, 1.26 + in long aClientX, 1.27 + in long aClientY, 1.28 + in boolean aCtrlKey, 1.29 + in boolean aAltKey, 1.30 + in boolean aShiftKey, 1.31 + in boolean aMetaKey, 1.32 + in unsigned short aButton, 1.33 + in nsIDOMEventTarget aRelatedTarget, 1.34 + in nsIDOMDataTransfer aDataTransfer); 1.35 +};