]> git.saurik.com Git - iphone-api.git/blob - UIKit/UIWebDocumentView.h
Added some SpringBoardServices work from ashikase.
[iphone-api.git] / UIKit / UIWebDocumentView.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import <UIKit/UITiledView.h>
8
9 #import "UIKeyboardInput-Protocol.h"
10 #import "UIModalViewDelegate-Protocol.h"
11
12 @class CALayer, DOMHTMLElement, DOMNode, DOMNode, NSMutableArray, NSTimer, UIAutoscrollTimer, UIInformalDelegate, UIModalView, UITextInputTraits, UITextLoupe, UIView, WebPDFView, WebView;
13 @protocol UIFormControl;
14
15 @interface UIWebDocumentView : UITiledView <UIKeyboardInput, UIModalViewDelegate>
16 {
17 struct WKWindow *_window;
18 WebView *_webView;
19 id m_parentTextView;
20 id _delegate;
21 id _textSuggestionDelegate;
22 id _editingDelegate;
23 float _doubleTapDelay;
24 struct CGRect _doubleTapRect;
25 struct CGRect _mainDocumentDoubleTapRect;
26 struct CGPoint _scrollPoint;
27 struct CGPoint _doubleTapStartPosition;
28 double _doubleTapStartTime;
29 struct CGSize _pendingSize;
30 int _orientation;
31 UITextLoupe *_textLoupe;
32 DOMHTMLElement *_standaloneEditingElement;
33 struct CGPoint _mouseDownPoint;
34 double _mouseDownTime;
35 UIAutoscrollTimer *_autoscrollTimer;
36 struct __CFDictionary *_plugInViews;
37 CALayer *_contentLayersHostingLayer;
38 UITextInputTraits *_traits;
39 struct {
40 NSMutableArray *all;
41 NSMutableArray *html;
42 NSMutableArray *javascript;
43 NSMutableArray *css;
44 NSMutableArray *error;
45 NSMutableArray *warning;
46 NSMutableArray *tip;
47 NSMutableArray *log;
48 } _messages;
49 struct {
50 char isEdited;
51 char isTransitioning;
52 char allowsUnapprovedFocus;
53 char zoomsFocusedFormControl;
54 struct CGRect cachedBoundingBox;
55 DOMNode<UIFormControl> *element;
56 UIInformalDelegate *delegate;
57 } _forms;
58 struct {
59 NSTimer *timer;
60 struct CGPoint location;
61 char isBlocked;
62 char isCancelled;
63 char isOnWebThread;
64 char isDisplayingHighlight;
65 char attemptedClick;
66 char isGestureScrolling;
67 struct CGPoint gestureScrollPoint;
68 struct CGPoint gestureCurrentPoint;
69 char hasAttemptedGestureScrolling;
70 UIView *candidate;
71 char forwardingGuard;
72 SEL mouseUpForwarder;
73 SEL mouseDraggedForwarder;
74 DOMNode *element;
75 UIInformalDelegate *delegate;
76 UIModalView *imageSheet;
77 char allowsImageSheet;
78 struct {
79 char active;
80 char defaultPrevented;
81 NSMutableArray *regions;
82 } directEvents;
83 } _interaction;
84 struct {
85 WebPDFView *view;
86 NSTimer *timer;
87 } _pdf;
88 struct {
89 struct CGSize size;
90 float initialScale;
91 float minimumScale;
92 float maximumScale;
93 char allowsUserScaling;
94 } _viewportConfigurations[6];
95 struct CGSize _minimumSize;
96 int _documentType;
97 float _documentScale;
98 struct CGRect _documentBounds;
99 int _enabledGestures;
100 unsigned int _customConfigurations;
101 unsigned int _webCoreNeedsSetNeedsDisplay:1;
102 unsigned int _webCoreNeedsDraw:1;
103 unsigned int _mouseDownCount;
104 unsigned int _ignoresFocusingMouse:1;
105 unsigned int _ignoresKeyEvents:1;
106 unsigned int _autoresizes:1;
107 unsigned int _scalesToFit:1;
108 unsigned int _hasCustomScale:1;
109 unsigned int _userScrolled:1;
110 unsigned int _pageNeedsReset:1;
111 unsigned int _hasScrollPoint:1;
112 unsigned int _setNeedsDisplayWasForced:1;
113 unsigned int _gesturesDisabled:1;
114 unsigned int _doubleTapRectIsReplaced:1;
115 unsigned int _standaloneEditableView:1;
116 unsigned int _isFieldEditor:1;
117 unsigned int _widgetEditingView:1;
118 unsigned int _mouseDragged:1;
119 unsigned int _textLoupeActive:1;
120 unsigned int _mouseReentrancyGuard:1;
121 unsigned int _smoothsFonts:1;
122 unsigned int _isShowingFullScreenPlugIn:1;
123 unsigned int _isSettingRedrawFrame:1;
124 unsigned int _needsScrollNotifications:1;
125 unsigned int _loadsSynchronously:1;
126 unsigned int _detectsPhoneNumbers:1;
127 unsigned int _respectsBackgroundColorAlpha:1;
128 }
129
130 + (Class)layerClass;
131 - (id)_doubleTapSpeedFromDefaults;
132 - (void)_restoreViewportSettingsWithSize:(struct CGSize)fp8;
133 - (id)initWithFrame:(struct CGRect)fp8;
134 - (void)dealloc;
135 - (void)release;
136 - (void)stopLoading:(id)fp8;
137 - (void)setDelegate:(id)fp8;
138 - (void)loadRequest:(id)fp8;
139 - (void)loadHTMLString:(id)fp8 baseURL:(id)fp12;
140 - (void)loadData:(id)fp8 MIMEType:(id)fp12 textEncodingName:(id)fp16 baseURL:(id)fp20;
141 - (void)setLoadsSynchronously:(BOOL)fp8;
142 - (BOOL)loadsSynchronously;
143 - (id)webView;
144 - (void)setUserStyleSheet:(id)fp8;
145 - (void)setDetectsPhoneNumbers:(BOOL)fp8;
146 - (BOOL)detectsPhoneNumbers;
147 - (void)setRespectsBackgroundColorAlpha:(BOOL)fp8;
148 - (BOOL)respectsBackgroundColorAlpha;
149 - (void)setFrame:(struct CGRect)fp8;
150 - (float)integralScaleForScale:(float)fp8;
151 - (void)_setDocumentScale:(float)fp8;
152 - (float)viewportWidth;
153 - (float)viewportHeight;
154 - (float)minimumScaleForMinimumSize:(struct CGSize)fp8;
155 - (float)initialScale;
156 - (float)minimumScale;
157 - (void)viewportConfigurationsDidChange:(unsigned int)fp8;
158 - (void)_setDocumentType:(int)fp8 overrideCustomConfigurations:(BOOL)fp12;
159 - (void)_setDocumentType:(int)fp8;
160 - (void)_updateSize;
161 - (void)_clearDoubleTapRect;
162 - (void)webView:(id)fp8 didReceiveViewportArguments:(id)fp12 forFrame:(id)fp16;
163 - (void)webView:(id)fp8 needsScrollNotifications:(id)fp12 forFrame:(id)fp16;
164 - (BOOL)needsScrollNotifications;
165 - (void)enclosingScrollerDidScroll;
166 - (void)webView:(id)fp8 didFinishLoadForFrame:(id)fp12;
167 - (void)webView:(id)fp8 didCommitLoadForFrame:(id)fp12;
168 - (void)webView:(id)fp8 didReceiveDocTypeForFrame:(id)fp12;
169 - (void)_WAKViewSizeDidChange:(id)fp8;
170 - (void)setEnabledGestures:(int)fp8;
171 - (int)enabledGestures;
172 - (struct CGRect)documentBounds;
173 - (void)setAutoresizes:(BOOL)fp8;
174 - (void)setMinimumSize:(struct CGSize)fp8;
175 - (void)setViewportSize:(struct CGSize)fp8 forDocumentTypes:(int)fp16;
176 - (void)setInitialScale:(float)fp8 forDocumentTypes:(int)fp12;
177 - (void)setMinimumScale:(float)fp8 forDocumentTypes:(int)fp12;
178 - (void)setMaximumScale:(float)fp8 forDocumentTypes:(int)fp12;
179 - (void)setAllowsUserScaling:(BOOL)fp8 forDocumentTypes:(int)fp12;
180 - (BOOL)_updatesScroller;
181 - (void)_setScrollerOffset:(struct CGPoint)fp8;
182 - (void)_restoreScrollPointForce:(BOOL)fp8;
183 - (void)_resetForNewPage;
184 - (void)webView:(id)fp8 saveStateToHistoryItem:(id)fp12 forFrame:(id)fp16;
185 - (void)webView:(id)fp8 restoreStateFromHistoryItem:(id)fp12 forFrame:(id)fp16 force:(BOOL)fp20;
186 - (BOOL)webView:(id)fp8 shouldScrollToPoint:(struct CGPoint)fp12 forFrame:(id)fp20;
187 - (struct CGPoint)contentsPointForWebView:(id)fp8;
188 - (struct CGRect)documentVisibleRectForWebView:(id)fp8;
189 - (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
190 - (BOOL)tileDrawingEnabled;
191 - (void)_webCoreNeedsDisplay;
192 - (void)flushDirtyRects;
193 - (void)forceLayout;
194 - (void)layoutSubviews;
195 - (void)setNeedsDisplayInRect:(struct CGRect)fp8;
196 - (void)setNeedsDisplay;
197 - (void)layoutBeforeDraw;
198 - (void)drawRect:(struct CGRect)fp8;
199 - (void)setSmoothsFonts:(BOOL)fp8;
200 - (void)setDrawsBackground:(BOOL)fp8;
201 - (BOOL)cancelMouseTracking;
202 - (BOOL)cancelTouchTracking;
203 - (void)setIgnoresFocusingMouse:(BOOL)fp8;
204 - (void)setIgnoresKeyEvents:(BOOL)fp8;
205 - (void)_didScroll;
206 - (void)_sendInternalEvent:(struct __GSEvent *)fp8;
207 - (struct CGPoint)_viewportLocationForEvent:(struct __GSEvent *)fp8;
208 - (BOOL)_isSubviewOfPlugInView:(id)fp8;
209 - (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
210 - (void)clickAfterDelay:(float)fp8;
211 - (void)setDoubleTapDelay:(float)fp8;
212 - (float)doubleTapDelay;
213 - (void)keyUp:(struct __GSEvent *)fp8;
214 - (void)keyDown:(struct __GSEvent *)fp8;
215 - (void)gestureStarted:(struct __GSEvent *)fp8;
216 - (void)gestureChanged:(struct __GSEvent *)fp8;
217 - (void)gestureEnded:(struct __GSEvent *)fp8;
218 - (void)_notifyPlugInViewsOfScaleChange;
219 - (void)_notifyContentHostingLayersOfScaleChange;
220 - (id)contentsHostingLayerForWebView:(id)fp8;
221 - (void)zoomToScale:(float)fp8;
222 - (void)_reshapePlugInViews;
223 - (void)redrawScaledDocument;
224 - (void)setOrientation:(int)fp8;
225 - (struct CGPoint)_centeredScrollPointForPoint:(struct CGPoint)fp8 scale:(float)fp16;
226 - (struct CGPoint)_doubleTapScrollPointForRect:(struct CGRect)fp8 scale:(float)fp24 event:(struct __GSEvent *)fp28;
227 - (float)_doubleTapScaleForSize:(float)fp8 isWidth:(BOOL)fp12;
228 - (BOOL)_doubleTapZoomToRect:(struct CGRect)fp8 scale:(float)fp24 fromEvent:(struct __GSEvent *)fp28;
229 - (void)doubleTap:(struct __GSEvent *)fp8;
230 - (struct CGRect)doubleTapRect;
231 - (BOOL)doubleTapRectIsReplaced;
232 - (void)setIsStandaloneEditableView:(BOOL)fp8;
233 - (BOOL)isStandaloneEditableView;
234 - (void)setStandaloneEditingElement:(id)fp8;
235 - (id)standaloneEditingElement;
236 - (void)setIsWidgetEditingView:(BOOL)fp8;
237 - (BOOL)isWidgetEditingView;
238 - (BOOL)updateKeyboardStateOnResponderChanges;
239 - (BOOL)canBecomeFirstResponder;
240 - (BOOL)canResignFirstResponder;
241 - (BOOL)becomeFirstResponder;
242 - (BOOL)resignFirstResponder;
243 - (id)_responderForBecomeFirstResponder;
244 - (BOOL)makeWKFirstResponder;
245 - (void)ensureSelection;
246 - (id)_parentTextView;
247 - (void)_setParentTextView:(id)fp8;
248 - (BOOL)isFieldEditor;
249 - (BOOL)_editable;
250 - (void)_setEditable:(BOOL)fp8;
251 - (id)delegate;
252 - (void)deleteBackward;
253 - (void)insertText:(id)fp8;
254 - (void)replaceCurrentWordWithText:(id)fp8;
255 - (void)clearPlaceholder;
256 - (void)setupPlaceholderTextIfNeeded;
257 - (void)setMarkedText:(id)fp8;
258 - (void)confirmMarkedText:(id)fp8;
259 - (id)markedText;
260 - (unsigned short)characterInRelationToCaretSelection:(int)fp8;
261 - (unsigned short)characterBeforeCaretSelection;
262 - (unsigned short)characterAfterCaretSelection;
263 - (id)fontForCaretSelection;
264 - (id)textColorForCaretSelection;
265 - (struct CGRect)autocorrectionRect;
266 - (struct CGRect)rectForNSRange:(struct _NSRange)fp8;
267 - (struct CGRect)rectContainingCaretSelection;
268 - (id)wordRangeContainingCaretSelection;
269 - (id)wordContainingCaretSelection;
270 - (id)wordInRange:(id)fp8;
271 - (void)expandSelectionToStartOfWordContainingCaretSelection;
272 - (int)wordOffsetInRange:(id)fp8;
273 - (BOOL)spaceFollowsWordInRange:(id)fp8;
274 - (id)previousNGrams:(unsigned int)fp8;
275 - (struct _NSRange)selectionRange;
276 - (id)selectedDOMRange;
277 - (void)setSelectedDOMRange:(id)fp8 affinityDownstream:(BOOL)fp12;
278 - (id)rangeByMovingCurrentSelection:(int)fp8;
279 - (id)rangeByExtendingCurrentSelection:(int)fp8;
280 - (BOOL)hasSelection;
281 - (BOOL)selectionAtDocumentStart;
282 - (BOOL)selectionAtSentenceStart;
283 - (BOOL)selectionAtWordStart;
284 - (BOOL)rangeAtSentenceStart:(id)fp8;
285 - (void)markCurrentWordForAutoCorrection:(id)fp8 correction:(id)fp12;
286 - (void)moveBackward:(unsigned int)fp8;
287 - (void)moveForward:(unsigned int)fp8;
288 - (void)selectAll;
289 - (void)setText:(id)fp8;
290 - (id)text;
291 - (BOOL)hasText;
292 - (void)updateSelectionWithPoint:(struct CGPoint)fp8;
293 - (void)setCaretChangeListener:(id)fp8;
294 - (struct CGRect)caretRect;
295 - (struct CGRect)convertCaretRect:(struct CGRect)fp8;
296 - (id)keyboardInputView;
297 - (BOOL)isShowingPlaceholder;
298 - (id)implementationWebView;
299 - (BOOL)keyboardInput:(id)fp8 shouldReplaceTextInRange:(struct _NSRange)fp12 replacementText:(id)fp20;
300 - (BOOL)keyboardInput:(id)fp8 shouldInsertText:(id)fp12 isMarkedText:(BOOL)fp16;
301 - (BOOL)keyboardInputShouldDelete:(id)fp8;
302 - (BOOL)keyboardInputChanged:(id)fp8;
303 - (void)keyboardInputChangedSelection:(id)fp8;
304 - (id)keyboardInputOverlayContainer:(id)fp8;
305 - (id)automaticallySelectedOverlay;
306 - (void)setBottomBufferHeight:(float)fp8;
307 - (int)keyboardInput:(id)fp8 positionForAutocorrection:(id)fp12;
308 - (BOOL)isProxyFor:(id)fp8;
309 - (BOOL)requiresKeyEvents;
310 - (void)handleKeyEvent:(struct __GSEvent *)fp8;
311 - (void)setWKWindowIsSuspendedWindow:(BOOL)fp8;
312 - (id)webView:(id)fp8 plugInViewWithArguments:(id)fp12 fromPlugInPackage:(id)fp16;
313 - (void)webView:(id)fp8 willShowFullScreenForPlugInView:(id)fp12;
314 - (void)webView:(id)fp8 didHideFullScreenForPlugInView:(id)fp12;
315 - (void)didRemovePlugInView:(id)fp8;
316 - (BOOL)isShowingFullScreenPlugInUI;
317 - (id)textInputTraits;
318 - (void)forwardInvocation:(id)fp8;
319 - (id)methodSignatureForSelector:(SEL)fp8;
320 - (void)takeTraitsFrom:(id)fp8;
321
322 @end
323