]> git.saurik.com Git - iphone-api.git/blob - WebCore/WAKResponder.h
Add support for new WinterBoard Settings features.
[iphone-api.git] / WebCore / WAKResponder.h
1 //
2 // WAKResponder.h
3 // WebCore
4 //
5 // Copyright (C) 2005, 2006, 2007, 2008, Apple Inc. All rights reserved.
6 //
7
8 #import <Foundation/Foundation.h>
9 #import <GraphicsServices/GSBase.h>
10 #import <JavaScriptCore/Platform.h>
11 #import "WKTypes.h"
12
13 @interface WAKResponder : NSObject
14 {
15
16 }
17
18 - (void)handleEvent:(GSEventRef)event;
19
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;
28 #endif
29
30 - (void)insertText:(NSString *)text;
31
32 - (void)deleteBackward:(id)sender;
33 - (void)deleteForward:(id)sender;
34 - (void)insertParagraphSeparator:(id)sender;
35
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;
44
45 - (WAKResponder *)nextResponder;
46 - (BOOL)acceptsFirstResponder;
47 - (BOOL)becomeFirstResponder;
48 - (BOOL)resignFirstResponder;
49
50 - (void)mouseDragged:(GSEventRef)theEvent;
51 - (void)mouseUp:(GSEventRef)theEvent;
52 - (void)mouseDown:(GSEventRef)theEvent;
53 - (void)mouseMoved:(GSEventRef)theEvent;
54
55 @end