HomeSort by relevance Sort by last modified time
    Searched refs:adoptNS (Results 1 - 25 of 37) sorted by null

1 2

  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/
PluginProxyMac.mm 42 m_pluginLayer.adoptNS([[CALayer alloc] init]);
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
PlatformVideoWindowMac.mm 31 m_window.adoptNS([[NSView alloc] init]);
  /external/webkit/Source/WebKit2/UIProcess/mac/
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);
CorrectionPanel.mm 55 , m_resultCondition(AdoptNS, [[NSCondition alloc] init])
158 m_resultForSynchronousDismissal.adoptNS([acceptedReplacement copy]);
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]);
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]);
  /external/webkit/Source/WebCore/platform/mac/
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));
  /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/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
  /external/webkit/Source/WebCore/platform/graphics/gpu/mac/
DrawingBufferMac.mm 63 m_platformLayer.adoptNS([[WebGLLayer alloc] initWithGraphicsContext3D:m_context.get()]);
  /external/webkit/Source/WebCore/platform/graphics/mac/
ImageMac.mm 120 m_nsImage.adoptNS([[NSImage alloc] initWithData:(NSData*)data]);
GraphicsContext3DMac.mm 161 m_webGLLayer.adoptNS([[WebGLLayer alloc] initWithGraphicsContext3D: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()));
AuthenticationMac.mm 126 m_sender.adoptNS([[WebCoreAuthenticationClientAsChallengeSender alloc] initWithAuthenticationClient:client]);
127 m_nsChallenge.adoptNS([[NSURLAuthenticationChallenge alloc] initWithAuthenticationChallenge:m_nsChallenge.get() sender:m_sender.get()]);
ResourceRequestMac.mm 166 m_nsRequest.adoptNS(nsRequest);
  /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/WebKit2/UIProcess/Plugins/mac/
PluginProcessProxyMac.mm 159 m_placeholderWindow.adoptNS([[WKPlaceholderModalWindow alloc] initWithContentRect:NSMakeRect(0, 0, 1, 1) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES]);
  /external/webkit/Source/WebCore/platform/graphics/avfoundation/
MediaPlayerPrivateAVFoundationObjC.mm 135 , m_objcObserver(AdoptNS, [[WebCoreAVFMovieObserver alloc] initWithCallback:this])
215 m_videoLayer.adoptNS([[AVPlayerLayer alloc] init]);
244 m_avAsset.adoptNS([[AVURLAsset alloc] initWithURL:cocoaURL options:nil]);
264 m_avAsset.adoptNS([[AVURLAsset alloc] initWithURL:localURL options:nil]);
274 m_avPlayer.adoptNS([[AVPlayer alloc] init]);
289 m_avPlayerItem.adoptNS([[AVPlayerItem alloc] initWithAsset:m_avAsset.get()]);
  /external/webkit/Source/WebKit/mac/WebView/
WebScriptDebugger.mm 95 m_topCallFrame.adoptNS([[WebScriptCallFrame alloc] _initWithGlobalObject:core(webFrame)->script()->windowScriptObject() debugger:this caller:m_topCallFrame.get() debuggerCallFrame:debuggerCallFrame]);
153 m_topCallFrame.adoptNS([[WebScriptCallFrame alloc] _initWithGlobalObject:core(webFrame)->script()->windowScriptObject() debugger:this caller:m_topCallFrame.get() debuggerCallFrame:debuggerCallFrame]);
  /external/webkit/Source/WebKit2/WebProcess/FullScreen/mac/
WebFullScreenManagerMac.mm 121 m_enterFullScreenListener.adoptNS([[WebFullScreenManagerAnimationListener alloc] initWithManager:this began:&WebFullScreenManagerMac::beganEnterFullScreenAnimation finished:&WebFullScreenManagerMac::finishedEnterFullScreenAnimation]);
122 m_exitFullScreenListener.adoptNS([[WebFullScreenManagerAnimationListener alloc] initWithManager:this began:&WebFullScreenManagerMac::beganExitFullScreenAnimation finished:&WebFullScreenManagerMac::finishedExitFullScreenAnimation]);
  /external/webkit/Source/WebKit/mac/WebCoreSupport/
CorrectionPanel.mm 49 , m_resultCondition(AdoptNS, [[NSCondition alloc] init])
151 m_resultForSynchronousDismissal.adoptNS([acceptedReplacement copy]);
  /external/webkit/Source/WebKit/mac/Plugins/Hosted/
WebHostedNetscapePluginView.mm 101 _attributeKeys.adoptNS([keys copy]);
102 _attributeValues.adoptNS([values copy]);
130 RetainPtr<CALayer> realPluginLayer(AdoptNS, _pluginLayer.releaseRef());
132 _pluginLayer.adoptNS([[CALayer alloc] init]);
  /external/webkit/Source/WebKit/mac/Plugins/
WebNetscapePluginStream.mm 156 , m_request(AdoptNS, [request mutableCopy])
545 m_deliveryData.adoptNS(newDeliveryData);
573 m_path.adoptNS([[NSString stringWithUTF8String:temporaryFileName] retain]);
618 m_deliveryData.adoptNS([[NSMutableData alloc] initWithCapacity:[data length]]);
WebBaseNetscapePluginView.mm 142 _sourceURL.adoptNS([URL copy]);
143 _baseURL.adoptNS([baseURL copy]);
144 _MIMEType.adoptNS([MIME copy]);
150 RetainPtr<NSMutableArray> mutableKeys(AdoptNS, [keys mutableCopy]);
151 RetainPtr<NSMutableArray> mutableValues(AdoptNS, [values mutableCopy]);
591 _cachedSnapshot.adoptNS(snapshot);
1025 RetainPtr<NSURLProtectionSpace> protectionSpace(AdoptNS, [[NSURLProtectionSpace alloc] initWithHost:host port:port protocol:protocol realm:realm authenticationMethod:authenticationMethod]);

Completed in 976 milliseconds

1 2