| 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 m_webFrame->client()->didChangeName(m_webFrame, name); | 839 m_webFrame->client()->didChangeName(m_webFrame, name); |
| 840 } | 840 } |
| 841 | 841 |
| 842 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag
s flags) | 842 void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame, SandboxFlag
s flags) |
| 843 { | 843 { |
| 844 if (!m_webFrame->client()) | 844 if (!m_webFrame->client()) |
| 845 return; | 845 return; |
| 846 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame),
static_cast<WebSandboxFlags>(flags)); | 846 m_webFrame->client()->didChangeSandboxFlags(WebFrame::fromFrame(childFrame),
static_cast<WebSandboxFlags>(flags)); |
| 847 } | 847 } |
| 848 | 848 |
| 849 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(Frame* childFrame, Scr
ollbarMode scrollingMode, int marginWidth, int marginHeight) |
| 850 { |
| 851 if (!m_webFrame->client()) |
| 852 return; |
| 853 |
| 854 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(chil
dFrame), WebFrameOwnerProperties(static_cast<WebFrameOwnerProperties::ScrollingM
ode>(scrollingMode), marginWidth, marginHeight)); |
| 855 } |
| 856 |
| 849 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) | 857 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
| 850 { | 858 { |
| 851 m_webFrame->client()->willOpenWebSocket(handle); | 859 m_webFrame->client()->willOpenWebSocket(handle); |
| 852 } | 860 } |
| 853 | 861 |
| 854 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) | 862 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) |
| 855 { | 863 { |
| 856 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle
r); | 864 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle
r); |
| 857 } | 865 } |
| 858 | 866 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 | 951 |
| 944 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 952 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 945 { | 953 { |
| 946 if (m_webFrame->client()) { | 954 if (m_webFrame->client()) { |
| 947 m_webFrame->client()->suddenTerminationDisablerChanged( | 955 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 948 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 956 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 949 } | 957 } |
| 950 } | 958 } |
| 951 | 959 |
| 952 } // namespace blink | 960 } // namespace blink |
| OLD | NEW |