Lines Matching full:self
82 WebCoreObjCFinalizeOnMainThread(self);
88 if (WebCoreObjCScheduleDeallocateOnMainThread([WebDataSourcePrivate class], self))
160 DocumentLoader* loader = [self _documentLoader];
176 WebResource *resource = [self subresourceForURL:URL];
180 NSCachedURLResponse *cachedResponse = [[self _webView] _cachedResponseForURL:URL];
192 return [[self response] MIMEType];
198 DocumentLoader* loader = [self _documentLoader];
218 [[self representation] finishedLoadingWithDataSource:self];
223 // protect self temporarily, as the bridge receivedData call could remove our last ref
224 RetainPtr<WebDataSource*> protect(self);
226 [[self representation] receivedData:data withDataSource:self];
228 if ([[self _webView] _usesDocumentViews])
229 [[[[self webFrame] frameView] documentView] dataSourceUpdated:self];
236 [[self representation] receivedError:error withDataSource:self];
242 [self _setRepresentation:nil];
270 DOMDocumentFragment *fragment = [self _documentFragmentWithArchive:archive];
272 [[self webFrame] _replaceSelectionWithFragment:fragment selectReplacement:selectReplacement smartReplace:NO matchStyle:NO];
285 if (DocumentLoader* loader = [self _documentLoader])
288 DOMDocumentFragment *fragment = [[self webFrame] _documentFragmentWithMarkupString:markupString baseURLString:[[mainResource URL] _web_originalDataAsString]];
292 return [self _documentFragmentWithImageResource:mainResource];
301 DOMElement *imageElement = [self _imageElementWithImageResource:resource];
304 DOMDocumentFragment *fragment = [[[self webFrame] DOMDocument] createDocumentFragment];
314 [self addSubresource:resource];
316 DOMElement *imageElement = [[[self webFrame] DOMDocument] createElement:@"img"];
336 return [[self webFrame] webView];
341 NSString *MIMEType = [self _responseMIMEType];
347 Class repClass = [[self class] _representationClassForMIMEType:[self _responseMIMEType] allowingPlugins:[[[self _webView] preferences] arePlugInsEnabled]];
350 if (![[self representation] isKindOfClass:repClass]) {
352 [self _setRepresentation:(id <WebDocumentRepresentation>)newRep];
356 [_private->representation setDataSource:self];
366 self = [super init];
367 if (!self)
378 return self;
387 return [self _initWithDocumentLoader:WebDocumentLoaderMac::create(request, SubstituteData())];
451 textEncodingName = [[self response] textEncodingName];
463 return [[self representation] title];
480 return [[[WebArchive alloc] _initWithCoreLegacyWebArchive:LegacyWebArchive::create(core([self webFrame]))] autorelease];