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

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: fix 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 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin (target), WebDOMMessageEvent(event)); 881 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin (target), WebDOMMessageEvent(event));
882 } 882 }
883 883
884 void FrameLoaderClientImpl::didChangeName(const String& name) 884 void FrameLoaderClientImpl::didChangeName(const String& name)
885 { 885 {
886 if (!m_webFrame->client()) 886 if (!m_webFrame->client())
887 return; 887 return;
888 m_webFrame->client()->didChangeName(m_webFrame, name); 888 m_webFrame->client()->didChangeName(m_webFrame, name);
889 } 889 }
890 890
891 void FrameLoaderClientImpl::didChangeShouldEnforceStrictMixedContentChecking(boo l shouldEnforce)
892 {
893 if (!m_webFrame->client())
894 return;
895 m_webFrame->client()->didChangeShouldEnforceStrictMixedContentChecking(m_web Frame, shouldEnforce);
896 }
897
891 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag s flags) 898 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag s flags)
892 { 899 {
893 if (!m_webFrame->client()) 900 if (!m_webFrame->client())
894 return; 901 return;
895 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags)); 902 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags));
896 } 903 }
897 904
898 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement) 905 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase* frameElement)
899 { 906 {
900 if (!m_webFrame->client()) 907 if (!m_webFrame->client())
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 1007
1001 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type) 1008 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type)
1002 { 1009 {
1003 if (m_webFrame->client()) { 1010 if (m_webFrame->client()) {
1004 m_webFrame->client()->suddenTerminationDisablerChanged( 1011 m_webFrame->client()->suddenTerminationDisablerChanged(
1005 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type)); 1012 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type));
1006 } 1013 }
1007 } 1014 }
1008 1015
1009 } // namespace blink 1016 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698