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