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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 static_cast<WebContentSecurityPolicyType>(type), | 931 static_cast<WebContentSecurityPolicyType>(type), |
932 static_cast<WebContentSecurityPolicySource>(source)); | 932 static_cast<WebContentSecurityPolicySource>(source)); |
933 } | 933 } |
934 } | 934 } |
935 | 935 |
936 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) | 936 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) |
937 { | 937 { |
938 if (!m_webFrame->client()) | 938 if (!m_webFrame->client()) |
939 return; | 939 return; |
940 | 940 |
941 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram
eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode()
, frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow
Fullscreen())); | 941 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram
eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode()
, frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow
Fullscreen(), frameElement->delegatedPermissions())); |
942 } | 942 } |
943 | 943 |
944 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) | 944 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
945 { | 945 { |
946 m_webFrame->client()->willOpenWebSocket(handle); | 946 m_webFrame->client()->willOpenWebSocket(handle); |
947 } | 947 } |
948 | 948 |
949 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) | 949 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) |
950 { | 950 { |
951 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); | 951 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1031 } | 1031 } |
1032 | 1032 |
1033 WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType() | 1033 WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType() |
1034 { | 1034 { |
1035 if (m_webFrame->client()) | 1035 if (m_webFrame->client()) |
1036 return m_webFrame->client()->getEffectiveConnectionType(); | 1036 return m_webFrame->client()->getEffectiveConnectionType(); |
1037 return WebEffectiveConnectionType::TypeUnknown; | 1037 return WebEffectiveConnectionType::TypeUnknown; |
1038 } | 1038 } |
1039 | 1039 |
1040 } // namespace blink | 1040 } // namespace blink |
OLD | NEW |