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: #include "nsIDOMMouseEvent.idl" michael@0: michael@0: [scriptable, builtinclass, uuid(2bce5c03-5bed-4c22-8a6a-a3ac8f5563d7)] michael@0: interface nsIDOMMouseScrollEvent : nsIDOMMouseEvent michael@0: { michael@0: const long HORIZONTAL_AXIS = 1; michael@0: const long VERTICAL_AXIS = 2; michael@0: michael@0: readonly attribute long axis; michael@0: michael@0: void initMouseScrollEvent(in DOMString typeArg, michael@0: in boolean canBubbleArg, michael@0: in boolean cancelableArg, michael@0: in nsIDOMWindow viewArg, michael@0: in long detailArg, michael@0: in long screenXArg, michael@0: in long screenYArg, michael@0: in long clientXArg, michael@0: in long clientYArg, michael@0: in boolean ctrlKeyArg, michael@0: in boolean altKeyArg, michael@0: in boolean shiftKeyArg, michael@0: in boolean metaKeyArg, michael@0: in unsigned short buttonArg, michael@0: in nsIDOMEventTarget relatedTargetArg, michael@0: in long axis); michael@0: };