| 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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 return m_webFrame->client()->willCheckAndDispatchMessageEvent( | 896 return m_webFrame->client()->willCheckAndDispatchMessageEvent( |
| 897 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin
(target), WebDOMMessageEvent(event)); | 897 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin
(target), WebDOMMessageEvent(event)); |
| 898 } | 898 } |
| 899 | 899 |
| 900 void FrameLoaderClientImpl::frameFocused() const | 900 void FrameLoaderClientImpl::frameFocused() const |
| 901 { | 901 { |
| 902 if (m_webFrame->client()) | 902 if (m_webFrame->client()) |
| 903 m_webFrame->client()->frameFocused(); | 903 m_webFrame->client()->frameFocused(); |
| 904 } | 904 } |
| 905 | 905 |
| 906 void FrameLoaderClientImpl::didChangeName(const String& name) | 906 void FrameLoaderClientImpl::didChangeName(const String& name, const String& uniq
ueName) |
| 907 { | 907 { |
| 908 if (!m_webFrame->client()) | 908 if (!m_webFrame->client()) |
| 909 return; | 909 return; |
| 910 m_webFrame->client()->didChangeName(m_webFrame, name); | 910 m_webFrame->client()->didChangeName(m_webFrame, name, uniqueName); |
| 911 } | 911 } |
| 912 | 912 |
| 913 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking() | 913 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking() |
| 914 { | 914 { |
| 915 if (!m_webFrame->client()) | 915 if (!m_webFrame->client()) |
| 916 return; | 916 return; |
| 917 m_webFrame->client()->didEnforceStrictMixedContentChecking(); | 917 m_webFrame->client()->didEnforceStrictMixedContentChecking(); |
| 918 } | 918 } |
| 919 | 919 |
| 920 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag
s flags) | 920 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag
s flags) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1026 | 1026 |
| 1027 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 1027 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 1028 { | 1028 { |
| 1029 if (m_webFrame->client()) { | 1029 if (m_webFrame->client()) { |
| 1030 m_webFrame->client()->suddenTerminationDisablerChanged( | 1030 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 1031 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 1031 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 1032 } | 1032 } |
| 1033 } | 1033 } |
| 1034 | 1034 |
| 1035 } // namespace blink | 1035 } // namespace blink |
| OLD | NEW |