WebCore/dom/TransformActionEvent.idl
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 /*
       
     2     Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
       
     3 
       
     4     This library is free software; you can redistribute it and/or
       
     5     modify it under the terms of the GNU Library General Public
       
     6     License as published by the Free Software Foundation; either
       
     7     version 2 of the License, or (at your option) any later version.
       
     8 
       
     9     This library is distributed in the hope that it will be useful,
       
    10     but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    12     Library General Public License for more details.
       
    13 
       
    14     You should have received a copy of the GNU Library General Public License
       
    15     along with this library; see the file COPYING.LIB.  If not, write to
       
    16     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
       
    17     Boston, MA 02110-1301, USA.
       
    18 */
       
    19 
       
    20 module events {
       
    21 
       
    22     interface [
       
    23         Conditional=TRANSFORMACTION_EVENTS
       
    24     ] TransformActionEvent : UIEvent {
       
    25         readonly attribute long screenX;
       
    26         readonly attribute long screenY;
       
    27         readonly attribute long clientX;
       
    28         readonly attribute long clientY;
       
    29         readonly attribute long offsetX;
       
    30         readonly attribute long offsetY;
       
    31         readonly attribute boolean ctrlKey;
       
    32         readonly attribute boolean altKey;
       
    33         readonly attribute boolean shiftKey;
       
    34         readonly attribute boolean metaKey;
       
    35 
       
    36         readonly attribute long translateX;
       
    37         readonly attribute long translateY;
       
    38         readonly attribute long translateSpeedX;
       
    39         readonly attribute long translateSpeedY;
       
    40         readonly attribute float scale;
       
    41         readonly attribute float scaleSpeed;
       
    42         readonly attribute float rotate;
       
    43         readonly attribute float rotateSpeed;
       
    44 
       
    45         void initTransformActionEvent(in DOMString type,
       
    46                                       in boolean canBubble,
       
    47                                       in boolean cancelable,
       
    48                                       in DOMWindow view,
       
    49                                       in long screenX,
       
    50                                       in long screenY,
       
    51                                       in long clientX,
       
    52                                       in long clientY,
       
    53                                       in boolean ctrlKey,
       
    54                                       in boolean altKey,
       
    55                                       in boolean shiftKey,
       
    56                                       in boolean metaKey,
       
    57                                       in long translateX,
       
    58                                       in long translateY,
       
    59                                       in long translateSpeedX,
       
    60                                       in long translateSpeedY,
       
    61                                       in float scale,
       
    62                                       in float scaleSpeed,
       
    63                                       in float rotate,
       
    64                                       in float rotateSpeed);
       
    65    };
       
    66 }