Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / dom / webidl / DragEvent.webidl
blob806177790c57cdc44a12ddc16cc44db646dec55c
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 [Constructor(DOMString type, optional DragEventInit eventInitDict)]
8 interface DragEvent : MouseEvent
10   readonly attribute DataTransfer? dataTransfer;
12   void initDragEvent(DOMString type,
13                      optional boolean canBubble = false,
14                      optional boolean cancelable = false,
15                      optional Window? aView = null,
16                      optional long aDetail = 0,
17                      optional long aScreenX = 0,
18                      optional long aScreenY = 0,
19                      optional long aClientX = 0,
20                      optional long aClientY = 0,
21                      optional boolean aCtrlKey = false,
22                      optional boolean aAltKey = false,
23                      optional boolean aShiftKey = false,
24                      optional boolean aMetaKey = false,
25                      optional unsigned short aButton = 0,
26                      optional EventTarget? aRelatedTarget = null,
27                      optional DataTransfer? aDataTransfer = null);
30 dictionary DragEventInit : MouseEventInit
32   DataTransfer? dataTransfer = null;