Home
last modified time | relevance | path

Searched refs:resourceRequest (Results 1 – 25 of 43) sorted by relevance

12

/external/webkit/Source/WebCore/loader/win/
DFrameLoaderWin.cpp42 … frameWin->client()->openURL(request.resourceRequest().url().string(), request.lockHistory()); in urlSelected()
47 const ResourceRequest& resourceRequest = request.resourceRequest(); in submitForm() local
51 if (m_submittedFormURL == resourceRequest.url()) in submitForm()
53 m_submittedFormURL = resourceRequest.url(); in submitForm()
58 …frameWin->client()->submitForm(resourceRequest.httpMethod(), resourceRequest.url(), resourceReques… in submitForm()
/external/webkit/Source/WebKit/chromium/src/
DWrappedResourceRequest.h48 WrappedResourceRequest(WebCore::ResourceRequest& resourceRequest) in WrappedResourceRequest() argument
50 bind(resourceRequest); in WrappedResourceRequest()
53 WrappedResourceRequest(const WebCore::ResourceRequest& resourceRequest) in WrappedResourceRequest() argument
55 bind(resourceRequest); in WrappedResourceRequest()
58 void bind(WebCore::ResourceRequest& resourceRequest) in bind() argument
60 m_handle.m_resourceRequest = &resourceRequest; in bind()
64 void bind(const WebCore::ResourceRequest& resourceRequest) in bind() argument
66 bind(*const_cast<WebCore::ResourceRequest*>(&resourceRequest)); in bind()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebResourceRequest.cpp37 WebResourceRequest::WebResourceRequest(const WebCore::ResourceRequest& resourceRequest, bool should… in WebResourceRequest() argument
51 switch (resourceRequest.cachePolicy()) { in WebResourceRequest()
70 if (!resourceRequest.allowCookies()) { in WebResourceRequest()
76 switch (resourceRequest.targetType()) { in WebResourceRequest()
88 const HTTPHeaderMap& map = resourceRequest.httpHeaderFields(); in WebResourceRequest()
111 m_method = resourceRequest.httpMethod().utf8().data(); in WebResourceRequest()
112 m_referrer = resourceRequest.httpReferrer().utf8().data(); in WebResourceRequest()
113 m_userAgent = resourceRequest.httpUserAgent().utf8().data(); in WebResourceRequest()
115 m_url = resourceRequest.url().string().utf8().data(); in WebResourceRequest()
DWebUrlLoader.cpp37 …webFrame, WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest) in WebUrlLoader() argument
39 m_loaderClient = new WebUrlLoaderClient(webFrame, resourceHandle, resourceRequest); in WebUrlLoader()
48 …const WebCore::ResourceRequest& resourceRequest, bool isMainResource, bool isMainFrame, bool isSyn… in start() argument
53 webFrame->maybeSavePassword(androidClient->getFrame(), resourceRequest); in start()
55 RefPtr<WebUrlLoader> loader = WebUrlLoader::create(webFrame, resourceHandle, resourceRequest); in start()
61 …webFrame, WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest) in create() argument
63 return adoptRef(new WebUrlLoader(webFrame, resourceHandle, resourceRequest)); in create()
DWebUrlLoaderClient.cpp104 …webFrame, WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest) in WebUrlLoaderClient() argument
114 …bool block = webFrame->blockNetworkLoads() && (resourceRequest.url().protocolIs("http") || resourc… in WebUrlLoaderClient()
115 WebResourceRequest webResourceRequest(resourceRequest, block); in WebUrlLoaderClient()
116 …UrlInterceptResponse* intercept = webFrame->shouldInterceptRequest(resourceRequest.url().string()); in WebUrlLoaderClient()
125 …if (resourceRequest.httpBody() && !(webResourceRequest.method() == "GET" || webResourceRequest.met… in WebUrlLoaderClient()
127 Vector<FormDataElement> elements = resourceRequest.httpBody()->elements(); in WebUrlLoaderClient()
436 OwnPtr<WebCore::ResourceRequest> resourceRequest(new WebCore::ResourceRequest(url)); in willSendRequest() local
437 …m_resourceHandle->client()->willSendRequest(m_resourceHandle.get(), *resourceRequest, webResponse-… in willSendRequest()
444 if (url == resourceRequest->url()) { in willSendRequest()
/external/webkit/Source/WebCore/page/
DFrameLoadRequest.h41 … FrameLoadRequest(PassRefPtr<SecurityOrigin> requester, const ResourceRequest& resourceRequest) in FrameLoadRequest()
43 , m_resourceRequest(resourceRequest) in FrameLoadRequest()
47 …Request(PassRefPtr<SecurityOrigin> requester, const ResourceRequest& resourceRequest, const String… in FrameLoadRequest()
49 , m_resourceRequest(resourceRequest) in FrameLoadRequest()
58 ResourceRequest& resourceRequest() { return m_resourceRequest; } in resourceRequest() function
59 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } in resourceRequest() function
/external/webkit/Source/WebKit2/UIProcess/
DWebPolicyClient.cpp37 …modifiers, WebMouseEvent::Button mouseButton, const ResourceRequest& resourceRequest, WebFramePoli… in decidePolicyForNavigationAction() argument
42 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in decidePolicyForNavigationAction()
48 …modifiers, WebMouseEvent::Button mouseButton, const ResourceRequest& resourceRequest, const String… in decidePolicyForNewWindowAction() argument
53 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in decidePolicyForNewWindowAction()
59 …me, const ResourceResponse& resourceResponse, const ResourceRequest& resourceRequest, WebFramePoli… in decidePolicyForResponse() argument
65 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in decidePolicyForResponse()
DWebResourceLoadClient.cpp37 …ameProxy* frame, uint64_t resourceIdentifier, const ResourceRequest& resourceRequest, bool pageIsP… in didInitiateLoadForResource() argument
42 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in didInitiateLoadForResource()
46 …ameProxy* frame, uint64_t resourceIdentifier, const ResourceRequest& resourceRequest, const Resour… in didSendRequestForResource() argument
51 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in didSendRequestForResource()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundlePagePolicyClient.cpp37 …rame, InjectedBundleNavigationAction* action, const ResourceRequest& resourceRequest, RefPtr<APIOb… in decidePolicyForNavigationAction() argument
42 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in decidePolicyForNavigationAction()
50 …rame, InjectedBundleNavigationAction* action, const ResourceRequest& resourceRequest, const String… in decidePolicyForNewWindowAction() argument
55 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in decidePolicyForNewWindowAction()
63 …me, const ResourceResponse& resourceResponse, const ResourceRequest& resourceRequest, RefPtr<APIOb… in decidePolicyForResponse() argument
69 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); in decidePolicyForResponse()
DInjectedBundlePageResourceLoadClient.cpp51 request = returnedRequest->resourceRequest(); in willSendRequestForFrame()
/external/webkit/Source/WebKit2/Shared/win/
DWebCoreArgumentCodersWin.cpp40 …id encodeResourceRequest(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest) in encodeResourceRequest() argument
43 bool requestIsPresent = resourceRequest.cfURLRequest(); in encodeResourceRequest()
49 …> dictionary(AdoptCF, wkCFURLRequestCreateSerializableRepresentation(resourceRequest.cfURLRequest(… in encodeResourceRequest()
54 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) in decodeResourceRequest() argument
62 resourceRequest = WebCore::ResourceRequest(); in decodeResourceRequest()
74 resourceRequest = WebCore::ResourceRequest(cfURLRequest); in decodeResourceRequest()
/external/webkit/Source/WebCore/loader/cache/
DCachedResourceRequest.cpp92 ResourceRequest resourceRequest(resource->url()); in load() local
93resourceRequest.setTargetType(cachedResourceTypeToTargetType(resource->type(), resource->loadPrior… in load()
96 resourceRequest.setHTTPAccept(resource->accept()); in load()
107 resourceRequest.setHTTPHeaderField("Cache-Control", "max-age=0"); in load()
109 resourceRequest.setHTTPHeaderField("If-Modified-Since", lastModified); in load()
111 resourceRequest.setHTTPHeaderField("If-None-Match", eTag); in load()
117 resourceRequest.setHTTPHeaderField("Purpose", "prefetch"); in load()
121 resourceRequest.setPriority(priority); in load()
124 request.get(), resourceRequest, priority, securityCheck, sendResourceLoadCallbacks); in load()
/external/webkit/Source/WebCore/loader/
DFormSubmission.cpp229 frameRequest.resourceRequest().setHTTPReferrer(m_referrer); in populateFrameLoadRequest()
232 frameRequest.resourceRequest().setHTTPMethod("POST"); in populateFrameLoadRequest()
233 frameRequest.resourceRequest().setHTTPBody(m_formData); in populateFrameLoadRequest()
237 frameRequest.resourceRequest().setHTTPContentType(m_contentType); in populateFrameLoadRequest()
239 … frameRequest.resourceRequest().setHTTPContentType(m_contentType + "; boundary=" + m_boundary); in populateFrameLoadRequest()
242 frameRequest.resourceRequest().setURL(requestURL()); in populateFrameLoadRequest()
243 FrameLoader::addHTTPOriginIfNeeded(frameRequest.resourceRequest(), m_origin); in populateFrameLoadRequest()
/external/webkit/Source/WebKit2/Shared/gtk/
DWebCoreArgumentCodersGtk.cpp34 …id encodeResourceRequest(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest) in encodeResourceRequest() argument
39 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) in decodeResourceRequest() argument
46 resourceRequest = WebCore::ResourceRequest(); in decodeResourceRequest()
/external/webkit/Source/WebKit2/Shared/qt/
DWebCoreArgumentCodersQt.cpp34 …id encodeResourceRequest(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest) in encodeResourceRequest() argument
39 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) in decodeResourceRequest() argument
45 resourceRequest = WebCore::ResourceRequest(); in decodeResourceRequest()
/external/webkit/Source/WebCore/plugins/
DPluginView.cpp276 frameLoadRequest.resourceRequest().setHTTPMethod("GET"); in start()
277 frameLoadRequest.resourceRequest().setURL(m_url); in start()
281 frameLoadRequest.resourceRequest().setHTTPReferrer( in start()
460 KURL requestURL = request->frameLoadRequest().resourceRequest().url(); in performRequest()
467 …tream::create(this, m_parentFrame.get(), request->frameLoadRequest().resourceRequest(), request->s… in performRequest()
475 …m_parentFrame->loader()->load(request->frameLoadRequest().resourceRequest(), targetFrameName, fals… in performRequest()
512 …tream::create(this, m_parentFrame.get(), request->frameLoadRequest().resourceRequest(), request->s… in performRequest()
546 …ASSERT(frameLoadRequest.resourceRequest().httpMethod() == "GET" || frameLoadRequest.resourceReques… in load()
548 KURL url = frameLoadRequest.resourceRequest().url(); in load()
594 frameLoadRequest.resourceRequest().setHTTPMethod("GET"); in getURLNotify()
[all …]
/external/webkit/Source/WebKit2/Shared/mac/
DWebCoreArgumentCodersMac.mm38 void encodeResourceRequest(ArgumentEncoder* encoder, const ResourceRequest& resourceRequest)
40 bool requestIsPresent = resourceRequest.nsURLRequest();
46 …> dictionary(AdoptCF, WKNSURLRequestCreateSerializableRepresentation(resourceRequest.nsURLRequest(…
50 bool decodeResourceRequest(ArgumentDecoder* decoder, ResourceRequest& resourceRequest)
57 resourceRequest = ResourceRequest();
69 resourceRequest = ResourceRequest(nsURLRequest);
/external/webkit/Source/WebCore/loader/icon/
DIconLoader.cpp72 ResourceRequest resourceRequest(m_frame->loader()->iconURL()); in startLoading() local
73 resourceRequest.setPriority(ResourceLoadPriorityLow); in startLoading()
75 …eLoader> loader = resourceLoadScheduler()->scheduleSubresourceLoad(m_frame, this, resourceRequest); in startLoading()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitnetworkrequest.cpp254 WebKitNetworkRequest* kitNew(const WebCore::ResourceRequest& resourceRequest) in kitNew() argument
256 GRefPtr<SoupMessage> soupMessage(adoptGRef(resourceRequest.toSoupMessage())); in kitNew()
260 …return WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "uri", resourceRequest.url… in kitNew()
Dwebkitwebdatasource.cpp177 ResourceRequest resourceRequest(ResourceRequest(KURL(KURL(), String::fromUTF8(uri)))); in webkit_web_data_source_new_with_request() local
178 …WebKitWebDataSource* datasource = kitNew(WebKit::DocumentLoader::create(resourceRequest, Substitut… in webkit_web_data_source_new_with_request()
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DFrameLoaderClientGtk.cpp463 …yFunction policyFunction, const ResourceResponse& response, const ResourceRequest& resourceRequest) in dispatchDecidePolicyForResponse() argument
469 if (resourceRequest.isNull()) { in dispatchDecidePolicyForResponse()
475 GRefPtr<WebKitNetworkRequest> request(adoptGRef(kitNew(resourceRequest))); in dispatchDecidePolicyForResponse()
539 …licyFunction, const NavigationAction& action, const ResourceRequest& resourceRequest, PassRefPtr<F… in dispatchDecidePolicyForNewWindowAction() argument
545 if (resourceRequest.isNull()) { in dispatchDecidePolicyForNewWindowAction()
557 …GRefPtr<WebKitNetworkRequest> request(adoptGRef(webkit_network_request_new(resourceRequest.url().s… in dispatchDecidePolicyForNewWindowAction()
569 …licyFunction, const NavigationAction& action, const ResourceRequest& resourceRequest, PassRefPtr<F… in dispatchDecidePolicyForNavigationAction() argument
575 if (resourceRequest.isNull()) { in dispatchDecidePolicyForNavigationAction()
581 GRefPtr<WebKitNetworkRequest> request(adoptGRef(kitNew(resourceRequest))); in dispatchDecidePolicyForNavigationAction()
/external/webkit/Source/WebKit2/Shared/
DWebCoreArgumentCoders.h253 static void encode(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest)
255 encodeResourceRequest(encoder, resourceRequest);
258 static bool decode(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest)
260 return decodeResourceRequest(decoder, resourceRequest);
DWebURLRequest.h60 const WebCore::ResourceRequest& resourceRequest() const { return m_request; } in resourceRequest() function
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginView.cpp70 const ResourceRequest & request() const { return m_request.resourceRequest(); } in request()
874 frameLoadRequest.resourceRequest().setHTTPMethod(method); in loadURL()
875 frameLoadRequest.resourceRequest().setURL(m_pluginElement->document()->completeURL(urlString)); in loadURL()
876 frameLoadRequest.resourceRequest().addHTTPHeaderFields(headerFields); in loadURL()
877 …frameLoadRequest.resourceRequest().setHTTPBody(FormData::create(httpBody.data(), httpBody.size())); in loadURL()
/external/webkit/Source/WebKit/win/
DWebMutableURLRequest.cpp259 *result = m_request == requestImpl->resourceRequest(); in isEqual()
409 const ResourceRequest& WebMutableURLRequest::resourceRequest() const in resourceRequest() function in WebMutableURLRequest

12