]> git.saurik.com Git - iphone-api.git/blob - UIKit/UIWebDocumentView.h
Here we go again: this time with SBIcon setAlpha.
[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 #if 1 // iPhoneOS 3.x
135 - (void)enableReachability;
136 #endif
137 - (void)dealloc;
138 - (void)release;
139 - (void)stopLoading:(id)fp8;
140 - (void)setDelegate:(id)fp8;
141 - (void)loadRequest:(id)fp8;
142 - (void)loadHTMLString:(id)fp8 baseURL:(id)fp12;
143 - (void)loadData:(id)fp8 MIMEType:(id)fp12 textEncodingName:(id)fp16 baseURL:(id)fp20;
144 - (void)setLoadsSynchronously:(BOOL)fp8;
145 - (BOOL)loadsSynchronously;
146 - (id)webView;
147 - (void)setUserStyleSheet:(id)fp8;
148 - (void)setDetectsPhoneNumbers:(BOOL)fp8;
149 - (BOOL)detectsPhoneNumbers;
150 #if 1 // iPhoneOS 3.x
151 - (void)setDataDetectorTypes:(unsigned int)fp8;
152 - (unsigned int)dataDetectorTypes;
153 #endif
154 - (void)setRespectsBackgroundColorAlpha:(BOOL)fp8;
155 - (BOOL)respectsBackgroundColorAlpha;
156 - (void)setFrame:(struct CGRect)fp8;
157 - (float)integralScaleForScale:(float)fp8;
158 - (void)_setDocumentScale:(float)fp8;
159 - (float)viewportWidth;
160 - (float)viewportHeight;
161 - (float)minimumScaleForMinimumSize:(struct CGSize)fp8;
162 - (float)initialScale;
163 - (float)minimumScale;
164 - (void)viewportConfigurationsDidChange:(unsigned int)fp8;
165 - (void)_setDocumentType:(int)fp8 overrideCustomConfigurations:(BOOL)fp12;
166 - (void)_setDocumentType:(int)fp8;
167 - (void)_updateSize;
168 - (void)_clearDoubleTapRect;
169 - (void)webView:(id)fp8 didReceiveViewportArguments:(id)fp12 forFrame:(id)fp16;
170 - (void)webView:(id)fp8 needsScrollNotifications:(id)fp12 forFrame:(id)fp16;
171 - (BOOL)needsScrollNotifications;
172 - (void)enclosingScrollerDidScroll;
173 - (void)webView:(id)fp8 didFinishLoadForFrame:(id)fp12;
174 - (void)webView:(id)fp8 didCommitLoadForFrame:(id)fp12;
175 - (void)webView:(id)fp8 didReceiveDocTypeForFrame:(id)fp12;
176 - (void)_WAKViewSizeDidChange:(id)fp8;
177 - (void)setEnabledGestures:(int)fp8;
178 - (int)enabledGestures;
179 - (struct CGRect)documentBounds;
180 - (void)setAutoresizes:(BOOL)fp8;
181 - (void)setMinimumSize:(struct CGSize)fp8;
182 - (void)setViewportSize:(struct CGSize)fp8 forDocumentTypes:(int)fp16;
183 - (void)setInitialScale:(float)fp8 forDocumentTypes:(int)fp12;
184 - (void)setMinimumScale:(float)fp8 forDocumentTypes:(int)fp12;
185 - (void)setMaximumScale:(float)fp8 forDocumentTypes:(int)fp12;
186 - (void)setAllowsUserScaling:(BOOL)fp8 forDocumentTypes:(int)fp12;
187 - (BOOL)_updatesScroller;
188 - (void)_setScrollerOffset:(struct CGPoint)fp8;
189 - (void)_restoreScrollPointForce:(BOOL)fp8;
190 - (void)_resetForNewPage;
191 - (void)webView:(id)fp8 saveStateToHistoryItem:(id)fp12 forFrame:(id)fp16;
192 - (void)webView:(id)fp8 restoreStateFromHistoryItem:(id)fp12 forFrame:(id)fp16 force:(BOOL)fp20;
193 - (BOOL)webView:(id)fp8 shouldScrollToPoint:(struct CGPoint)fp12 forFrame:(id)fp20;
194 - (struct CGPoint)contentsPointForWebView:(id)fp8;
195 - (struct CGRect)documentVisibleRectForWebView:(id)fp8;
196 - (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
197 - (BOOL)tileDrawingEnabled;
198 - (void)_webCoreNeedsDisplay;
199 - (void)flushDirtyRects;
200 - (void)forceLayout;
201 - (void)layoutSubviews;
202 - (void)setNeedsDisplayInRect:(struct CGRect)fp8;
203 - (void)setNeedsDisplay;
204 - (void)layoutBeforeDraw;
205 - (void)drawRect:(struct CGRect)fp8;
206 - (void)setSmoothsFonts:(BOOL)fp8;
207 - (void)setDrawsBackground:(BOOL)fp8;
208 - (BOOL)cancelMouseTracking;
209 - (BOOL)cancelTouchTracking;
210 - (void)setIgnoresFocusingMouse:(BOOL)fp8;
211 - (void)setIgnoresKeyEvents:(BOOL)fp8;
212 - (void)_didScroll;
213 - (void)_sendInternalEvent:(struct __GSEvent *)fp8;
214 - (struct CGPoint)_viewportLocationForEvent:(struct __GSEvent *)fp8;
215 - (BOOL)_isSubviewOfPlugInView:(id)fp8;
216 - (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
217 - (void)clickAfterDelay:(float)fp8;
218 - (void)setDoubleTapDelay:(float)fp8;
219 - (float)doubleTapDelay;
220 - (void)keyUp:(struct __GSEvent *)fp8;
221 - (void)keyDown:(struct __GSEvent *)fp8;
222 - (void)gestureStarted:(struct __GSEvent *)fp8;
223 - (void)gestureChanged:(struct __GSEvent *)fp8;
224 - (void)gestureEnded:(struct __GSEvent *)fp8;
225 - (void)_notifyPlugInViewsOfScaleChange;
226 - (void)_notifyContentHostingLayersOfScaleChange;
227 - (id)contentsHostingLayerForWebView:(id)fp8;
228 - (void)zoomToScale:(float)fp8;
229 - (void)_reshapePlugInViews;
230 - (void)redrawScaledDocument;
231 - (void)setOrientation:(int)fp8;
232 - (struct CGPoint)_centeredScrollPointForPoint:(struct CGPoint)fp8 scale:(float)fp16;
233 - (struct CGPoint)_doubleTapScrollPointForRect:(struct CGRect)fp8 scale:(float)fp24 event:(struct __GSEvent *)fp28;
234 - (float)_doubleTapScaleForSize:(float)fp8 isWidth:(BOOL)fp12;
235 - (BOOL)_doubleTapZoomToRect:(struct CGRect)fp8 scale:(float)fp24 fromEvent:(struct __GSEvent *)fp28;
236 - (void)doubleTap:(struct __GSEvent *)fp8;
237 - (struct CGRect)doubleTapRect;
238 - (BOOL)doubleTapRectIsReplaced;
239 - (void)setIsStandaloneEditableView:(BOOL)fp8;
240 - (BOOL)isStandaloneEditableView;
241 - (void)setStandaloneEditingElement:(id)fp8;
242 - (id)standaloneEditingElement;
243 - (void)setIsWidgetEditingView:(BOOL)fp8;
244 - (BOOL)isWidgetEditingView;
245 - (BOOL)updateKeyboardStateOnResponderChanges;
246 - (BOOL)canBecomeFirstResponder;
247 - (BOOL)canResignFirstResponder;
248 - (BOOL)becomeFirstResponder;
249 - (BOOL)resignFirstResponder;
250 - (id)_responderForBecomeFirstResponder;
251 - (BOOL)makeWKFirstResponder;
252 - (void)ensureSelection;
253 - (id)_parentTextView;
254 - (void)_setParentTextView:(id)fp8;
255 - (BOOL)isFieldEditor;
256 - (BOOL)_editable;
257 - (void)_setEditable:(BOOL)fp8;
258 - (id)delegate;
259 - (void)deleteBackward;
260 - (void)insertText:(id)fp8;
261 - (void)replaceCurrentWordWithText:(id)fp8;
262 - (void)clearPlaceholder;
263 - (void)setupPlaceholderTextIfNeeded;
264 - (void)setMarkedText:(id)fp8;
265 - (void)confirmMarkedText:(id)fp8;
266 - (id)markedText;
267 - (unsigned short)characterInRelationToCaretSelection:(int)fp8;
268 - (unsigned short)characterBeforeCaretSelection;
269 - (unsigned short)characterAfterCaretSelection;
270 - (id)fontForCaretSelection;
271 - (id)textColorForCaretSelection;
272 - (struct CGRect)autocorrectionRect;
273 - (struct CGRect)rectForNSRange:(struct _NSRange)fp8;
274 - (struct CGRect)rectContainingCaretSelection;
275 - (id)wordRangeContainingCaretSelection;
276 - (id)wordContainingCaretSelection;
277 - (id)wordInRange:(id)fp8;
278 - (void)expandSelectionToStartOfWordContainingCaretSelection;
279 - (int)wordOffsetInRange:(id)fp8;
280 - (BOOL)spaceFollowsWordInRange:(id)fp8;
281 - (id)previousNGrams:(unsigned int)fp8;
282 - (struct _NSRange)selectionRange;
283 - (id)selectedDOMRange;
284 - (void)setSelectedDOMRange:(id)fp8 affinityDownstream:(BOOL)fp12;
285 - (id)rangeByMovingCurrentSelection:(int)fp8;
286 - (id)rangeByExtendingCurrentSelection:(int)fp8;
287 - (BOOL)hasSelection;
288 - (BOOL)selectionAtDocumentStart;
289 - (BOOL)selectionAtSentenceStart;
290 - (BOOL)selectionAtWordStart;
291 - (BOOL)rangeAtSentenceStart:(id)fp8;
292 - (void)markCurrentWordForAutoCorrection:(id)fp8 correction:(id)fp12;
293 - (void)moveBackward:(unsigned int)fp8;
294 - (void)moveForward:(unsigned int)fp8;
295 - (void)selectAll;
296 - (void)setText:(id)fp8;
297 - (id)text;
298 - (BOOL)hasText;
299 - (void)updateSelectionWithPoint:(struct CGPoint)fp8;
300 - (void)setCaretChangeListener:(id)fp8;
301 - (struct CGRect)caretRect;
302 - (struct CGRect)convertCaretRect:(struct CGRect)fp8;
303 - (id)keyboardInputView;
304 - (BOOL)isShowingPlaceholder;
305 - (id)implementationWebView;
306 - (BOOL)keyboardInput:(id)fp8 shouldReplaceTextInRange:(struct _NSRange)fp12 replacementText:(id)fp20;
307 - (BOOL)keyboardInput:(id)fp8 shouldInsertText:(id)fp12 isMarkedText:(BOOL)fp16;
308 - (BOOL)keyboardInputShouldDelete:(id)fp8;
309 - (BOOL)keyboardInputChanged:(id)fp8;
310 - (void)keyboardInputChangedSelection:(id)fp8;
311 - (id)keyboardInputOverlayContainer:(id)fp8;
312 - (id)automaticallySelectedOverlay;
313 - (void)setBottomBufferHeight:(float)fp8;
314 - (int)keyboardInput:(id)fp8 positionForAutocorrection:(id)fp12;
315 - (BOOL)isProxyFor:(id)fp8;
316 - (BOOL)requiresKeyEvents;
317 - (void)handleKeyEvent:(struct __GSEvent *)fp8;
318 - (void)setWKWindowIsSuspendedWindow:(BOOL)fp8;
319 - (id)webView:(id)fp8 plugInViewWithArguments:(id)fp12 fromPlugInPackage:(id)fp16;
320 - (void)webView:(id)fp8 willShowFullScreenForPlugInView:(id)fp12;
321 - (void)webView:(id)fp8 didHideFullScreenForPlugInView:(id)fp12;
322 - (void)didRemovePlugInView:(id)fp8;
323 - (BOOL)isShowingFullScreenPlugInUI;
324 - (id)textInputTraits;
325 - (void)forwardInvocation:(id)fp8;
326 - (id)methodSignatureForSelector:(SEL)fp8;
327 - (void)takeTraitsFrom:(id)fp8;
328 #if 1 // iPhoneOS 3.x
329 - (void)useSelectionAssistantWithMode:(int)fp8;
330 #endif
331
332 #if 1 // iPhoneOS 3.2
333 - (void)webView:(id)view didFailLoadWithError:(id)error forFrame:(id)frame;
334 - (void)webViewDidLayout:(id)webView;
335 - (void)webView:(id)view didFirstVisuallyNonEmptyLayoutInFrame:(id)frame;
336 - (void)webView:(id)view attachRootLayer:(id)layer;
337 - (void)webView:(id)view willAddPlugInView:(id)view2;
338 - (void)webViewDidPreventDefaultForEvent:(id)webView;
339 #endif
340
341 #if 1 // UIWebBrowserView
342 - (void)webView:(id)view willCloseFrame:(id)frame;
343 - (void)webView:(id)view didFinishDocumentLoadForFrame:(id)frame;
344 - (void)webView:(id)view didFirstLayoutInFrame:(id)frame;
345 - (void)webViewFormEditedStatusHasChanged:(id)changed;
346 - (void)webView:(id)view formStateDidFocusNode:(id)formState;
347 - (void)webView:(id)view formStateDidBlurNode:(id)formState;
348 #endif
349
350 @end
351