| 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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 | 858 |
| 859 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, | 859 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, |
| 860 SandboxFlags flags) { | 860 SandboxFlags flags) { |
| 861 if (!m_webFrame->client()) | 861 if (!m_webFrame->client()) |
| 862 return; | 862 return; |
| 863 m_webFrame->client()->didChangeSandboxFlags( | 863 m_webFrame->client()->didChangeSandboxFlags( |
| 864 WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); | 864 WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); |
| 865 } | 865 } |
| 866 | 866 |
| 867 void FrameLoaderClientImpl::didSetFeaturePolicyHeader( | 867 void FrameLoaderClientImpl::didSetFeaturePolicyHeader( |
| 868 const WebParsedFeaturePolicy& parsedHeader) { | 868 const WebParsedFeaturePolicyHeader& parsedHeader) { |
| 869 if (m_webFrame->client()) | 869 if (m_webFrame->client()) |
| 870 m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader); | 870 m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader); |
| 871 } | 871 } |
| 872 | 872 |
| 873 void FrameLoaderClientImpl::didAddContentSecurityPolicy( | 873 void FrameLoaderClientImpl::didAddContentSecurityPolicy( |
| 874 const String& headerValue, | 874 const String& headerValue, |
| 875 ContentSecurityPolicyHeaderType type, | 875 ContentSecurityPolicyHeaderType type, |
| 876 ContentSecurityPolicyHeaderSource source) { | 876 ContentSecurityPolicyHeaderSource source) { |
| 877 if (m_webFrame->client()) { | 877 if (m_webFrame->client()) { |
| 878 m_webFrame->client()->didAddContentSecurityPolicy( | 878 m_webFrame->client()->didAddContentSecurityPolicy( |
| (...skipping 111 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 |