Backout a74bd5095902, Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with...
[gecko.git] / dom / webidl / DragEvent.webidl
blob63846a45337feedf1ab3527a43aac159ba2f5235
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 interface WindowProxy;
8 interface DataTransfer;
10 interface DragEvent : MouseEvent
12   readonly attribute DataTransfer? dataTransfer;
14   [Throws]
15   void initDragEvent(DOMString type,
16                      boolean canBubble,
17                      boolean cancelable,
18                      WindowProxy? aView,
19                      long aDetail,
20                      long aScreenX,
21                      long aScreenY,
22                      long aClientX,
23                      long aClientY,
24                      boolean aCtrlKey,
25                      boolean aAltKey,
26                      boolean aShiftKey,
27                      boolean aMetaKey,
28                      unsigned short aButton,
29                      EventTarget? aRelatedTarget,
30                      DataTransfer? aDataTransfer);