| 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 return m_webFrame->client()->willCheckAndDispatchMessageEvent( | 868 return m_webFrame->client()->willCheckAndDispatchMessageEvent( |
| 869 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin
(target), WebDOMMessageEvent(event)); | 869 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin
(target), WebDOMMessageEvent(event)); |
| 870 } | 870 } |
| 871 | 871 |
| 872 void FrameLoaderClientImpl::frameFocused() const | 872 void FrameLoaderClientImpl::frameFocused() const |
| 873 { | 873 { |
| 874 if (m_webFrame->client()) | 874 if (m_webFrame->client()) |
| 875 m_webFrame->client()->frameFocused(); | 875 m_webFrame->client()->frameFocused(); |
| 876 } | 876 } |
| 877 | 877 |
| 878 void FrameLoaderClientImpl::triedDisplayingInsecureContent(SecurityOrigin* origi
n, const KURL& url) const |
| 879 { |
| 880 if (m_webFrame->client()) |
| 881 return m_webFrame->client()->triedDisplayingInsecureContent(WebSecurityO
rigin(origin), WebURL(url)); |
| 882 } |
| 883 |
| 884 void FrameLoaderClientImpl::triedRunningInsecureContent(SecurityOrigin* origin,
const KURL& url) const |
| 885 { |
| 886 if (m_webFrame->client()) |
| 887 return m_webFrame->client()->triedRunningInsecureContent(WebSecurityOrig
in(origin), WebURL(url)); |
| 888 } |
| 889 |
| 878 void FrameLoaderClientImpl::didChangeName(const String& name) | 890 void FrameLoaderClientImpl::didChangeName(const String& name) |
| 879 { | 891 { |
| 880 if (!m_webFrame->client()) | 892 if (!m_webFrame->client()) |
| 881 return; | 893 return; |
| 882 m_webFrame->client()->didChangeName(m_webFrame, name); | 894 m_webFrame->client()->didChangeName(m_webFrame, name); |
| 883 } | 895 } |
| 884 | 896 |
| 885 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking() | 897 void FrameLoaderClientImpl::didEnforceStrictMixedContentChecking() |
| 886 { | 898 { |
| 887 if (!m_webFrame->client()) | 899 if (!m_webFrame->client()) |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 | 1007 |
| 996 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 1008 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 997 { | 1009 { |
| 998 if (m_webFrame->client()) { | 1010 if (m_webFrame->client()) { |
| 999 m_webFrame->client()->suddenTerminationDisablerChanged( | 1011 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 1000 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 1012 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 1001 } | 1013 } |
| 1002 } | 1014 } |
| 1003 | 1015 |
| 1004 } // namespace blink | 1016 } // namespace blink |
| OLD | NEW |