summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/DOMKeyboardEvent.inc
blob: 95e1b46125b4ee6253555d67ac96af059166f1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ Parsed from WebKit.framework DOMKeyboardEvent.h }


{$ifdef TYPES}
type
  DOMKeyboardEventPtr = ^DOMKeyboardEvent;
{$endif}

{$ifdef TYPES}
const
  DOM_KEY_LOCATION_STANDARD = $00;
  DOM_KEY_LOCATION_LEFT = $01;
  DOM_KEY_LOCATION_RIGHT = $02;
  DOM_KEY_LOCATION_NUMPAD = $03;
{$endif}

{$ifdef CLASSES}

type
  DOMKeyboardEvent = objcclass external (DOMUIEvent)
  public
    function keyIdentifier: NSString; message 'keyIdentifier';
    function location: cuint; message 'location';
    function keyLocation: cuint; message 'keyLocation';
    function ctrlKey: ObjCBOOL; message 'ctrlKey';
    function shiftKey: ObjCBOOL; message 'shiftKey';
    function altKey: ObjCBOOL; message 'altKey';
    function metaKey: ObjCBOOL; message 'metaKey';
    function altGraphKey: ObjCBOOL; message 'altGraphKey';
    function keyCode: cint; message 'keyCode';
    function charCode: cint; message 'charCode';
    function getModifierState (keyIdentifierArg: NSString): ObjCBOOL; message 'getModifierState:';
    procedure initKeyboardEvent_canBubble_cancelable_view_keyIdentifier_location_ctrlKey_altKey_shiftKey_metaKey_altGraphKey (type_: NSString; canBubble: ObjCBOOL; cancelable_: ObjCBOOL; view_: DOMAbstractView; keyIdentifier_: NSString; location_: cuint; ctrlKey_: ObjCBOOL; altKey_: ObjCBOOL; shiftKey_: ObjCBOOL; metaKey_: ObjCBOOL; altGraphKey_: ObjCBOOL); message 'initKeyboardEvent:canBubble:cancelable:view:keyIdentifier:location:ctrlKey:altKey:shiftKey:metaKey:altGraphKey:'; { available in 10_8 }
    procedure initKeyboardEvent_canBubble_cancelable_view_keyIdentifier_location_ctrlKey_altKey_shiftKey_metaKey (type_: NSString; canBubble: ObjCBOOL; cancelable_: ObjCBOOL; view_: DOMAbstractView; keyIdentifier_: NSString; location_: cuint; ctrlKey_: ObjCBOOL; altKey_: ObjCBOOL; shiftKey_: ObjCBOOL; metaKey_: ObjCBOOL); message 'initKeyboardEvent:canBubble:cancelable:view:keyIdentifier:location:ctrlKey:altKey:shiftKey:metaKey:'; { available in 10_8 }
    procedure initKeyboardEvent_canBubble_cancelable_view_keyIdentifier_keyLocation_ctrlKey_altKey_shiftKey_metaKey_altGraphKey (type_: NSString; canBubble: ObjCBOOL; cancelable_: ObjCBOOL; view_: DOMAbstractView; keyIdentifier_: NSString; keyLocation_: cuint; ctrlKey_: ObjCBOOL; altKey_: ObjCBOOL; shiftKey_: ObjCBOOL; metaKey_: ObjCBOOL; altGraphKey_: ObjCBOOL); message 'initKeyboardEvent:canBubble:cancelable:view:keyIdentifier:keyLocation:ctrlKey:altKey:shiftKey:metaKey:altGraphKey:'; deprecated 'in 10_5, 10_5';
    procedure initKeyboardEvent_canBubble_cancelable_view_keyIdentifier_keyLocation_ctrlKey_altKey_shiftKey_metaKey (type_: NSString; canBubble: ObjCBOOL; cancelable_: ObjCBOOL; view_: DOMAbstractView; keyIdentifier_: NSString; keyLocation_: cuint; ctrlKey_: ObjCBOOL; altKey_: ObjCBOOL; shiftKey_: ObjCBOOL; metaKey_: ObjCBOOL); message 'initKeyboardEvent:canBubble:cancelable:view:keyIdentifier:keyLocation:ctrlKey:altKey:shiftKey:metaKey:'; deprecated 'in 10_5, 10_5';
  end;
{$endif}