webengine/osswebengine/WebKit/win/Interfaces/DOMEvents.idl
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2  * Copyright (C) 2006, 2007 Apple Inc.  All rights reserved.
       
     3  *
       
     4  * Redistribution and use in source and binary forms, with or without
       
     5  * modification, are permitted provided that the following conditions
       
     6  * are met:
       
     7  * 1. Redistributions of source code must retain the above copyright
       
     8  *    notice, this list of conditions and the following disclaimer.
       
     9  * 2. Redistributions in binary form must reproduce the above copyright
       
    10  *    notice, this list of conditions and the following disclaimer in the
       
    11  *    documentation and/or other materials provided with the distribution.
       
    12  *
       
    13  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
       
    14  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
       
    15  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
       
    16  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
       
    17  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
       
    18  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
       
    19  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
       
    20  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
       
    21  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
       
    22  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
       
    23  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
       
    24  */
       
    25 
       
    26 cpp_quote("/*")
       
    27 cpp_quote(" * Copyright (C) 2006, 2007 Apple Inc.  All rights reserved.")
       
    28 cpp_quote(" *")
       
    29 cpp_quote(" * Redistribution and use in source and binary forms, with or without")
       
    30 cpp_quote(" * modification, are permitted provided that the following conditions")
       
    31 cpp_quote(" * are met:")
       
    32 cpp_quote(" * 1. Redistributions of source code must retain the above copyright")
       
    33 cpp_quote(" *    notice, this list of conditions and the following disclaimer.")
       
    34 cpp_quote(" * 2. Redistributions in binary form must reproduce the above copyright")
       
    35 cpp_quote(" *    notice, this list of conditions and the following disclaimer in the")
       
    36 cpp_quote(" *    documentation and/or other materials provided with the distribution.")
       
    37 cpp_quote(" *")
       
    38 cpp_quote(" * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY")
       
    39 cpp_quote(" * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE")
       
    40 cpp_quote(" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR")
       
    41 cpp_quote(" * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR")
       
    42 cpp_quote(" * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,")
       
    43 cpp_quote(" * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,")
       
    44 cpp_quote(" * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR")
       
    45 cpp_quote(" * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY")
       
    46 cpp_quote(" * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT")
       
    47 cpp_quote(" * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE")
       
    48 cpp_quote(" * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ")
       
    49 cpp_quote(" */")
       
    50 
       
    51 import "oaidl.idl";
       
    52 import "ocidl.idl";
       
    53 import "DOMCore.idl";
       
    54 import "DOMWindow.idl";
       
    55 
       
    56 interface IDOMEvent;
       
    57 interface IDOMEventException;
       
    58 interface IDOMEventTarget;
       
    59 interface IDOMKeyboardEvent;
       
    60 interface IDOMMouseEvent;
       
    61 interface IDOMMutationEvent;
       
    62 interface IDOMOverflowEvent;
       
    63 interface IDOMUIEvent;
       
    64 interface IDOMWheelEvent;
       
    65 
       
    66 typedef long long DOMTimeStamp;
       
    67 
       
    68 [
       
    69     object,
       
    70     oleautomation,
       
    71     uuid(7f8a0a96-f864-44fb-87fb-c5f03666e8e6),
       
    72     pointer_default(unique)
       
    73 ]
       
    74 interface IDOMEventListener : IDOMObject
       
    75 {
       
    76     //void               handleEvent(in Event evt);
       
    77     HRESULT handleEvent([in] IDOMEvent* evt);
       
    78 }
       
    79 
       
    80 [
       
    81     object,
       
    82     oleautomation,
       
    83     uuid(62343a9e-a779-4e91-818a-14fc178cf4c2),
       
    84     pointer_default(unique)
       
    85 ]
       
    86 interface IDOMEvent : IDOMObject
       
    87 {
       
    88     // DOM PhaseType
       
    89     const unsigned short DOMEVENT_CAPTURING_PHASE     = 1;
       
    90     const unsigned short DOMEVENT_AT_TARGET           = 2;
       
    91     const unsigned short DOMEVENT_BUBBLING_PHASE      = 3;
       
    92 
       
    93     // Reverse-engineered from Netscape
       
    94     const unsigned short DOMEVENT_MOUSEDOWN           = 1;
       
    95     const unsigned short DOMEVENT_MOUSEUP             = 2;
       
    96     const unsigned short DOMEVENT_MOUSEOVER           = 4;
       
    97     const unsigned short DOMEVENT_MOUSEOUT            = 8;
       
    98     const unsigned short DOMEVENT_MOUSEMOVE           = 16;
       
    99     const unsigned short DOMEVENT_MOUSEDRAG           = 32;
       
   100     const unsigned short DOMEVENT_CLICK               = 64;
       
   101     const unsigned short DOMEVENT_DBLCLICK            = 128;
       
   102     const unsigned short DOMEVENT_KEYDOWN             = 256;
       
   103     const unsigned short DOMEVENT_KEYUP               = 512;
       
   104     const unsigned short DOMEVENT_KEYPRESS            = 1024;
       
   105     const unsigned short DOMEVENT_DRAGDROP            = 2048;
       
   106     const unsigned short DOMEVENT_FOCUS               = 4096;
       
   107     const unsigned short DOMEVENT_BLUR                = 8192;
       
   108     const unsigned short DOMEVENT_SELECT              = 16384;
       
   109     const unsigned short DOMEVENT_CHANGE              = 32768;
       
   110 
       
   111     //readonly attribute DOMString        type;
       
   112     HRESULT type([out, retval] BSTR* result);
       
   113 
       
   114     //readonly attribute EventTarget      target;
       
   115     HRESULT target([out, retval] IDOMEventTarget** result);
       
   116 
       
   117     //readonly attribute EventTarget      currentTarget;
       
   118     HRESULT currentTarget([out, retval] IDOMEventTarget** result);
       
   119 
       
   120     //readonly attribute unsigned short   eventPhase;
       
   121     HRESULT eventPhase([out, retval] unsigned short* result);
       
   122 
       
   123     //readonly attribute boolean          bubbles;
       
   124     HRESULT bubbles([out, retval] BOOL* result);
       
   125 
       
   126     //readonly attribute boolean          cancelable;
       
   127     HRESULT cancelable([out, retval] BOOL* result);
       
   128 
       
   129     //readonly attribute DOMTimeStamp     timeStamp;
       
   130     HRESULT timeStamp([out, retval] DOMTimeStamp* result);
       
   131 
       
   132     //void               stopPropagation();
       
   133     HRESULT stopPropagation();
       
   134 
       
   135     //void               preventDefault();
       
   136     HRESULT preventDefault();
       
   137 
       
   138     //[OldStyleObjC] void initEvent(in DOMString eventTypeArg, 
       
   139     //                              in boolean canBubbleArg, 
       
   140     //                              in boolean cancelableArg);
       
   141     HRESULT initEvent([in] BSTR eventTypeArg, [in] BOOL canBubbleArg, [in] BOOL cancelableArg);
       
   142 }
       
   143 
       
   144 [
       
   145     object,
       
   146     oleautomation,
       
   147     uuid(c7cf7d84-d755-40bc-b664-84bc79eff709),
       
   148     pointer_default(unique)
       
   149 ]
       
   150 interface IDOMEventTarget : IUnknown
       
   151 {
       
   152     //void               addEventListener(in DOMString type, 
       
   153     //                                    in EventListener listener, 
       
   154     //                                    in boolean useCapture);
       
   155     HRESULT addEventListener([in] BSTR type, [in] IDOMEventListener* listener, [in] BOOL useCapture);
       
   156 
       
   157     //void               removeEventListener(in DOMString type, 
       
   158     //                                       in EventListener listener, 
       
   159     //                                       in boolean useCapture);
       
   160     HRESULT removeEventListener([in] BSTR type, [in] IDOMEventListener* listener, [in] BOOL useCapture);
       
   161 
       
   162     //boolean            dispatchEvent(in Event event)
       
   163     HRESULT dispatchEvent([in] IDOMEvent* event, [out, retval] BOOL* result);
       
   164 }
       
   165 
       
   166 [
       
   167     object,
       
   168     oleautomation,
       
   169     uuid(55AAF192-68CD-409f-A551-89710DC7240A),
       
   170     pointer_default(unique)
       
   171 ]
       
   172 interface IDOMDocumentEvent : IUnknown
       
   173 {
       
   174     //Event              createEvent(in DOMString eventType)
       
   175     //    raises(DOMException);
       
   176     HRESULT createEvent([in] BSTR eventType, [out, retval] IDOMEvent** result);
       
   177 }
       
   178 
       
   179 [
       
   180     object,
       
   181     oleautomation,
       
   182     uuid(76bc4e46-67df-40d3-89b0-a94dcc2ed507),
       
   183     pointer_default(unique)
       
   184 ]
       
   185 interface IDOMKeyboardEvent : IDOMUIEvent
       
   186 {
       
   187     // KeyLocationCode
       
   188     const unsigned long       DOMKEYBOARDEVENT_KEY_LOCATION_STANDARD      = 0x00;
       
   189     const unsigned long       DOMKEYBOARDEVENT_KEY_LOCATION_LEFT          = 0x01;
       
   190     const unsigned long       DOMKEYBOARDEVENT_KEY_LOCATION_RIGHT         = 0x02;
       
   191     const unsigned long       DOMKEYBOARDEVENT_KEY_LOCATION_NUMPAD        = 0x03;
       
   192 
       
   193     //readonly attribute DOMString        keyIdentifier;
       
   194     HRESULT keyIdentifier([out, retval] BSTR* result);
       
   195 
       
   196     //readonly attribute unsigned long    keyLocation;
       
   197     HRESULT keyLocation([out, retval] unsigned long* result);
       
   198 
       
   199     //readonly attribute boolean          ctrlKey;
       
   200     HRESULT ctrlKey([out, retval] BOOL* result);
       
   201 
       
   202     //readonly attribute boolean          shiftKey;
       
   203     HRESULT shiftKey([out, retval] BOOL* result);
       
   204 
       
   205     //readonly attribute boolean          altKey;
       
   206     HRESULT altKey([out, retval] BOOL* result);
       
   207 
       
   208     //readonly attribute boolean          metaKey;
       
   209     HRESULT metaKey([out, retval] BOOL* result);
       
   210 
       
   211     //readonly attribute boolean          altGraphKey;
       
   212     HRESULT altGraphKey([out, retval] BOOL* result);
       
   213 
       
   214     //boolean getModifierState(in DOMString keyIdentifierArg);
       
   215     HRESULT getModifierState([in] BSTR keyIdentifierArg, [out, retval] BOOL* result);
       
   216 
       
   217     // FIXME: this does not match the version in the DOM spec.
       
   218     //void initKeyboardEvent(in AtomicString type, 
       
   219     //                       in boolean canBubble, 
       
   220     //                       in boolean cancelable, 
       
   221     //                       in DOMWindow view, 
       
   222     //                       in DOMString keyIdentifier,
       
   223     //                       in unsigned long keyLocation,
       
   224     //                       in boolean ctrlKey,
       
   225     //                       in boolean altKey,
       
   226     //                       in boolean shiftKey,
       
   227     //                       in boolean metaKey,
       
   228     //                       in boolean altGraphKey);
       
   229     HRESULT initKeyboardEvent([in] BSTR type, [in] BOOL canBubble, [in] BOOL cancelable, [in] IDOMWindow* view, [in] BSTR keyIdentifier, [in] unsigned long keyLocation, [in] BOOL ctrlKey, [in] BOOL altKey, [in] BOOL shiftKey, [in] BOOL metaKey, [in] BOOL graphKey);
       
   230 
       
   231     // WebKit Extensions
       
   232     //readonly attribute long             keyCode;
       
   233     //HRESULT keyCode([out, retval] long* result);
       
   234 
       
   235     //readonly attribute long             charCode;
       
   236     //HRESULT charCode([out, retval] long* result);
       
   237 
       
   238     //void initKeyboardEvent(in AtomicString type, 
       
   239     //                       in boolean canBubble, 
       
   240     //                       in boolean cancelable, 
       
   241     //                       in DOMWindow view, 
       
   242     //                       in DOMString keyIdentifier,
       
   243     //                       in unsigned long keyLocation,
       
   244     //                       in boolean ctrlKey,
       
   245     //                       in boolean altKey,
       
   246     //                       in boolean shiftKey,
       
   247     //                       in boolean metaKey);
       
   248 }
       
   249 
       
   250 [
       
   251     object,
       
   252     oleautomation,
       
   253     uuid(bdd97151-5f6a-4ba4-a902-9b008392eb54),
       
   254     pointer_default(unique)
       
   255 ]
       
   256 interface IDOMMouseEvent : IDOMUIEvent
       
   257 {
       
   258     //readonly attribute long             screenX;
       
   259     HRESULT screenX([out, retval] long* result);
       
   260 
       
   261     //readonly attribute long             screenY;
       
   262     HRESULT screenY([out, retval] long* result);
       
   263 
       
   264     //readonly attribute long             clientX;
       
   265     HRESULT clientX([out, retval] long* result);
       
   266 
       
   267     //readonly attribute long             clientY;
       
   268     HRESULT clientY([out, retval] long* result);
       
   269 
       
   270     //readonly attribute boolean          ctrlKey;
       
   271     HRESULT ctrlKey([out, retval] BOOL* result);
       
   272 
       
   273     //readonly attribute boolean          shiftKey;
       
   274     HRESULT shiftKey([out, retval] BOOL* result);
       
   275 
       
   276     //readonly attribute boolean          altKey;
       
   277     HRESULT altKey([out, retval] BOOL* result);
       
   278 
       
   279     //readonly attribute boolean          metaKey;
       
   280     HRESULT metaKey([out, retval] BOOL* result);
       
   281 
       
   282     //readonly attribute unsigned short   button;
       
   283     HRESULT button([out, retval] unsigned short* result);
       
   284 
       
   285     //readonly attribute EventTarget      relatedTarget;
       
   286     HRESULT relatedTarget([out, retval] IDOMEventTarget** result);
       
   287 
       
   288     //[OldStyleObjC] void initMouseEvent(in AtomicString type, 
       
   289     //                                   in boolean canBubble, 
       
   290     //                                   in boolean cancelable, 
       
   291     //                                   in DOMWindow view, 
       
   292     //                                   in long detail, 
       
   293     //                                   in long screenX, 
       
   294     //                                   in long screenY, 
       
   295     //                                   in long clientX, 
       
   296     //                                   in long clientY, 
       
   297     //                                   in boolean ctrlKey, 
       
   298     //                                   in boolean altKey, 
       
   299     //                                   in boolean shiftKey, 
       
   300     //                                   in boolean metaKey, 
       
   301     //                                   in unsigned short button, 
       
   302     //                                   in EventTarget relatedTarget);
       
   303     HRESULT initMouseEvent([in] BSTR type, [in] BOOL canBubble, [in] BOOL cancelable, [in] IDOMWindow* view, [in] long detail, [in] long screenX, [in] long screenY, [in] long clientX, [in] long clientY, [in] BOOL ctrlKey, [in] BOOL altKey, [in] BOOL shiftKey, [in] BOOL metaKey, [in] unsigned short button, [in] IDOMEventTarget* relatedTarget);
       
   304 
       
   305     // extensions
       
   306     //readonly attribute long             offsetX;
       
   307     HRESULT offsetX([out, retval] long* result);
       
   308 
       
   309     //readonly attribute long             offsetY;
       
   310     HRESULT offsetY([out, retval] long* result);
       
   311 
       
   312     //readonly attribute long             x;
       
   313     HRESULT x([out, retval] long* result);
       
   314 
       
   315     //readonly attribute long             y;
       
   316     HRESULT y([out, retval] long* result);
       
   317 
       
   318     //readonly attribute Node             fromElement;
       
   319     HRESULT fromElement([out, retval] IDOMNode** result);
       
   320 
       
   321     //readonly attribute Node             toElement;
       
   322     HRESULT toElement([out, retval] IDOMNode** result);
       
   323 }
       
   324 
       
   325 [
       
   326     object,
       
   327     oleautomation,
       
   328     uuid(6345d228-ea67-48ee-93c8-ff6e9c6356e9),
       
   329     pointer_default(unique)
       
   330 ]
       
   331 interface IDOMMutationEvent : IDOMEvent
       
   332 {
       
   333     // attrChangeType
       
   334     const unsigned short DOMMUTATIONEVENT_MODIFICATION = 1;
       
   335     const unsigned short DOMMUTATIONEVENT_ADDITION     = 2;
       
   336     const unsigned short DOMMUTATIONEVENT_REMOVAL      = 3;
       
   337 
       
   338     //readonly attribute Node           relatedNode;
       
   339     HRESULT relatedNode([out, retval] IDOMNode** result);
       
   340 
       
   341     //readonly attribute DOMString      prevValue;
       
   342     HRESULT prevValue([out, retval] BSTR* result);
       
   343 
       
   344     //readonly attribute DOMString      newValue;
       
   345     HRESULT newValue([out, retval] BSTR* result);
       
   346 
       
   347     //readonly attribute DOMString      attrName;
       
   348     HRESULT attrName([out, retval] BSTR* result);
       
   349 
       
   350     //readonly attribute unsigned short attrChange;
       
   351     HRESULT attrChange([out, retval] unsigned short* result);
       
   352 
       
   353     //[OldStyleObjC] void initMutationEvent(in AtomicString type, 
       
   354     //                                      in boolean canBubble, 
       
   355     //                                      in boolean cancelable, 
       
   356     //                                      in Node relatedNode, 
       
   357     //                                      in DOMString prevValue, 
       
   358     //                                      in DOMString newValue, 
       
   359     //                                      in DOMString attrName, 
       
   360     //                                      in unsigned short attrChange);
       
   361     HRESULT initMutationEvent([in] BSTR type, [in] BOOL canBubble, [in] BOOL cancelable, [in] IDOMNode* relatedNode, [in] BSTR prevValue, [in] BSTR newValue, [in] BSTR attrName, [in] unsigned short attrChange);
       
   362 }
       
   363 
       
   364 [
       
   365     object,
       
   366     oleautomation,
       
   367     uuid(6048369e-e444-401b-950d-c9daef9384d2),
       
   368     pointer_default(unique)
       
   369 ]
       
   370 interface IDOMOverflowEvent : IDOMEvent
       
   371 {
       
   372     const unsigned short DOMOVERFLOWEVENT_HORIZONTAL = 0;
       
   373     const unsigned short DOMOVERFLOWEVENT_VERTICAL   = 1;
       
   374     const unsigned short DOMOVERFLOWEVENT_BOTH       = 2;
       
   375     
       
   376     //readonly attribute unsigned short orient;
       
   377     HRESULT orient([out, retval] unsigned short* result);
       
   378 
       
   379     //readonly attribute boolean horizontalOverflow;
       
   380     HRESULT horizontalOverflow([out, retval] BOOL* result);
       
   381 
       
   382     //readonly attribute boolean verticalOverflow;
       
   383     HRESULT verticalOverflow([out, retval] BOOL* result);
       
   384 }
       
   385 
       
   386 [
       
   387     object,
       
   388     oleautomation,
       
   389     uuid(b928261d-7c9e-4156-af71-6f698bd97788),
       
   390     pointer_default(unique)
       
   391 ]
       
   392 interface IDOMUIEvent : IDOMEvent
       
   393 {
       
   394     //readonly attribute DOMWindow            view;
       
   395     HRESULT view([out, retval] IDOMWindow** result);
       
   396 
       
   397     //readonly attribute long                 detail;
       
   398     HRESULT detail([out, retval] long* result);
       
   399 
       
   400     //[OldStyleObjC] void initUIEvent(in AtomicString type, 
       
   401     //                                in boolean canBubble, 
       
   402     //                                in boolean cancelable, 
       
   403     //                                in DOMWindow view, 
       
   404     //                                in long detail);
       
   405     HRESULT initUIEvent([in] BSTR type, [in] BOOL canBubble, [in] BOOL cancelable, [in] IDOMWindow* view, [in] long detail);
       
   406 
       
   407     // extentsions
       
   408     //readonly attribute long                 keyCode;
       
   409     HRESULT keyCode([out, retval] long* result);
       
   410 
       
   411     //readonly attribute long                 charCode;
       
   412     HRESULT charCode([out, retval] long* result);
       
   413 
       
   414     //readonly attribute long                 layerX;
       
   415     HRESULT layerX([out, retval] long* result);
       
   416 
       
   417     //readonly attribute long                 layerY;
       
   418     HRESULT layerY([out, retval] long* result);
       
   419 
       
   420     //readonly attribute long                 pageX;
       
   421     HRESULT pageX([out, retval] long* result);
       
   422 
       
   423     //readonly attribute long                 pageY;
       
   424     HRESULT pageY([out, retval] long* result);
       
   425 
       
   426     //readonly attribute long                 which;
       
   427     HRESULT which([out, retval] long* result);
       
   428 }
       
   429 
       
   430 [
       
   431     object,
       
   432     oleautomation,
       
   433     uuid(5404e6d9-a2bb-4c74-8070-ce9d2599bd00),
       
   434     pointer_default(unique)
       
   435 ]
       
   436 interface IDOMWheelEvent : IDOMUIEvent
       
   437 {
       
   438     //readonly attribute long    screenX;
       
   439     HRESULT screenX([out, retval] long* result);
       
   440 
       
   441     //readonly attribute long    screenY;
       
   442     HRESULT screenY([out, retval] long* result);
       
   443 
       
   444     //readonly attribute long    clientX;
       
   445     HRESULT clientX([out, retval] long* result);
       
   446 
       
   447     //readonly attribute long    clientY;
       
   448     HRESULT clientY([out, retval] long* result);
       
   449 
       
   450     //readonly attribute boolean ctrlKey;
       
   451     HRESULT ctrlKey([out, retval] BOOL* result);
       
   452 
       
   453     //readonly attribute boolean shiftKey;
       
   454     HRESULT shiftKey([out, retval] BOOL* result);
       
   455 
       
   456     //readonly attribute boolean altKey;
       
   457     HRESULT altKey([out, retval] BOOL* result);
       
   458 
       
   459     //readonly attribute boolean metaKey;
       
   460     HRESULT metaKey([out, retval] BOOL* result);
       
   461 
       
   462     //readonly attribute long    wheelDelta;
       
   463     HRESULT wheelDelta([out, retval] long* result);
       
   464 
       
   465     //readonly attribute long    wheelDeltaX;
       
   466     HRESULT wheelDeltaX([out, retval] long* result);
       
   467 
       
   468     //readonly attribute long    wheelDeltaY;
       
   469     HRESULT wheelDeltaY([out, retval] long* result);
       
   470 
       
   471     // WebKit Extensions
       
   472     //readonly attribute long    offsetX;
       
   473     HRESULT offsetX([out, retval] long* result);
       
   474 
       
   475     //readonly attribute long    offsetY;
       
   476     HRESULT offsetY([out, retval] long* result);
       
   477 
       
   478     //readonly attribute long    x;
       
   479     HRESULT x([out, retval] long* result);
       
   480 
       
   481     //readonly attribute long    y;
       
   482     HRESULT y([out, retval] long* result);
       
   483 
       
   484     //readonly attribute boolean isHorizontal;
       
   485     HRESULT isHorizontal([out, retval] BOOL* result);
       
   486 
       
   487     //void initWheelEvent(in long wheelDeltaX,
       
   488     //                    in long wheelDeltaY, 
       
   489     //                    in DOMWindow view, 
       
   490     //                    in long screenX,
       
   491     //                    in long screenY,
       
   492     //                    in long clientX,
       
   493     //                    in long clientY,
       
   494     //                    in boolean ctrlKey,
       
   495     //                    in boolean altKey,
       
   496     //                    in boolean shiftKey,
       
   497     //                    in boolean metaKey);
       
   498     HRESULT initWheelEvent([in] long wheelDeltaX, [in] long wheelDeltaY, [in] IDOMWindow* view, [in] long screenX, [in] long screenY, [in] long clientX, [in] long clientY, [in] BOOL ctrlKey, [in] BOOL altKey, [in] BOOL shiftKey, [in] BOOL metaKey);
       
   499 }