| 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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 m_webFrame->client()->didChangeName(name, uniqueName); | 907 m_webFrame->client()->didChangeName(name, uniqueName); |
| 908 } | 908 } |
| 909 | 909 |
| 910 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking() | 910 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking() |
| 911 { | 911 { |
| 912 if (!m_webFrame->client()) | 912 if (!m_webFrame->client()) |
| 913 return; | 913 return; |
| 914 m_webFrame->client()->didEnforceStrictMixedContentChecking(); | 914 m_webFrame->client()->didEnforceStrictMixedContentChecking(); |
| 915 } | 915 } |
| 916 | 916 |
| 917 void FrameLoaderClientImpl::didSetUniqueOriginPotentiallyTrustworthy() |
| 918 { |
| 919 if (!m_webFrame->client()) |
| 920 return; |
| 921 m_webFrame->client()->didSetUniqueOriginPotentiallyTrustworthy(); |
| 922 } |
| 923 |
| 917 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag
s flags) | 924 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag
s flags) |
| 918 { | 925 { |
| 919 if (!m_webFrame->client()) | 926 if (!m_webFrame->client()) |
| 920 return; | 927 return; |
| 921 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame),
static_cast<WebSandboxFlags>(flags)); | 928 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame),
static_cast<WebSandboxFlags>(flags)); |
| 922 } | 929 } |
| 923 | 930 |
| 924 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) | 931 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) |
| 925 { | 932 { |
| 926 if (!m_webFrame->client()) | 933 if (!m_webFrame->client()) |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1023 | 1030 |
| 1024 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 1031 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 1025 { | 1032 { |
| 1026 if (m_webFrame->client()) { | 1033 if (m_webFrame->client()) { |
| 1027 m_webFrame->client()->suddenTerminationDisablerChanged( | 1034 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 1028 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 1035 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 1029 } | 1036 } |
| 1030 } | 1037 } |
| 1031 | 1038 |
| 1032 } // namespace blink | 1039 } // namespace blink |
| OLD | NEW |