| 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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 void FrameLoaderClientImpl::didChangeFrameOwnerProperties( | 880 void FrameLoaderClientImpl::didChangeFrameOwnerProperties( |
| 881 HTMLFrameElementBase* frameElement) { | 881 HTMLFrameElementBase* frameElement) { |
| 882 if (!m_webFrame->client()) | 882 if (!m_webFrame->client()) |
| 883 return; | 883 return; |
| 884 | 884 |
| 885 m_webFrame->client()->didChangeFrameOwnerProperties( | 885 m_webFrame->client()->didChangeFrameOwnerProperties( |
| 886 WebFrame::fromFrame(frameElement->contentFrame()), | 886 WebFrame::fromFrame(frameElement->contentFrame()), |
| 887 WebFrameOwnerProperties( | 887 WebFrameOwnerProperties( |
| 888 frameElement->scrollingMode(), frameElement->marginWidth(), | 888 frameElement->scrollingMode(), frameElement->marginWidth(), |
| 889 frameElement->marginHeight(), frameElement->allowFullscreen(), | 889 frameElement->marginHeight(), frameElement->allowFullscreen(), |
| 890 frameElement->csp(), frameElement->delegatedPermissions())); | 890 frameElement->allowPaymentRequest(), frameElement->csp(), |
| 891 frameElement->delegatedPermissions())); |
| 891 } | 892 } |
| 892 | 893 |
| 893 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler( | 894 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler( |
| 894 WebRTCPeerConnectionHandler* handler) { | 895 WebRTCPeerConnectionHandler* handler) { |
| 895 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); | 896 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); |
| 896 } | 897 } |
| 897 | 898 |
| 898 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) { | 899 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) { |
| 899 if (m_webFrame->client()) | 900 if (m_webFrame->client()) |
| 900 return m_webFrame->client()->allowWebGL(enabledPerSettings); | 901 return m_webFrame->client()->allowWebGL(enabledPerSettings); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { | 985 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { |
| 985 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) | 986 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) |
| 986 ->devToolsAgentImpl(); | 987 ->devToolsAgentImpl(); |
| 987 } | 988 } |
| 988 | 989 |
| 989 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { | 990 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { |
| 990 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 991 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
| 991 } | 992 } |
| 992 | 993 |
| 993 } // namespace blink | 994 } // namespace blink |
| OLD | NEW |