WebKit:
[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
21 // Modifier (flagsChanged) tracking SPI
22 + (void)_postFlagsChangedEvent:(NSEvent *)flagsChangedEvent;
23 - (void)_updateMouseoverWithFakeEvent;
24
25 - (void)_setAsideSubviews;
26 - (void)_restoreSubviews;
27
28 - (BOOL)_insideAnotherHTMLView;
29 - (void)_clearLastHitViewIfSelf;
30 - (void)_updateMouseoverWithEvent:(NSEvent *)event;
31
32 + (NSArray *)_insertablePasteboardTypes;
33 + (NSArray *)_selectionPasteboardTypes;
34 - (void)_writeSelectionToPasteboard:(NSPasteboard *)pasteboard;
35 - (WebArchive *)_selectedArchive;
36
37 - (void)_frameOrBoundsChanged;
38
39 - (NSImage *)_dragImageForLinkElement:(NSDictionary *)element;
40 - (BOOL)_startDraggingImage:(NSImage *)dragImage at:(NSPoint)dragLoc operation:(NSDragOperation)op event:(NSEvent *)event sourceIsDHTML:(BOOL)flag DHTMLWroteData:(BOOL)dhtmlWroteData;
41 - (void)_handleAutoscrollForMouseDragged:(NSEvent *)event;
42 - (BOOL)_mayStartDragAtEventLocation:(NSPoint)location;
43
44 - (WebPluginController *)_pluginController;
45
46 - (NSRect)_selectionRect;
47
48 - (void)_startAutoscrollTimer:(NSEvent *)event;
49 - (void)_stopAutoscrollTimer;
50
51 - (BOOL)_canCopy;
52 - (BOOL)_canCut;
53 - (BOOL)_canDelete;
54 - (BOOL)_canPaste;
55 - (BOOL)_canEdit;
56 - (BOOL)_hasSelection;
57 - (BOOL)_hasSelectionOrInsertionPoint;
58 - (BOOL)_isEditable;
59
60 - (BOOL)_isSelectionMisspelled;
61 - (NSArray *)_guessesForMisspelledSelection;
62
63 - (BOOL)_transparentBackground;
64 - (void)_setTransparentBackground:(BOOL)f;
65
66 @end