| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "modules/device_orientation/DeviceMotionController.h" | 54 #include "modules/device_orientation/DeviceMotionController.h" |
| 55 #include "modules/device_orientation/DeviceOrientationController.h" | 55 #include "modules/device_orientation/DeviceOrientationController.h" |
| 56 #include "modules/gamepad/NavigatorGamepad.h" | 56 #include "modules/gamepad/NavigatorGamepad.h" |
| 57 #include "modules/serviceworkers/NavigatorServiceWorker.h" | 57 #include "modules/serviceworkers/NavigatorServiceWorker.h" |
| 58 #include "platform/MIMETypeRegistry.h" | 58 #include "platform/MIMETypeRegistry.h" |
| 59 #include "platform/RuntimeEnabledFeatures.h" | 59 #include "platform/RuntimeEnabledFeatures.h" |
| 60 #include "platform/UserGestureIndicator.h" | 60 #include "platform/UserGestureIndicator.h" |
| 61 #include "platform/exported/WrappedResourceRequest.h" | 61 #include "platform/exported/WrappedResourceRequest.h" |
| 62 #include "platform/exported/WrappedResourceResponse.h" | 62 #include "platform/exported/WrappedResourceResponse.h" |
| 63 #include "platform/network/HTTPParsers.h" | 63 #include "platform/network/HTTPParsers.h" |
| 64 #include "platform/network/SocketStreamHandleInternal.h" | |
| 65 #include "platform/plugins/PluginData.h" | 64 #include "platform/plugins/PluginData.h" |
| 66 #include "public/platform/Platform.h" | 65 #include "public/platform/Platform.h" |
| 67 #include "public/platform/WebApplicationCacheHost.h" | 66 #include "public/platform/WebApplicationCacheHost.h" |
| 68 #include "public/platform/WebMimeRegistry.h" | 67 #include "public/platform/WebMimeRegistry.h" |
| 69 #include "public/platform/WebRTCPeerConnectionHandler.h" | 68 #include "public/platform/WebRTCPeerConnectionHandler.h" |
| 70 #include "public/platform/WebServiceWorkerProvider.h" | 69 #include "public/platform/WebServiceWorkerProvider.h" |
| 71 #include "public/platform/WebServiceWorkerProviderClient.h" | 70 #include "public/platform/WebServiceWorkerProviderClient.h" |
| 72 #include "public/platform/WebSocketStreamHandle.h" | |
| 73 #include "public/platform/WebURL.h" | 71 #include "public/platform/WebURL.h" |
| 74 #include "public/platform/WebURLError.h" | 72 #include "public/platform/WebURLError.h" |
| 75 #include "public/platform/WebVector.h" | 73 #include "public/platform/WebVector.h" |
| 76 #include "public/web/WebAutofillClient.h" | 74 #include "public/web/WebAutofillClient.h" |
| 77 #include "public/web/WebCachedURLRequest.h" | 75 #include "public/web/WebCachedURLRequest.h" |
| 78 #include "public/web/WebDOMEvent.h" | 76 #include "public/web/WebDOMEvent.h" |
| 79 #include "public/web/WebDocument.h" | 77 #include "public/web/WebDocument.h" |
| 80 #include "public/web/WebFormElement.h" | 78 #include "public/web/WebFormElement.h" |
| 81 #include "public/web/WebFrameClient.h" | 79 #include "public/web/WebFrameClient.h" |
| 82 #include "public/web/WebNode.h" | 80 #include "public/web/WebNode.h" |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin
(target), WebDOMMessageEvent(event)); | 769 WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin
(target), WebDOMMessageEvent(event)); |
| 772 } | 770 } |
| 773 | 771 |
| 774 void FrameLoaderClientImpl::didChangeName(const String& name) | 772 void FrameLoaderClientImpl::didChangeName(const String& name) |
| 775 { | 773 { |
| 776 if (!m_webFrame->client()) | 774 if (!m_webFrame->client()) |
| 777 return; | 775 return; |
| 778 m_webFrame->client()->didChangeName(m_webFrame, name); | 776 m_webFrame->client()->didChangeName(m_webFrame, name); |
| 779 } | 777 } |
| 780 | 778 |
| 781 void FrameLoaderClientImpl::dispatchWillOpenSocketStream(SocketStreamHandle* han
dle) | |
| 782 { | |
| 783 m_webFrame->client()->willOpenSocketStream(SocketStreamHandleInternal::toWeb
SocketStreamHandle(handle)); | |
| 784 } | |
| 785 | |
| 786 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) | 779 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
| 787 { | 780 { |
| 788 m_webFrame->client()->willOpenWebSocket(handle); | 781 m_webFrame->client()->willOpenWebSocket(handle); |
| 789 } | 782 } |
| 790 | 783 |
| 791 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) | 784 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) |
| 792 { | 785 { |
| 793 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle
r); | 786 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle
r); |
| 794 } | 787 } |
| 795 | 788 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 m_webFrame->client()->didAbortLoading(m_webFrame); | 845 m_webFrame->client()->didAbortLoading(m_webFrame); |
| 853 } | 846 } |
| 854 | 847 |
| 855 void FrameLoaderClientImpl::dispatchDidChangeManifest() | 848 void FrameLoaderClientImpl::dispatchDidChangeManifest() |
| 856 { | 849 { |
| 857 if (m_webFrame->client()) | 850 if (m_webFrame->client()) |
| 858 m_webFrame->client()->didChangeManifest(m_webFrame); | 851 m_webFrame->client()->didChangeManifest(m_webFrame); |
| 859 } | 852 } |
| 860 | 853 |
| 861 } // namespace blink | 854 } // namespace blink |
| OLD | NEW |