Lines Matching refs:request
280 const ResourceRequest& request)
283 WrappedResourceRequest webreq(request);
289 // If the request being loaded by |loader| is a frame, update the ResourceType.
298 static void setTargetTypeFromLoader(ResourceRequest& request, DocumentLoader* loader)
306 request.setTargetType(type);
311 DocumentLoader* loader, unsigned long identifier, ResourceRequest& request,
315 // We want to distinguish between a request for a document to be loaded into
317 setTargetTypeFromLoader(request, loader);
321 && request.httpMethod() == "POST"
323 request.setCachePolicy(ReturnCacheDataDontLoad);
328 if (request.url().isEmpty())
329 request.setURL(KURL(ParsedURLString, "about:blank"));
330 if (request.firstPartyForCookies().isEmpty())
331 request.setFirstPartyForCookies(KURL(ParsedURLString, "about:blank"));
333 // Give the WebFrameClient a crack at the request.
335 WrappedResourceRequest webreq(request);
415 const ResourceRequest& request,
420 WrappedResourceRequest webreq(request);
524 if (ds->request().isNull())
535 ds->appendRedirect(ds->request().url());
611 KURL url = ds->request().url();
703 KURL url = ds->request().url();
885 const ResourceRequest& request,
911 const ResourceRequest& request,
919 if (m_webFrame->client() && !request.url().isNull()) {
926 KURL url = ds->request().url();
947 m_webFrame, ds->request(), webnavType, originatingNode,
957 WrappedResourceRequest webreq(request);
1045 void FrameLoaderClientImpl::startDownload(const ResourceRequest& request)
1048 WrappedResourceRequest webreq(request);
1077 // and cancel the request.
1182 ResourceError FrameLoaderClientImpl::cancelledError(const ResourceRequest& request)
1188 m_webFrame, WrappedResourceRequest(request));
1191 ResourceError FrameLoaderClientImpl::cannotShowURLError(const ResourceRequest& request)
1197 m_webFrame, WrappedResourceRequest(request));
1201 const ResourceRequest& request)
1204 request.url().string(), String());
1231 // request.
1237 bool FrameLoaderClientImpl::canHandleRequest(const ResourceRequest& request) const
1240 m_webFrame, WrappedResourceRequest(request));
1330 const ResourceRequest& request,
1333 RefPtr<WebDataSourceImpl> ds = WebDataSourceImpl::create(request, data);
1389 const ResourceRequest& request,
1423 void FrameLoaderClientImpl::transferLoadingResourceFromPage(unsigned long identifier, DocumentLoader* loader, const ResourceRequest& request, Page* oldPage)
1425 assignIdentifierToInitialRequest(identifier, loader, request);