Lines Matching refs:RetainPtr
77 RetainPtr<CFStringRef> utiType = adoptCF(UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, (CFStringRef)type, NULL));
79 RetainPtr<CFStringRef> mimeType = adoptCF(UTTypeCopyPreferredTagWithClass(utiType.get(), kUTTagClassMIMEType));
86 static RetainPtr<NSString> cocoaTypeFromHTMLClipboardType(const String& type)
138 if (RetainPtr<NSString> cocoaType = cocoaTypeFromHTMLClipboardType(type)) {
139 RetainPtr<NSDictionary> representations = adoptNS([[NSMutableDictionary alloc] init]);
150 RetainPtr<NSDictionary> representations = adoptNS([[NSMutableDictionary alloc] init]);
159 RetainPtr<NSString> cocoaType = cocoaTypeFromHTMLClipboardType(type);
163 RetainPtr<NSArray> pasteboardItem = m_frame->editor().client()->readDataFromPasteboard(cocoaType.get(), 0);
209 RetainPtr<NSString> cocoaType = cocoaTypeFromHTMLClipboardType(type);
212 RetainPtr<NSDictionary> representations = adoptNS([[NSMutableDictionary alloc] init]);
215 RetainPtr<NSURL> url = adoptNS([[NSURL alloc] initWithString:cocoaData]);