| 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 static_cast<WebContentSecurityPolicyType>(type), | 897 static_cast<WebContentSecurityPolicyType>(type), |
| 898 static_cast<WebContentSecurityPolicySource>(source)); | 898 static_cast<WebContentSecurityPolicySource>(source)); |
| 899 } | 899 } |
| 900 } | 900 } |
| 901 | 901 |
| 902 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) | 902 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) |
| 903 { | 903 { |
| 904 if (!m_webFrame->client()) | 904 if (!m_webFrame->client()) |
| 905 return; | 905 return; |
| 906 | 906 |
| 907 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram
eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode()
, frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow
Fullscreen(), frameElement->delegatedPermissions())); | 907 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram
eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode()
, frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow
Fullscreen(), frameElement->allowVR(), frameElement->delegatedPermissions())); |
| 908 } | 908 } |
| 909 | 909 |
| 910 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) | 910 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) |
| 911 { | 911 { |
| 912 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); | 912 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); |
| 913 } | 913 } |
| 914 | 914 |
| 915 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) | 915 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) |
| 916 { | 916 { |
| 917 if (m_webFrame->client()) | 917 if (m_webFrame->client()) |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 { | 1002 { |
| 1003 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())->
devToolsAgentImpl(); | 1003 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())->
devToolsAgentImpl(); |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) | 1006 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) |
| 1007 { | 1007 { |
| 1008 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 1008 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 } // namespace blink | 1011 } // namespace blink |
| OLD | NEW |