OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 15 matching lines...) Expand all Loading... |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "core/loader/EmptyClients.h" | 29 #include "core/loader/EmptyClients.h" |
30 | 30 |
31 #include "core/frame/LocalFrame.h" | 31 #include "core/frame/LocalFrame.h" |
32 #include "core/html/HTMLFormElement.h" | 32 #include "core/html/HTMLFormElement.h" |
33 #include "core/html/forms/ColorChooser.h" | 33 #include "core/html/forms/ColorChooser.h" |
34 #include "core/html/forms/DateTimeChooser.h" | 34 #include "core/html/forms/DateTimeChooser.h" |
35 #include "core/loader/DocumentLoader.h" | 35 #include "core/loader/DocumentLoader.h" |
36 #include "core/plugins/PluginPlaceholder.h" | |
37 #include "platform/FileChooser.h" | 36 #include "platform/FileChooser.h" |
38 #include "platform/Widget.h" | 37 #include "platform/Widget.h" |
39 #include "public/platform/WebApplicationCacheHost.h" | 38 #include "public/platform/WebApplicationCacheHost.h" |
40 #include "public/platform/WebMediaPlayer.h" | 39 #include "public/platform/WebMediaPlayer.h" |
41 #include "public/platform/WebServiceWorkerProvider.h" | 40 #include "public/platform/WebServiceWorkerProvider.h" |
42 #include "public/platform/WebServiceWorkerProviderClient.h" | 41 #include "public/platform/WebServiceWorkerProviderClient.h" |
43 | 42 |
44 namespace blink { | 43 namespace blink { |
45 | 44 |
46 void fillWithEmptyClients(Page::PageClients& pageClients) | 45 void fillWithEmptyClients(Page::PageClients& pageClients) |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 PassRefPtrWillBeRawPtr<DocumentLoader> EmptyFrameLoaderClient::createDocumentLoa
der(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& sub
stituteData) | 112 PassRefPtrWillBeRawPtr<DocumentLoader> EmptyFrameLoaderClient::createDocumentLoa
der(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& sub
stituteData) |
114 { | 113 { |
115 return DocumentLoader::create(frame, request, substituteData); | 114 return DocumentLoader::create(frame, request, substituteData); |
116 } | 115 } |
117 | 116 |
118 PassRefPtrWillBeRawPtr<LocalFrame> EmptyFrameLoaderClient::createFrame(const Fra
meLoadRequest&, const AtomicString&, HTMLFrameOwnerElement*) | 117 PassRefPtrWillBeRawPtr<LocalFrame> EmptyFrameLoaderClient::createFrame(const Fra
meLoadRequest&, const AtomicString&, HTMLFrameOwnerElement*) |
119 { | 118 { |
120 return nullptr; | 119 return nullptr; |
121 } | 120 } |
122 | 121 |
123 PassOwnPtrWillBeRawPtr<PluginPlaceholder> EmptyFrameLoaderClient::createPluginPl
aceholder(Document&, const KURL&, const Vector<String>& paramNames, const Vector
<String>& paramValues, const String& mimeType, bool loadManually) | |
124 { | |
125 return nullptr; | |
126 } | |
127 | |
128 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createPlugin(HTMLPlugInEl
ement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&
, bool, DetachedPluginPolicy) | 122 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createPlugin(HTMLPlugInEl
ement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&
, bool, DetachedPluginPolicy) |
129 { | 123 { |
130 return nullptr; | 124 return nullptr; |
131 } | 125 } |
132 | 126 |
133 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(HT
MLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) | 127 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(HT
MLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) |
134 { | 128 { |
135 return nullptr; | 129 return nullptr; |
136 } | 130 } |
137 | 131 |
(...skipping 19 matching lines...) Expand all Loading... |
157 { | 151 { |
158 return nullptr; | 152 return nullptr; |
159 } | 153 } |
160 | 154 |
161 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) | 155 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) |
162 { | 156 { |
163 return nullptr; | 157 return nullptr; |
164 } | 158 } |
165 | 159 |
166 } // namespace blink | 160 } // namespace blink |
OLD | NEW |