Home
last modified time | relevance | path

Searched refs:referrerPolicy (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DReferrer.h40 …rer(const String& referrer, ReferrerPolicy referrerPolicy) : referrer(referrer), referrerPolicy(re… in Referrer()
41 Referrer() : referrerPolicy(ReferrerPolicyDefault) { } in Referrer()
44 ReferrerPolicy referrerPolicy; member
DSecurityPolicy.cpp68 String SecurityPolicy::generateReferrerHeader(ReferrerPolicy referrerPolicy, const KURL& url, const… in generateReferrerHeader() argument
76 switch (referrerPolicy) { in generateReferrerHeader()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DPrerenderHandle.cpp49 const ReferrerPolicy referrerPolicy = document.referrerPolicy(); in create() local
54 …const String referrer = SecurityPolicy::generateReferrerHeader(referrerPolicy, url, document.outgo… in create()
56 …Prerender> prerender = Prerender::create(client, url, prerenderRelTypes, referrer, referrerPolicy); in create()
DFrameFetchContext.cpp72 …outgoingReferrer = SecurityPolicy::generateReferrerHeader(document->referrerPolicy(), request.url(… in addAdditionalRequestHeaders()
76 request.setHTTPReferrer(Referrer(outgoingReferrer, document->referrerPolicy())); in addAdditionalRequestHeaders()
/external/chromium_org/third_party/WebKit/Source/web/
DWebHistoryItem.cpp80 WebReferrerPolicy WebHistoryItem::referrerPolicy() const in referrerPolicy() function in blink::WebHistoryItem
82 return static_cast<WebReferrerPolicy>(m_private->referrer().referrerPolicy); in referrerPolicy()
85 void WebHistoryItem::setReferrer(const WebString& referrer, WebReferrerPolicy referrerPolicy) in setReferrer() argument
87 m_private->setReferrer(Referrer(referrer, static_cast<ReferrerPolicy>(referrerPolicy))); in setReferrer()
DWebSecurityPolicy.cpp107 WebString WebSecurityPolicy::generateReferrerHeader(WebReferrerPolicy referrerPolicy, const WebURL&… in generateReferrerHeader() argument
109 …return SecurityPolicy::generateReferrerHeader(static_cast<ReferrerPolicy>(referrerPolicy), url, re… in generateReferrerHeader()
DWebDocument.cpp254 WebReferrerPolicy WebDocument::referrerPolicy() const in referrerPolicy() function in blink::WebDocument
256 return static_cast<WebReferrerPolicy>(constUnwrap<Document>()->referrerPolicy()); in referrerPolicy()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebURLRequest.cpp172 void WebURLRequest::setHTTPReferrer(const WebString& referrer, WebReferrerPolicy referrerPolicy) in setHTTPReferrer() argument
177 …_resourceRequest->setHTTPReferrer(Referrer(referrer, static_cast<ReferrerPolicy>(referrerPolicy))); in setHTTPReferrer()
236 WebReferrerPolicy WebURLRequest::referrerPolicy() const in referrerPolicy() function in blink::WebURLRequest
238 return static_cast<WebReferrerPolicy>(m_private->m_resourceRequest->referrerPolicy()); in referrerPolicy()
DWebPrerender.cpp100 WebReferrerPolicy WebPrerender::referrerPolicy() const in referrerPolicy() function in blink::WebPrerender
102 return static_cast<WebReferrerPolicy>(m_private->referrerPolicy()); in referrerPolicy()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFrameOwnerElement.cpp225 …(), url.string(), Referrer(document().outgoingReferrer(), document().referrerPolicy()), lockBackFo… in loadOrRedirectSubframe()
237 …String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), url, documen… in loadOrRedirectSubframe()
238 …der().client()->createFrame(url, frameName, Referrer(referrer, document().referrerPolicy()), this); in loadOrRedirectSubframe()
DHTMLTablePartElement.cpp58 … imageValue->setReferrer(Referrer(document().outgoingReferrer(), document().referrerPolicy())); in collectStyleForPresentationAttribute()
/external/chromium_org/third_party/WebKit/Source/core/page/
DCreateWindow.cpp131 …stFrame.document()->referrerPolicy(), completedURL, firstFrame.document()->outgoingReferrer()), fi… in createWindow()
185 newFrame->document()->setReferrerPolicy(openerFrame.document()->referrerPolicy()); in createWindowForRequest()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/
DContextMenuParams.java179 String sanitizedReferrer, int referrerPolicy) {
181 null : new Referrer(sanitizedReferrer, referrerPolicy);
/external/chromium_org/third_party/WebKit/Source/platform/network/
DResourceRequest.h142 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } in referrerPolicy() function
143 …TTPHeaderField("Referer", httpReferrer.referrer); m_referrerPolicy = httpReferrer.referrerPolicy; } in setHTTPReferrer()
DResourceRequest.cpp273 if (a.referrerPolicy() != b.referrerPolicy()) in equalIgnoringHeaderFields()
/external/chromium_org/third_party/WebKit/public/platform/
DWebPrerender.h85 BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const;
DWebURLRequest.h160 BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const;
/external/chromium_org/third_party/WebKit/Source/platform/
DPrerender.h80 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } in referrerPolicy() function
/external/chromium_org/third_party/WebKit/public/web/
DWebContextMenuData.h163 WebReferrerPolicy referrerPolicy; member
DWebHistoryItem.h80 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
DWebDocument.h117 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParserMode.cpp47 , m_referrer(m_baseURL.strippedForUseAsReferrer(), document.referrerPolicy()) in CSSParserContext()
DStyleRuleImport.cpp81 … context.setReferrer(Referrer(baseURL.strippedForUseAsReferrer(), document->referrerPolicy())); in setCSSStyleSheet()
/external/chromium_org/content/renderer/
Dcontext_menu_params_builder.cc42 params.referrer_policy = data.referrerPolicy; in Build()
/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
DContentSecurityPolicy.cpp212 document->setReferrerPolicy(referrerPolicy()); in addPolicyFromHeaderValue()
504 ReferrerPolicy ContentSecurityPolicy::referrerPolicy() const in referrerPolicy() function in WebCore::ContentSecurityPolicy
511 policy = m_policies[i]->referrerPolicy(); in referrerPolicy()
513 policy = mergeReferrerPolicies(policy, m_policies[i]->referrerPolicy()); in referrerPolicy()

12