b5ffbde27078fe5dfb91ea707d83ef30327bc678
[WebKit-https.git] / WebKit / WebView.subproj / WebHTMLViewPrivate.h
1 /*      WebHTMLViewPrivate.h
2         Copyright 2002, Apple, Inc. All rights reserved.
3         
4         Private header file.
5 */
6
7 #import <WebKit/WebHTMLView.h>
8
9 @class DOMDocumentFragment;
10 @class DOMRange;
11 @class WebArchive;
12 @class WebBridge;
13 @class WebView;
14 @class WebFrame;
15 @class WebPluginController;
16
17 @interface WebHTMLView (WebPrivate)
18
19 - (void)_reset;
20 - (WebView *)_webView;
21 - (WebFrame *)_frame;
22 - (WebBridge *)_bridge;
23 - (WebDataSource *)_dataSource;
24
25 // Modifier (flagsChanged) tracking SPI
26 + (void)_postFlagsChangedEvent:(NSEvent *)flagsChangedEvent;
27 - (void)_updateMouseoverWithFakeEvent;
28
29 - (void)_setAsideSubviews;
30 - (void)_restoreSubviews;
31
32 - (BOOL)_insideAnotherHTMLView;
33 - (void)_clearLastHitViewIfSelf;
34 - (void)_updateMouseoverWithEvent:(NSEvent *)event;
35
36 + (NSArray *)_insertablePasteboardTypes;
37 + (NSArray *)_selectionPasteboardTypes;
38 - (void)_writeSelectionToPasteboard:(NSPasteboard *)pasteboard;
39 - (WebArchive *)_selectedArchive;
40
41 - (void)_frameOrBoundsChanged;
42
43 - (NSImage *)_dragImageForLinkElement:(NSDictionary *)element;
44 - (BOOL)_startDraggingImage:(NSImage *)dragImage at:(NSPoint)dragLoc operation:(NSDragOperation)op event:(NSEvent *)event sourceIsDHTML:(BOOL)flag DHTMLWroteData:(BOOL)dhtmlWroteData;
45 - (void)_handleAutoscrollForMouseDragged:(NSEvent *)event;
46 - (BOOL)_mayStartDragAtEventLocation:(NSPoint)location;
47
48 - (WebPluginController *)_pluginController;
49
50 - (NSRect)_selectionRect;
51
52 - (void)_startAutoscrollTimer:(NSEvent *)event;
53 - (void)_stopAutoscrollTimer;
54
55 - (BOOL)_canCopy;
56 - (BOOL)_canCut;
57 - (BOOL)_canDelete;
58 - (BOOL)_canPaste;
59 - (BOOL)_canType;
60 - (BOOL)_hasSelection;
61 - (BOOL)_hasSelectionOrInsertionPoint;
62 - (BOOL)_isEditable;
63
64 - (BOOL)_isSelectionMisspelled;
65 - (NSArray *)_guessesForMisspelledSelection;
66
67 @end