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 file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: */ michael@0: michael@0: interface WindowProxy; michael@0: michael@0: interface MouseScrollEvent : MouseEvent 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: [Throws] michael@0: void initMouseScrollEvent(DOMString type, michael@0: boolean canBubble, michael@0: boolean cancelable, michael@0: WindowProxy? view, michael@0: long detail, michael@0: long screenX, michael@0: long screenY, michael@0: long clientX, michael@0: long clientY, michael@0: boolean ctrlKey, michael@0: boolean altKey, michael@0: boolean shiftKey, michael@0: boolean metaKey, michael@0: unsigned short button, michael@0: EventTarget? relatedTarget, michael@0: long axis); michael@0: };