mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* 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/. */
|
|
|
|
#include "nsIDOMEvent.idl"
|
|
|
|
/**
|
|
* The nsIDOMUIEvent interface is the datatype for all UI events in the
|
|
* Document Object Model.
|
|
*
|
|
* For more information on this interface please see
|
|
* http://www.w3.org/TR/DOM-Level-2-Events/
|
|
*/
|
|
|
|
[scriptable, builtinclass, uuid(415453e6-132a-4902-9a99-cc480f0311b6)]
|
|
interface nsIDOMUIEvent : nsIDOMEvent
|
|
{
|
|
readonly attribute nsIDOMWindow view;
|
|
readonly attribute long detail;
|
|
void initUIEvent(in DOMString typeArg,
|
|
in boolean canBubbleArg,
|
|
in boolean cancelableArg,
|
|
in nsIDOMWindow viewArg,
|
|
in long detailArg);
|
|
|
|
const long SCROLL_PAGE_UP = -32768;
|
|
const long SCROLL_PAGE_DOWN = 32768;
|
|
|
|
readonly attribute long layerX;
|
|
readonly attribute long layerY;
|
|
readonly attribute long pageX;
|
|
readonly attribute long pageY;
|
|
readonly attribute unsigned long which;
|
|
readonly attribute nsIDOMNode rangeParent;
|
|
readonly attribute long rangeOffset;
|
|
|
|
attribute boolean cancelBubble;
|
|
|
|
readonly attribute boolean isChar;
|
|
};
|
|
|
|
dictionary UIEventInit : EventInit
|
|
{
|
|
nsIDOMWindow view;
|
|
long detail;
|
|
};
|