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 19 matching lines...) Expand all Loading... |
30 #include "core/frame/LocalFrame.h" | 30 #include "core/frame/LocalFrame.h" |
31 #include "core/html/HTMLFormElement.h" | 31 #include "core/html/HTMLFormElement.h" |
32 #include "core/html/forms/ColorChooser.h" | 32 #include "core/html/forms/ColorChooser.h" |
33 #include "core/html/forms/DateTimeChooser.h" | 33 #include "core/html/forms/DateTimeChooser.h" |
34 #include "core/loader/DocumentLoader.h" | 34 #include "core/loader/DocumentLoader.h" |
35 #include "platform/FileChooser.h" | 35 #include "platform/FileChooser.h" |
36 #include "platform/Widget.h" | 36 #include "platform/Widget.h" |
37 #include "public/platform/Platform.h" | 37 #include "public/platform/Platform.h" |
38 #include "public/platform/WebApplicationCacheHost.h" | 38 #include "public/platform/WebApplicationCacheHost.h" |
39 #include "public/platform/WebMediaPlayer.h" | 39 #include "public/platform/WebMediaPlayer.h" |
40 #include "public/platform/modules/mediasession/WebMediaSession.h" | |
41 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" | 40 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" |
42 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" | 41 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" |
43 #include "wtf/PtrUtil.h" | 42 #include "wtf/PtrUtil.h" |
44 #include <memory> | 43 #include <memory> |
45 | 44 |
46 namespace blink { | 45 namespace blink { |
47 | 46 |
48 void fillWithEmptyClients(Page::PageClients& pageClients) | 47 void fillWithEmptyClients(Page::PageClients& pageClients) |
49 { | 48 { |
50 DEFINE_STATIC_LOCAL(ChromeClient, dummyChromeClient, (EmptyChromeClient::cre
ate())); | 49 DEFINE_STATIC_LOCAL(ChromeClient, dummyChromeClient, (EmptyChromeClient::cre
ate())); |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 Widget* EmptyFrameLoaderClient::createPlugin(HTMLPlugInElement*, const KURL&, co
nst Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginP
olicy) | 149 Widget* EmptyFrameLoaderClient::createPlugin(HTMLPlugInElement*, const KURL&, co
nst Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginP
olicy) |
151 { | 150 { |
152 return nullptr; | 151 return nullptr; |
153 } | 152 } |
154 | 153 |
155 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTM
LMediaElement&, const WebMediaPlayerSource&, WebMediaPlayerClient*) | 154 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTM
LMediaElement&, const WebMediaPlayerSource&, WebMediaPlayerClient*) |
156 { | 155 { |
157 return nullptr; | 156 return nullptr; |
158 } | 157 } |
159 | 158 |
160 std::unique_ptr<WebMediaSession> EmptyFrameLoaderClient::createWebMediaSession() | |
161 { | |
162 return nullptr; | |
163 } | |
164 | |
165 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) | 159 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) |
166 { | 160 { |
167 } | 161 } |
168 | 162 |
169 void EmptyTextCheckerClient::cancelAllPendingRequests() | 163 void EmptyTextCheckerClient::cancelAllPendingRequests() |
170 { | 164 { |
171 } | 165 } |
172 | 166 |
173 std::unique_ptr<WebServiceWorkerProvider> EmptyFrameLoaderClient::createServiceW
orkerProvider() | 167 std::unique_ptr<WebServiceWorkerProvider> EmptyFrameLoaderClient::createServiceW
orkerProvider() |
174 { | 168 { |
175 return nullptr; | 169 return nullptr; |
176 } | 170 } |
177 | 171 |
178 std::unique_ptr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicati
onCacheHost(WebApplicationCacheHostClient*) | 172 std::unique_ptr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicati
onCacheHost(WebApplicationCacheHostClient*) |
179 { | 173 { |
180 return nullptr; | 174 return nullptr; |
181 } | 175 } |
182 | 176 |
183 } // namespace blink | 177 } // namespace blink |
OLD | NEW |