| 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 if (!m_webFrame->client()) | 911 if (!m_webFrame->client()) |
| 912 return; | 912 return; |
| 913 | 913 |
| 914 m_webFrame->client()->didChangeFrameOwnerProperties( | 914 m_webFrame->client()->didChangeFrameOwnerProperties( |
| 915 WebFrame::fromFrame(frameElement->contentFrame()), | 915 WebFrame::fromFrame(frameElement->contentFrame()), |
| 916 WebFrameOwnerProperties( | 916 WebFrameOwnerProperties( |
| 917 frameElement->browsingContextContainerName(), | 917 frameElement->browsingContextContainerName(), |
| 918 frameElement->scrollingMode(), frameElement->marginWidth(), | 918 frameElement->scrollingMode(), frameElement->marginWidth(), |
| 919 frameElement->marginHeight(), frameElement->allowFullscreen(), | 919 frameElement->marginHeight(), frameElement->allowFullscreen(), |
| 920 frameElement->allowPaymentRequest(), frameElement->csp(), | 920 frameElement->allowPaymentRequest(), frameElement->csp(), |
| 921 frameElement->delegatedPermissions(), | |
| 922 frameElement->allowedFeatures())); | 921 frameElement->allowedFeatures())); |
| 923 } | 922 } |
| 924 | 923 |
| 925 void LocalFrameClientImpl::dispatchWillStartUsingPeerConnectionHandler( | 924 void LocalFrameClientImpl::dispatchWillStartUsingPeerConnectionHandler( |
| 926 WebRTCPeerConnectionHandler* handler) { | 925 WebRTCPeerConnectionHandler* handler) { |
| 927 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); | 926 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); |
| 928 } | 927 } |
| 929 | 928 |
| 930 bool LocalFrameClientImpl::allowWebGL(bool enabledPerSettings) { | 929 bool LocalFrameClientImpl::allowWebGL(bool enabledPerSettings) { |
| 931 if (m_webFrame->client()) | 930 if (m_webFrame->client()) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1021 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { | 1020 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { |
| 1022 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 1021 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
| 1023 } | 1022 } |
| 1024 | 1023 |
| 1025 void LocalFrameClientImpl::setHasReceivedUserGesture() { | 1024 void LocalFrameClientImpl::setHasReceivedUserGesture() { |
| 1026 if (m_webFrame->client()) | 1025 if (m_webFrame->client()) |
| 1027 m_webFrame->client()->setHasReceivedUserGesture(); | 1026 m_webFrame->client()->setHasReceivedUserGesture(); |
| 1028 } | 1027 } |
| 1029 | 1028 |
| 1030 } // namespace blink | 1029 } // namespace blink |
| OLD | NEW |