Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1114)

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2648423002: Rename feature policy classes. (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 WebParsedFeaturePolicy& parsedHeader) { 870 const WebParsedFeaturePolicyHeader& parsedHeader) {
871 if (m_webFrame->client()) 871 if (m_webFrame->client())
872 m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader); 872 m_webFrame->client()->didSetFeaturePolicyHeader(parsedHeader);
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(
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 997 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
998 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 998 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
999 } 999 }
1000 1000
1001 void FrameLoaderClientImpl::setHasReceivedUserGesture() { 1001 void FrameLoaderClientImpl::setHasReceivedUserGesture() {
1002 if (m_webFrame->client()) 1002 if (m_webFrame->client())
1003 m_webFrame->client()->setHasReceivedUserGesture(); 1003 m_webFrame->client()->setHasReceivedUserGesture();
1004 } 1004 }
1005 1005
1006 } // namespace blink 1006 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698