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

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

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nasko comments Created 5 years 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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin (target), WebDOMMessageEvent(event)); 866 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin (target), WebDOMMessageEvent(event));
867 } 867 }
868 868
869 void FrameLoaderClientImpl::didChangeName(const String& name) 869 void FrameLoaderClientImpl::didChangeName(const String& name)
870 { 870 {
871 if (!m_webFrame->client()) 871 if (!m_webFrame->client())
872 return; 872 return;
873 m_webFrame->client()->didChangeName(m_webFrame, name); 873 m_webFrame->client()->didChangeName(m_webFrame, name);
874 } 874 }
875 875
876 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking()
877 {
878 if (!m_webFrame->client())
879 return;
880 m_webFrame->client()->didEnforceStrictMixedContentChecking();
881 }
882
876 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag s flags) 883 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag s flags)
877 { 884 {
878 if (!m_webFrame->client()) 885 if (!m_webFrame->client())
879 return; 886 return;
880 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); 887 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags));
881 } 888 }
882 889
883 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement) 890 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement)
884 { 891 {
885 if (!m_webFrame->client()) 892 if (!m_webFrame->client())
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 986
980 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type) 987 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type)
981 { 988 {
982 if (m_webFrame->client()) { 989 if (m_webFrame->client()) {
983 m_webFrame->client()->suddenTerminationDisablerChanged( 990 m_webFrame->client()->suddenTerminationDisablerChanged(
984 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type)); 991 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type));
985 } 992 }
986 } 993 }
987 994
988 } // namespace blink 995 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698