| 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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 } | 902 } |
| 903 | 903 |
| 904 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) | 904 void FrameLoaderClientImpl::didChangeFrameOwnerProperties(HTMLFrameElementBase*
frameElement) |
| 905 { | 905 { |
| 906 if (!m_webFrame->client()) | 906 if (!m_webFrame->client()) |
| 907 return; | 907 return; |
| 908 | 908 |
| 909 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram
eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode()
, frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow
Fullscreen(), frameElement->delegatedPermissions())); | 909 m_webFrame->client()->didChangeFrameOwnerProperties(WebFrame::fromFrame(fram
eElement->contentFrame()), WebFrameOwnerProperties(frameElement->scrollingMode()
, frameElement->marginWidth(), frameElement->marginHeight(), frameElement->allow
Fullscreen(), frameElement->delegatedPermissions())); |
| 910 } | 910 } |
| 911 | 911 |
| 912 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
| 913 { |
| 914 m_webFrame->client()->willOpenWebSocket(handle); |
| 915 } |
| 916 |
| 912 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) | 917 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) |
| 913 { | 918 { |
| 914 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); | 919 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); |
| 915 } | 920 } |
| 916 | 921 |
| 917 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) | 922 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) |
| 918 { | 923 { |
| 919 if (m_webFrame->client()) | 924 if (m_webFrame->client()) |
| 920 return m_webFrame->client()->allowWebGL(enabledPerSettings); | 925 return m_webFrame->client()->allowWebGL(enabledPerSettings); |
| 921 | 926 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 { | 1009 { |
| 1005 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())->
devToolsAgentImpl(); | 1010 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())->
devToolsAgentImpl(); |
| 1006 } | 1011 } |
| 1007 | 1012 |
| 1008 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) | 1013 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) |
| 1009 { | 1014 { |
| 1010 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 1015 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
| 1011 } | 1016 } |
| 1012 | 1017 |
| 1013 } // namespace blink | 1018 } // namespace blink |
| OLD | NEW |