| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 | 860 |
| 861 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, | 861 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, |
| 862 SandboxFlags flags) { | 862 SandboxFlags flags) { |
| 863 if (!m_webFrame->client()) | 863 if (!m_webFrame->client()) |
| 864 return; | 864 return; |
| 865 m_webFrame->client()->didChangeSandboxFlags( | 865 m_webFrame->client()->didChangeSandboxFlags( |
| 866 WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); | 866 WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); |
| 867 } | 867 } |
| 868 | 868 |
| 869 void FrameLoaderClientImpl::didSetFeaturePolicyHeader( | 869 void FrameLoaderClientImpl::didSetFeaturePolicyHeader( |
| 870 const String& headerValue) { | 870 const WebVector<WebFeaturePolicy::ParsedWhitelist>& headerPolicy) { |
| 871 if (m_webFrame->client()) | 871 if (m_webFrame->client()) |
| 872 m_webFrame->client()->didSetFeaturePolicyHeader(headerValue); | 872 m_webFrame->client()->didSetFeaturePolicyHeader(headerPolicy); |
| 873 } | 873 } |
| 874 | 874 |
| 875 void FrameLoaderClientImpl::didAddContentSecurityPolicy( | 875 void FrameLoaderClientImpl::didAddContentSecurityPolicy( |
| 876 const String& headerValue, | 876 const String& headerValue, |
| 877 ContentSecurityPolicyHeaderType type, | 877 ContentSecurityPolicyHeaderType type, |
| 878 ContentSecurityPolicyHeaderSource source) { | 878 ContentSecurityPolicyHeaderSource source) { |
| 879 if (m_webFrame->client()) { | 879 if (m_webFrame->client()) { |
| 880 m_webFrame->client()->didAddContentSecurityPolicy( | 880 m_webFrame->client()->didAddContentSecurityPolicy( |
| 881 headerValue, static_cast<WebContentSecurityPolicyType>(type), | 881 headerValue, static_cast<WebContentSecurityPolicyType>(type), |
| 882 static_cast<WebContentSecurityPolicySource>(source)); | 882 static_cast<WebContentSecurityPolicySource>(source)); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 990 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { | 990 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { |
| 991 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) | 991 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) |
| 992 ->devToolsAgentImpl(); | 992 ->devToolsAgentImpl(); |
| 993 } | 993 } |
| 994 | 994 |
| 995 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { | 995 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { |
| 996 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 996 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
| 997 } | 997 } |
| 998 | 998 |
| 999 } // namespace blink | 999 } // namespace blink |
| OLD | NEW |