/external/webkit/Source/WebCore/loader/win/ |
FrameLoaderWin.cpp | 34 #include "ResourceRequest.h" 42 frameWin->client()->openURL(request.resourceRequest().url().string(), request.lockHistory()); 47 const ResourceRequest& resourceRequest = request.resourceRequest(); 51 if (m_submittedFormURL == resourceRequest.url()) 53 m_submittedFormURL = resourceRequest.url(); 58 frameWin->client()->submitForm(resourceRequest.httpMethod(), resourceRequest.url(), resourceRequest.httpBody()) [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WrappedResourceRequest.h | 48 WrappedResourceRequest(WebCore::ResourceRequest& resourceRequest) 50 bind(resourceRequest); 53 WrappedResourceRequest(const WebCore::ResourceRequest& resourceRequest) 55 bind(resourceRequest); 58 void bind(WebCore::ResourceRequest& resourceRequest) 60 m_handle.m_resourceRequest = &resourceRequest; 64 void bind(const WebCore::ResourceRequest& resourceRequest [all...] |
/external/webkit/Source/WebCore/page/ |
FrameLoadRequest.h | 29 #include "ResourceRequest.h" 41 FrameLoadRequest(PassRefPtr<SecurityOrigin> requester, const ResourceRequest& resourceRequest) 43 , m_resourceRequest(resourceRequest) 47 FrameLoadRequest(PassRefPtr<SecurityOrigin> requester, const ResourceRequest& resourceRequest, const String& frameName) 49 , m_resourceRequest(resourceRequest) 58 ResourceRequest& resourceRequest() { return m_resourceRequest; } 59 const ResourceRequest& resourceRequest() const { return m_resourceRequest; [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebResourceRequest.cpp | 29 #include "ResourceRequest.h" 37 WebResourceRequest::WebResourceRequest(const WebCore::ResourceRequest& resourceRequest, bool shouldBlockNetworkLoads) 51 switch (resourceRequest.cachePolicy()) { 70 if (!resourceRequest.allowCookies()) { 76 switch (resourceRequest.targetType()) { 77 case ResourceRequest::TargetIsPrefetch: 80 case ResourceRequest::TargetIsFavicon: 88 const HTTPHeaderMap& map = resourceRequest.httpHeaderFields(); 111 m_method = resourceRequest.httpMethod().utf8().data() [all...] |
WebUrlLoader.cpp | 37 WebUrlLoader::WebUrlLoader(WebFrame* webFrame, WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest) 39 m_loaderClient = new WebUrlLoaderClient(webFrame, resourceHandle, resourceRequest); 48 const WebCore::ResourceRequest& resourceRequest, bool isMainResource, bool isMainFrame, bool isSync, WebRequestContext* context) 53 webFrame->maybeSavePassword(androidClient->getFrame(), resourceRequest); 55 RefPtr<WebUrlLoader> loader = WebUrlLoader::create(webFrame, resourceHandle, resourceRequest); 61 PassRefPtr<WebUrlLoader> WebUrlLoader::create(WebFrame* webFrame, WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest) 63 return adoptRef(new WebUrlLoader(webFrame, resourceHandle, resourceRequest)); [all...] |
WebUrlLoaderClient.cpp | 103 WebUrlLoaderClient::WebUrlLoaderClient(WebFrame* webFrame, WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest) 113 bool block = webFrame->blockNetworkLoads() && (resourceRequest.url().protocolIs("http") || resourceRequest.url().protocolIs("https")); 114 WebResourceRequest webResourceRequest(resourceRequest, block); 115 UrlInterceptResponse* intercept = webFrame->shouldInterceptRequest(resourceRequest.url().string()); 124 if (resourceRequest.httpBody() && !(webResourceRequest.method() == "GET" || webResourceRequest.method() == "HEAD")) { 126 Vector<FormDataElement> elements = resourceRequest.httpBody()->elements(); 435 OwnPtr<WebCore::ResourceRequest> resourceRequest(new WebCore::ResourceRequest(url)) [all...] |
/external/webkit/Source/WebKit2/Shared/win/ |
WebCoreArgumentCodersWin.cpp | 40 void encodeResourceRequest(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest) 43 bool requestIsPresent = resourceRequest.cfURLRequest(); 49 RetainPtr<CFDictionaryRef> dictionary(AdoptCF, wkCFURLRequestCreateSerializableRepresentation(resourceRequest.cfURLRequest(), CoreIPC::tokenNullTypeRef())); 54 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) 62 resourceRequest = WebCore::ResourceRequest(); 74 resourceRequest = WebCore::ResourceRequest(cfURLRequest) [all...] |
/external/webkit/Source/WebKit2/UIProcess/ |
WebPolicyClient.cpp | 37 bool WebPolicyClient::decidePolicyForNavigationAction(WebPageProxy* page, WebFrameProxy* frame, NavigationType type, WebEvent::Modifiers modifiers, WebMouseEvent::Button mouseButton, const ResourceRequest& resourceRequest, WebFramePolicyListenerProxy* listener, APIObject* userData) 42 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); 48 bool WebPolicyClient::decidePolicyForNewWindowAction(WebPageProxy* page, WebFrameProxy* frame, NavigationType type, WebEvent::Modifiers modifiers, WebMouseEvent::Button mouseButton, const ResourceRequest& resourceRequest, const String& frameName, WebFramePolicyListenerProxy* listener, APIObject* userData) 53 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); 59 bool WebPolicyClient::decidePolicyForResponse(WebPageProxy* page, WebFrameProxy* frame, const ResourceResponse& resourceResponse, const ResourceRequest& resourceRequest, WebFramePolicyListenerProxy* listener, APIObject* userData) 65 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest);
|
WebResourceLoadClient.cpp | 37 void WebResourceLoadClient::didInitiateLoadForResource(WebPageProxy* page, WebFrameProxy* frame, uint64_t resourceIdentifier, const ResourceRequest& resourceRequest, bool pageIsProvisionallyLoading) 42 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); 46 void WebResourceLoadClient::didSendRequestForResource(WebPageProxy* page, WebFrameProxy* frame, uint64_t resourceIdentifier, const ResourceRequest& resourceRequest, const ResourceResponse& redirectResourceResponse) 51 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest);
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
InjectedBundlePagePolicyClient.cpp | 37 WKBundlePagePolicyAction InjectedBundlePagePolicyClient::decidePolicyForNavigationAction(WebPage* page, WebFrame* frame, InjectedBundleNavigationAction* action, const ResourceRequest& resourceRequest, RefPtr<APIObject>& userData) 42 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); 50 WKBundlePagePolicyAction InjectedBundlePagePolicyClient::decidePolicyForNewWindowAction(WebPage* page, WebFrame* frame, InjectedBundleNavigationAction* action, const ResourceRequest& resourceRequest, const String& frameName, RefPtr<APIObject>& userData) 55 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest); 63 WKBundlePagePolicyAction InjectedBundlePagePolicyClient::decidePolicyForResponse(WebPage* page, WebFrame* frame, const ResourceResponse& resourceResponse, const ResourceRequest& resourceRequest, RefPtr<APIObject>& userData) 69 RefPtr<WebURLRequest> request = WebURLRequest::create(resourceRequest);
|
InjectedBundlePageResourceLoadClient.cpp | 36 void InjectedBundlePageResourceLoadClient::didInitiateLoadForResource(WebPage* page, WebFrame* frame, uint64_t identifier, const WebCore::ResourceRequest& request, bool pageIsProvisionallyLoading) 44 void InjectedBundlePageResourceLoadClient::willSendRequestForFrame(WebPage* page, WebFrame* frame, uint64_t identifier, ResourceRequest& request, const ResourceResponse& redirectResponse) 51 request = returnedRequest->resourceRequest(); 53 request = ResourceRequest();
|
/external/webkit/Source/WebKit2/Shared/gtk/ |
WebCoreArgumentCodersGtk.cpp | 34 void encodeResourceRequest(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest) 39 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) 46 resourceRequest = WebCore::ResourceRequest();
|
/external/webkit/Source/WebKit2/Shared/qt/ |
WebCoreArgumentCodersQt.cpp | 34 void encodeResourceRequest(ArgumentEncoder* encoder, const WebCore::ResourceRequest& resourceRequest) 39 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) 45 resourceRequest = WebCore::ResourceRequest();
|
/external/webkit/Source/WebKit2/Shared/mac/ |
WebCoreArgumentCodersMac.mm | 38 void encodeResourceRequest(ArgumentEncoder* encoder, const ResourceRequest& resourceRequest) 40 bool requestIsPresent = resourceRequest.nsURLRequest(); 46 RetainPtr<CFDictionaryRef> dictionary(AdoptCF, WKNSURLRequestCreateSerializableRepresentation(resourceRequest.nsURLRequest(), CoreIPC::tokenNullTypeRef())); 50 bool decodeResourceRequest(ArgumentDecoder* decoder, ResourceRequest& resourceRequest) 57 resourceRequest = ResourceRequest(); 69 resourceRequest = ResourceRequest(nsURLRequest) [all...] |
/external/webkit/Source/WebCore/loader/cache/ |
CachedResourceRequest.cpp | 36 #include "ResourceRequest.h" 45 static ResourceRequest::TargetType cachedResourceTypeToTargetType(CachedResource::Type type, ResourceLoadPriority priority) 55 return ResourceRequest::TargetIsStyleSheet; 57 return ResourceRequest::TargetIsScript; 59 return ResourceRequest::TargetIsFontResource; 61 return ResourceRequest::TargetIsImage; 65 return ResourceRequest::TargetIsPrefetch; 66 return ResourceRequest::TargetIsSubresource; 70 return ResourceRequest::TargetIsSubresource; 92 ResourceRequest resourceRequest(resource->url()) [all...] |
/external/webkit/Source/WebCore/loader/ |
FormSubmission.cpp | 229 frameRequest.resourceRequest().setHTTPReferrer(m_referrer); 232 frameRequest.resourceRequest().setHTTPMethod("POST"); 233 frameRequest.resourceRequest().setHTTPBody(m_formData); 237 frameRequest.resourceRequest().setHTTPContentType(m_contentType); 239 frameRequest.resourceRequest().setHTTPContentType(m_contentType + "; boundary=" + m_boundary); 242 frameRequest.resourceRequest().setURL(requestURL()); 243 FrameLoader::addHTTPOriginIfNeeded(frameRequest.resourceRequest(), m_origin);
|
/external/webkit/Source/WebCore/loader/icon/ |
IconLoader.cpp | 38 #include "ResourceRequest.h" 72 ResourceRequest resourceRequest(m_frame->loader()->iconURL()); 73 resourceRequest.setPriority(ResourceLoadPriorityLow); 75 RefPtr<SubresourceLoader> loader = resourceLoadScheduler()->scheduleSubresourceLoad(m_frame, this, resourceRequest);
|
/external/webkit/Source/WebKit2/Shared/ |
WebURLRequest.h | 30 #include <WebCore/ResourceRequest.h> 49 static PassRefPtr<WebURLRequest> create(const WebCore::ResourceRequest& request) 60 const WebCore::ResourceRequest& resourceRequest() const { return m_request; } 68 explicit WebURLRequest(const WebCore::ResourceRequest&); 73 WebCore::ResourceRequest m_request;
|
WebCoreArgumentCoders.h | 48 #include <WebCore/ResourceRequest.h> 249 void encodeResourceRequest(ArgumentEncoder*, const WebCore::ResourceRequest&); 250 bool decodeResourceRequest(ArgumentDecoder*, WebCore::ResourceRequest&); 252 template<> struct ArgumentCoder<WebCore::ResourceRequest> { 253 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); [all...] |
/external/webkit/Source/WebKit/gtk/webkit/ |
webkitnetworkrequest.cpp | 25 #include "ResourceRequest.h" 254 WebKitNetworkRequest* kitNew(const WebCore::ResourceRequest& resourceRequest) 256 GRefPtr<SoupMessage> soupMessage(adoptGRef(resourceRequest.toSoupMessage())); 260 return WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "uri", resourceRequest.url().string().utf8().data(), NULL)); 263 WebCore::ResourceRequest core(WebKitNetworkRequest* request) 267 return WebCore::ResourceRequest(soupMessage); 270 return WebCore::ResourceRequest(url);
|
webkitwebdatasource.cpp | 29 #include "ResourceRequest.h" 177 ResourceRequest resourceRequest(ResourceRequest(KURL(KURL(), String::fromUTF8(uri)))); 178 WebKitWebDataSource* datasource = kitNew(WebKit::DocumentLoader::create(resourceRequest, SubstituteData())); 230 ResourceRequest request = priv->loader->originalRequest(); 263 ResourceRequest request = priv->loader->request();
|
/external/webkit/Source/WebCore/plugins/ |
PluginView.cpp | 276 frameLoadRequest.resourceRequest().setHTTPMethod("GET"); 277 frameLoadRequest.resourceRequest().setURL(m_url); 281 frameLoadRequest.resourceRequest().setHTTPReferrer( 460 KURL requestURL = request->frameLoadRequest().resourceRequest().url(); 467 RefPtr<PluginStream> stream = PluginStream::create(this, m_parentFrame.get(), request->frameLoadRequest().resourceRequest(), request->sendNotification(), request->notifyData(), plugin()->pluginFuncs(), instance(), m_plugin->quirks()); 475 m_parentFrame->loader()->load(request->frameLoadRequest().resourceRequest(), targetFrameName, false); 512 RefPtr<PluginStream> stream = PluginStream::create(this, m_parentFrame.get(), request->frameLoadRequest().resourceRequest(), request->sendNotification(), request->notifyData(), plugin()->pluginFuncs(), instance(), m_plugin->quirks()); 546 ASSERT(frameLoadRequest.resourceRequest().httpMethod() == "GET" || frameLoadRequest.resourceRequest().httpMethod() == "POST"); 548 KURL url = frameLoadRequest.resourceRequest().url() [all...] |
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
FrameLoaderClientGtk.cpp | 63 #include "ResourceRequest.h" 297 WTF::PassRefPtr<WebCore::DocumentLoader> FrameLoaderClient::createDocumentLoader(const WebCore::ResourceRequest& request, const SubstituteData& substituteData) 367 void FrameLoaderClient::dispatchWillSendRequest(WebCore::DocumentLoader* loader, unsigned long identifier, ResourceRequest& request, const ResourceResponse& redirectResponse) 392 // Feed any changes back into the ResourceRequest object. 402 void FrameLoaderClient::assignIdentifierToInitialRequest(unsigned long identifier, WebCore::DocumentLoader* loader, const ResourceRequest& request) 463 void FrameLoaderClient::dispatchDecidePolicyForResponse(FramePolicyFunction policyFunction, const ResourceResponse& response, const ResourceRequest& resourceRequest) 469 if (resourceRequest.isNull()) { 475 GRefPtr<WebKitNetworkRequest> request(adoptGRef(kitNew(resourceRequest))); 539 void FrameLoaderClient::dispatchDecidePolicyForNewWindowAction(FramePolicyFunction policyFunction, const NavigationAction& action, const ResourceRequest& resourceRequest, PassRefPtr<FormState>, const String& frameName [all...] |
/external/webkit/Source/WebKit/win/ |
WebMutableURLRequest.h | 30 #include <WebCore/ResourceRequest.h> 52 static WebMutableURLRequest* createInstance(const WebCore::ResourceRequest&); 55 static WebMutableURLRequest* createImmutableInstance(const WebCore::ResourceRequest&); 170 const WebCore::ResourceRequest& resourceRequest() const; 174 WebCore::ResourceRequest m_request;
|
WebMutableURLRequest.cpp | 76 WebMutableURLRequest* WebMutableURLRequest::createInstance(const ResourceRequest& request) 91 WebMutableURLRequest* WebMutableURLRequest::createImmutableInstance(const ResourceRequest& request) 259 *result = m_request == requestImpl->resourceRequest(); 379 *result = createInstance(ResourceRequest(mutableRequest.get())); 409 const ResourceRequest& WebMutableURLRequest::resourceRequest() const
|