| 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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |