dom/interfaces/events/nsIDOMUIEvent.idl

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsIDOMEvent.idl"
     8 /**
     9  * The nsIDOMUIEvent interface is the datatype for all UI events in the
    10  * Document Object Model.
    11  *
    12  * For more information on this interface please see
    13  * http://www.w3.org/TR/DOM-Level-2-Events/
    14  */
    16 [scriptable, builtinclass, uuid(d73852f8-7bd6-477d-8233-117dbf83860b)]
    17 interface nsIDOMUIEvent : nsIDOMEvent
    18 {
    19   readonly attribute nsIDOMWindow       view;
    20   readonly attribute long               detail;
    21   void                      initUIEvent(in DOMString typeArg,
    22                                         in boolean canBubbleArg,
    23                                         in boolean cancelableArg,
    24                                         in nsIDOMWindow viewArg,
    25                                         in long detailArg);
    27   const long SCROLL_PAGE_UP = -32768;
    28   const long SCROLL_PAGE_DOWN = 32768;
    30   readonly attribute long               layerX;
    31   readonly attribute long               layerY;
    32   readonly attribute long               pageX;
    33   readonly attribute long               pageY;
    34   readonly attribute unsigned long      which;
    35   readonly attribute nsIDOMNode         rangeParent;
    36   readonly attribute long               rangeOffset;
    38            attribute boolean            cancelBubble;
    40   readonly attribute boolean            isChar;
    41 };

mercurial