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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 | 882 |
883 void LocalFrameClientImpl::didChangeSandboxFlags(Frame* childFrame, | 883 void LocalFrameClientImpl::didChangeSandboxFlags(Frame* childFrame, |
884 SandboxFlags flags) { | 884 SandboxFlags flags) { |
885 if (!m_webFrame->client()) | 885 if (!m_webFrame->client()) |
886 return; | 886 return; |
887 m_webFrame->client()->didChangeSandboxFlags( | 887 m_webFrame->client()->didChangeSandboxFlags( |
888 WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); | 888 WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); |
889 } | 889 } |
890 | 890 |
891 void LocalFrameClientImpl::didSetFeaturePolicyHeader( | 891 void LocalFrameClientImpl::didSetFeaturePolicyHeader( |
892 const WebParsedFeaturePolicyHeader& parsedHeader) { | 892 const WebParsedFeaturePolicy& parsedHeader) { |
893 if (m_webFrame->client()) | 893 if (m_webFrame->client()) |
894 m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader); | 894 m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader); |
895 } | 895 } |
896 | 896 |
897 void LocalFrameClientImpl::didAddContentSecurityPolicy( | 897 void LocalFrameClientImpl::didAddContentSecurityPolicy( |
898 const String& headerValue, | 898 const String& headerValue, |
899 ContentSecurityPolicyHeaderType type, | 899 ContentSecurityPolicyHeaderType type, |
900 ContentSecurityPolicyHeaderSource source, | 900 ContentSecurityPolicyHeaderSource source, |
901 const std::vector<WebContentSecurityPolicyPolicy>& policies) { | 901 const std::vector<WebContentSecurityPolicyPolicy>& policies) { |
902 if (m_webFrame->client()) { | 902 if (m_webFrame->client()) { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { | 1008 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { |
1009 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 1009 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
1010 } | 1010 } |
1011 | 1011 |
1012 void LocalFrameClientImpl::setHasReceivedUserGesture() { | 1012 void LocalFrameClientImpl::setHasReceivedUserGesture() { |
1013 if (m_webFrame->client()) | 1013 if (m_webFrame->client()) |
1014 m_webFrame->client()->setHasReceivedUserGesture(); | 1014 m_webFrame->client()->setHasReceivedUserGesture(); |
1015 } | 1015 } |
1016 | 1016 |
1017 } // namespace blink | 1017 } // namespace blink |
OLD | NEW |