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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 #include "modules/device_orientation/DeviceMotionController.h" | 77 #include "modules/device_orientation/DeviceMotionController.h" |
78 #include "modules/device_orientation/DeviceOrientationController.h" | 78 #include "modules/device_orientation/DeviceOrientationController.h" |
79 #include "platform/MIMETypeRegistry.h" | 79 #include "platform/MIMETypeRegistry.h" |
80 #include "platform/UserGestureIndicator.h" | 80 #include "platform/UserGestureIndicator.h" |
81 #include "platform/exported/WrappedResourceRequest.h" | 81 #include "platform/exported/WrappedResourceRequest.h" |
82 #include "platform/exported/WrappedResourceResponse.h" | 82 #include "platform/exported/WrappedResourceResponse.h" |
83 #include "platform/network/HTTPParsers.h" | 83 #include "platform/network/HTTPParsers.h" |
84 #include "platform/network/SocketStreamHandleInternal.h" | 84 #include "platform/network/SocketStreamHandleInternal.h" |
85 #include "platform/plugins/PluginData.h" | 85 #include "platform/plugins/PluginData.h" |
86 #include "public/platform/Platform.h" | 86 #include "public/platform/Platform.h" |
| 87 #include "public/platform/WebApplicationCacheHost.h" |
87 #include "public/platform/WebMimeRegistry.h" | 88 #include "public/platform/WebMimeRegistry.h" |
88 #include "public/platform/WebRTCPeerConnectionHandler.h" | 89 #include "public/platform/WebRTCPeerConnectionHandler.h" |
89 #include "public/platform/WebServiceWorkerProvider.h" | 90 #include "public/platform/WebServiceWorkerProvider.h" |
90 #include "public/platform/WebServiceWorkerProviderClient.h" | 91 #include "public/platform/WebServiceWorkerProviderClient.h" |
91 #include "public/platform/WebSocketStreamHandle.h" | 92 #include "public/platform/WebSocketStreamHandle.h" |
92 #include "public/platform/WebURL.h" | 93 #include "public/platform/WebURL.h" |
93 #include "public/platform/WebURLError.h" | 94 #include "public/platform/WebURLError.h" |
94 #include "public/platform/WebVector.h" | 95 #include "public/platform/WebVector.h" |
95 #include "wtf/StringExtras.h" | 96 #include "wtf/StringExtras.h" |
96 #include "wtf/text/CString.h" | 97 #include "wtf/text/CString.h" |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 if (!m_webFrame->client()) | 739 if (!m_webFrame->client()) |
739 return nullptr; | 740 return nullptr; |
740 return adoptPtr(m_webFrame->client()->createServiceWorkerProvider(m_webFrame
, client.leakPtr())); | 741 return adoptPtr(m_webFrame->client()->createServiceWorkerProvider(m_webFrame
, client.leakPtr())); |
741 } | 742 } |
742 | 743 |
743 SharedWorkerRepositoryClient* FrameLoaderClientImpl::sharedWorkerRepositoryClien
t() | 744 SharedWorkerRepositoryClient* FrameLoaderClientImpl::sharedWorkerRepositoryClien
t() |
744 { | 745 { |
745 return m_webFrame->sharedWorkerRepositoryClient(); | 746 return m_webFrame->sharedWorkerRepositoryClient(); |
746 } | 747 } |
747 | 748 |
| 749 PassOwnPtr<WebApplicationCacheHost> FrameLoaderClientImpl::createApplicationCach
eHost(WebApplicationCacheHostClient* client) |
| 750 { |
| 751 if (!m_webFrame->client()) |
| 752 return nullptr; |
| 753 return adoptPtr(m_webFrame->client()->createApplicationCacheHost(m_webFrame,
client)); |
| 754 } |
| 755 |
748 void FrameLoaderClientImpl::didStopAllLoaders() | 756 void FrameLoaderClientImpl::didStopAllLoaders() |
749 { | 757 { |
750 if (m_webFrame->client()) | 758 if (m_webFrame->client()) |
751 m_webFrame->client()->didAbortLoading(m_webFrame); | 759 m_webFrame->client()->didAbortLoading(m_webFrame); |
752 } | 760 } |
753 | 761 |
754 } // namespace blink | 762 } // namespace blink |
OLD | NEW |