HomeSort by relevance Sort by last modified time
    Searched full:adoptns (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/webkit/Source/WebKit2/UIProcess/mac/
WebPopupMenuProxyMac.mm 57 m_popup.adoptNS([[NSPopUpButtonCell alloc] initTextCell:@"" pullsDown:NO]);
71 RetainPtr<NSMutableParagraphStyle> paragraphStyle(AdoptNS, [[NSParagraphStyle defaultParagraphStyle] mutableCopy]);
75 RetainPtr<NSMutableDictionary> attributes(AdoptNS, [[NSMutableDictionary alloc] initWithObjectsAndKeys:
80 RetainPtr<NSNumber> writingDirectionValue(AdoptNS, [[NSNumber alloc] initWithInteger:writingDirection + NSTextWritingDirectionOverride]);
81 RetainPtr<NSArray> writingDirectionArray(AdoptNS, [[NSArray alloc] initWithObjects:writingDirectionValue.get(), nil]);
84 RetainPtr<NSAttributedString> string(AdoptNS, [[NSAttributedString alloc] initWithString:nsStringFromWebCoreString(items[i].m_text) attributes:attributes.get()]);
127 RetainPtr<NSView> dummyView(AdoptNS, [[NSView alloc] initWithFrame:rect]);
WebContextMenuProxyMac.mm 154 result.append(RetainPtr<NSMenuItem>(AdoptNS, menuItem));
170 result.append(RetainPtr<NSMenuItem>(AdoptNS, menuItem));
191 m_popup.adoptNS([[NSPopUpButtonCell alloc] initTextCell:@"" pullsDown:NO]);
WebInspectorProxyMac.mm 84 m_inspectorView.adoptNS([[WKView alloc] initWithFrame:NSZeroRect contextRef:toAPI(page()->process()->context()) pageGroupRef:toAPI(inspectorPageGroup())]);
96 m_inspectorProxyObjCAdapter.adoptNS([[WebInspectorProxyObjCAdapter alloc] initWithWebInspectorProxy:this]);
122 m_inspectorWindow.adoptNS(window);
  /external/webkit/Source/WebKit/mac/Storage/
WebDatabaseTrackerClient.mm 90 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin]);
103 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin]);
104 RetainPtr<NSDictionary> userInfo(AdoptNS, [[NSDictionary alloc]
WebStorageTrackerClient.mm 63 RetainPtr<WebSecurityOrigin> webSecurityOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:origin.get()]);
  /external/webkit/Source/WebCore/platform/text/mac/
LocalizedNumberMac.mm 45 RetainPtr<NSNumberFormatter> formatter(AdoptNS, [[NSNumberFormatter alloc] init]);
70 RetainPtr<NSNumber> number(AdoptNS, [[NSNumber alloc] initWithDouble:inputNumber]);
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
PlatformVideoWindowMac.mm 31 m_window.adoptNS([[NSView alloc] init]);
  /external/webkit/Source/WebKit2/UIProcess/API/mac/
FindIndicatorWindow.mm 151 m_findIndicatorWindow.adoptNS([[NSWindow alloc] initWithContentRect:windowContentRect
160 RetainPtr<WebFindIndicatorView> findIndicatorView(AdoptNS, [[WebFindIndicatorView alloc] _initWithFindIndicator:m_findIndicator]);
168 m_bounceAnimation.adoptNS([[WebFindIndicatorWindowAnimation alloc] _initWithFindIndicatorWindow:this
207 m_fadeOutAnimation.adoptNS([[WebFindIndicatorWindowAnimation alloc] _initWithFindIndicatorWindow:this
PDFViewController.mm 132 _pdfPreviewView.adoptNS([[previewViewClass alloc] initWithFrame:frame]);
373 , m_wkPDFView(AdoptNS, [[WKPDFView alloc] initWithFrame:[m_wkView bounds] PDFViewController:this])
406 RetainPtr<NSData> nsData(AdoptNS, [[NSData alloc] initWithBytesNoCopy:const_cast<uint8_t*>(dataReference.data()) length:dataReference.size() freeWhenDone:NO]);
438 RetainPtr<PDFDocument> pdfDocument(AdoptNS, [[pdfDocumentClass() alloc] initWithData:(NSData *)m_pdfData.get()]);
503 RetainPtr<NSNumber> permissions(AdoptNS, [[NSNumber alloc] initWithInt:S_IRUSR]);
504 RetainPtr<NSDictionary> fileAttributes(AdoptNS, [[NSDictionary alloc] initWithObjectsAndKeys:permissions.get(), NSFilePosixPermissions, nil]);
581 m_pathToPDFOnDisk.adoptNS([path copy]);
PageClientImpl.mm 119 , m_undoTarget(AdoptNS, [[WKEditorUndoTargetObjC alloc] init])
218 RetainPtr<WKEditCommandObjC> commandObjC(AdoptNS, [[WKEditCommandObjC alloc] initWithWebEditCommandProxy:command]);
250 RetainPtr<NSImage> dragNSImage(AdoptNS, [[NSImage alloc] initWithCGImage:dragCGImage.get() size:dragImage->size()]);
383 RetainPtr<NSMutableAttributedString> attributedString(AdoptNS, [[NSMutableAttributedString alloc] initWithString:nsStringFromWebCoreString(text)]);
  /external/webkit/Source/WebKit2/WebProcess/Downloads/mac/
DownloadMac.mm 109 hostOnlyURLString.adoptNS([[NSString alloc] initWithFormat:@"%@://%@:%d", scheme, host, [port intValue]]);
111 hostOnlyURLString.adoptNS([[NSString alloc] initWithFormat:@"%@://%@", scheme, host]);
125 m_delegate.adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]);
126 m_nsURLDownload.adoptNS([[NSURLDownload alloc] initWithRequest:m_request.nsURLRequest() delegate:m_delegate.get()]);
142 m_delegate.adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]);
  /external/webkit/Source/WebCore/platform/network/mac/
ResourceErrorMac.mm 88 RetainPtr<NSMutableDictionary> userInfo(AdoptNS, [[NSMutableDictionary alloc] init]);
99 m_platformError.adoptNS([[NSError alloc] initWithDomain:m_domain code:m_errorCode userInfo:userInfo.get()]);
ResourceResponseMac.mm 65 const_cast<ResourceResponse*>(this)->m_nsResponse.adoptNS([[NSURLResponse alloc] initWithURL:m_url MIMEType:m_mimeType expectedContentLength:expectedContentLength textEncodingName:m_textEncodingName]);
118 RetainPtr<NSString> httpStatusLine(AdoptNS, wkCopyNSURLResponseStatusLine(m_nsResponse.get()));
  /external/webkit/Source/JavaScriptCore/wtf/
RetainPtr.h 43 enum AdoptNSTag { AdoptNS };
98 void adoptNS(PtrType);
176 template<typename T> inline void RetainPtr<T>::adoptNS(PtrType optr)
253 using WTF::AdoptNS;
  /external/webkit/Source/WebCore/platform/mac/
PopupMenuMac.mm 102 RetainPtr<NSMutableParagraphStyle> paragraphStyle(AdoptNS, [[NSParagraphStyle defaultParagraphStyle] mutableCopy]);
107 RetainPtr<NSNumber> writingDirectionValue(AdoptNS, [[NSNumber alloc] initWithInteger:writingDirection + NSTextWritingDirectionOverride]);
108 RetainPtr<NSArray> writingDirectionArray(AdoptNS, [[NSArray alloc] initWithObjects:writingDirectionValue.get(), nil]);
188 RetainPtr<NSView> dummyView(AdoptNS, [[NSView alloc] initWithFrame:r]);
ContextMenuItemMac.mm 76 m_platformDescription.adoptNS(createPlatformMenuItemDescription(type, action, title, true, false));
84 m_platformDescription.adoptNS(createPlatformMenuItemDescription(type, action, title, enabled, checked));
89 m_platformDescription.adoptNS(createPlatformMenuItemDescription(SubmenuType, action, title, enabled, checked));
SharedBufferMac.mm 113 return (CFDataRef)RetainPtr<WebCoreSharedBufferData>(AdoptNS, [[WebCoreSharedBufferData alloc] initWithSharedBuffer:this]).releaseRef();
  /external/webkit/Source/WebKit2/Shared/API/c/mac/
WKURLRequestNS.mm 36 RetainPtr<NSURLRequest> copiedURLRequest(AdoptNS, [urlRequest copy]);
WKURLResponseNS.mm 36 RetainPtr<NSURLResponse> copiedURLResponse(AdoptNS, [urlResponse copy]);
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/
PluginProxyMac.mm 42 m_pluginLayer.adoptNS([[CALayer alloc] init]);
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
WebDragClientMac.mm 147 RetainPtr<NSMutableArray> types(AdoptNS, [[NSMutableArray alloc] initWithObjects:NSFilesPromisePboardType, nil]);
150 RetainPtr<WKPasteboardOwner> pasteboardOwner(AdoptNS, [[WKPasteboardOwner alloc] initWithImage:image]);
152 RetainPtr<WKPasteboardFilePromiseOwner> filePromiseOwner(AdoptNS, [(WKPasteboardFilePromiseOwner *)[WKPasteboardFilePromiseOwner alloc] initWithSource:pasteboardOwner.get()]);
  /external/webkit/Source/WebCore/platform/graphics/gpu/mac/
DrawingBufferMac.mm 63 m_platformLayer.adoptNS([[WebGLLayer alloc] initWithGraphicsContext3D:m_context.get()]);
  /external/webkit/Source/WebKit/mac/WebCoreSupport/
WebApplicationCache.mm 80 RetainPtr<WebSecurityOrigin> webOrigin(AdoptNS, [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:(*it).get()]);
  /external/webkit/Tools/DumpRenderTree/mac/
WebArchiveDumpSupportMac.mm 55 RetainPtr<NSKeyedUnarchiver> unarchiver(AdoptNS, [[NSKeyedUnarchiver alloc] initForReadingWithData:(NSData *)responseData]);
  /external/webkit/Tools/TestWebKitAPI/mac/
PlatformUtilitiesMac.mm 69 RetainPtr<NSURLResponse> response(AdoptNS, WKURLResponseCopyNSURLResponse(wkResponse));

Completed in 568 milliseconds

1 2 3