5 // Copyright (C) 2005, 2006, 2007, 2008, Apple Inc. All rights reserved.
8 #import <Foundation/Foundation.h>
9 #import <GraphicsServices/GSBase.h>
10 #import <JavaScriptCore/Platform.h>
13 @interface WAKResponder
: NSObject
18 - (void)handleEvent
:(GSEventRef
)event
;
20 - (void)scrollWheel
:(GSEventRef
)theEvent
;
21 - (BOOL
)tryToPerform
:(SEL
)anAction with
:(id
)anObject
;
22 - (void)mouseEntered
:(GSEventRef
)theEvent
;
23 - (void)mouseExited
:(GSEventRef
)theEvent
;
24 - (void)keyDown
:(GSEventRef
)event
;
25 - (void)keyUp
:(GSEventRef
)event
;
26 #if ENABLE(TOUCH_EVENTS)
27 - (void)touch
:(GSEventRef
)event
;
30 - (void)insertText
:(NSString
*)text
;
32 - (void)deleteBackward
:(id
)sender
;
33 - (void)deleteForward
:(id
)sender
;
34 - (void)insertParagraphSeparator
:(id
)sender
;
36 - (void)moveDown
:(id
)sender
;
37 - (void)moveDownAndModifySelection
:(id
)sender
;
38 - (void)moveLeft
:(id
)sender
;
39 - (void)moveLeftAndModifySelection
:(id
)sender
;
40 - (void)moveRight
:(id
)sender
;
41 - (void)moveRightAndModifySelection
:(id
)sender
;
42 - (void)moveUp
:(id
)sender
;
43 - (void)moveUpAndModifySelection
:(id
)sender
;
45 - (WAKResponder
*)nextResponder
;
46 - (BOOL
)acceptsFirstResponder
;
47 - (BOOL
)becomeFirstResponder
;
48 - (BOOL
)resignFirstResponder
;
50 - (void)mouseDragged
:(GSEventRef
)theEvent
;
51 - (void)mouseUp
:(GSEventRef
)theEvent
;
52 - (void)mouseDown
:(GSEventRef
)theEvent
;
53 - (void)mouseMoved
:(GSEventRef
)theEvent
;