1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/events/nsIDOMMouseScrollEvent.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +/* -*- Mode: IDL; 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 "nsIDOMMouseEvent.idl" 1.10 + 1.11 +[scriptable, builtinclass, uuid(2bce5c03-5bed-4c22-8a6a-a3ac8f5563d7)] 1.12 +interface nsIDOMMouseScrollEvent : nsIDOMMouseEvent 1.13 +{ 1.14 + const long HORIZONTAL_AXIS = 1; 1.15 + const long VERTICAL_AXIS = 2; 1.16 + 1.17 + readonly attribute long axis; 1.18 + 1.19 + void initMouseScrollEvent(in DOMString typeArg, 1.20 + in boolean canBubbleArg, 1.21 + in boolean cancelableArg, 1.22 + in nsIDOMWindow viewArg, 1.23 + in long detailArg, 1.24 + in long screenXArg, 1.25 + in long screenYArg, 1.26 + in long clientXArg, 1.27 + in long clientYArg, 1.28 + in boolean ctrlKeyArg, 1.29 + in boolean altKeyArg, 1.30 + in boolean shiftKeyArg, 1.31 + in boolean metaKeyArg, 1.32 + in unsigned short buttonArg, 1.33 + in nsIDOMEventTarget relatedTargetArg, 1.34 + in long axis); 1.35 +};