Lines Matching defs:delegate
73 void WebDownload::init(ResourceHandle* handle, const ResourceRequest& request, const ResourceResponse& response, IWebDownloadDelegate* delegate)
75 m_delegate = delegate ? delegate : DefaultDownloadDelegate::sharedInstance();
104 void WebDownload::init(const KURL& url, IWebDownloadDelegate* delegate)
106 m_delegate = delegate ? delegate : DefaultDownloadDelegate::sharedInstance();
128 /* [in] */ IWebDownloadDelegate* delegate)
136 if (!delegate)
138 m_delegate = delegate;
165 /* [in] */ IWebDownloadDelegate* delegate)
174 if (!delegate)
176 m_delegate = delegate;
195 // Failing that, we clear m_destination and will ask the delegate later once the download starts
448 // we try to mask the delegate from its existence as much as possible by telling it the final
473 // We try to rename the bundle to the final file name. If that fails, we give the delegate one more chance to chose
482 LOG_ERROR("delegate->decideDestinationWithSuggestedFilename() failed");
490 // We either need to tell the delegate our final filename is the bundle filename, or is the file name they just told us to use
500 // It's extremely likely the call to delegate->didFinish() will deref this, so lets not let that cause our destruction just yet