2008-07-24 21:07:43 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2008-07-24 21:07:43 -07:00
|
|
|
|
2009-08-20 03:13:06 -07:00
|
|
|
#include "nsIDOMMouseEvent.idl"
|
2008-07-24 21:07:43 -07:00
|
|
|
|
2012-04-24 20:00:02 -07:00
|
|
|
[scriptable, uuid(6b3631e5-8244-480e-9015-b70e2f88cc81)]
|
2009-08-20 03:13:06 -07:00
|
|
|
interface nsIDOMMouseScrollEvent : nsIDOMMouseEvent
|
2008-07-24 21:07:43 -07:00
|
|
|
{
|
|
|
|
const long HORIZONTAL_AXIS = 1;
|
|
|
|
const long VERTICAL_AXIS = 2;
|
|
|
|
|
|
|
|
readonly attribute long axis;
|
|
|
|
|
|
|
|
void initMouseScrollEvent(in DOMString typeArg,
|
|
|
|
in boolean canBubbleArg,
|
|
|
|
in boolean cancelableArg,
|
2011-04-23 23:54:25 -07:00
|
|
|
in nsIDOMWindow viewArg,
|
2008-07-24 21:07:43 -07:00
|
|
|
in long detailArg,
|
|
|
|
in long screenXArg,
|
|
|
|
in long screenYArg,
|
|
|
|
in long clientXArg,
|
|
|
|
in long clientYArg,
|
|
|
|
in boolean ctrlKeyArg,
|
|
|
|
in boolean altKeyArg,
|
|
|
|
in boolean shiftKeyArg,
|
|
|
|
in boolean metaKeyArg,
|
|
|
|
in unsigned short buttonArg,
|
|
|
|
in nsIDOMEventTarget relatedTargetArg,
|
|
|
|
in long axis);
|
|
|
|
};
|