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 18 matching lines...) Expand all Loading... |
29 | 29 |
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" | |
40 #include "public/platform/modules/mediasession/WebMediaSession.h" | 39 #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 | 42 |
44 namespace blink { | 43 namespace blink { |
45 | 44 |
46 void fillWithEmptyClients(Page::PageClients& pageClients) | 45 void fillWithEmptyClients(Page::PageClients& pageClients) |
47 { | 46 { |
48 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<ChromeClient>, dummyChromeClient,
(EmptyChromeClient::create())); | 47 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<ChromeClient>, dummyChromeClient,
(EmptyChromeClient::create())); |
49 pageClients.chromeClient = dummyChromeClient.get(); | 48 pageClients.chromeClient = dummyChromeClient.get(); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 PassRefPtrWillBeRawPtr<LocalFrame> EmptyFrameLoaderClient::createFrame(const Fra
meLoadRequest&, const AtomicString&, HTMLFrameOwnerElement*) | 145 PassRefPtrWillBeRawPtr<LocalFrame> EmptyFrameLoaderClient::createFrame(const Fra
meLoadRequest&, const AtomicString&, HTMLFrameOwnerElement*) |
147 { | 146 { |
148 return nullptr; | 147 return nullptr; |
149 } | 148 } |
150 | 149 |
151 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createPlugin(HTMLPlugInEl
ement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&
, bool, DetachedPluginPolicy) | 150 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createPlugin(HTMLPlugInEl
ement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&
, bool, DetachedPluginPolicy) |
152 { | 151 { |
153 return nullptr; | 152 return nullptr; |
154 } | 153 } |
155 | 154 |
156 PassOwnPtr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTMLMedi
aElement&, const WebURL&, WebMediaPlayerClient*) | 155 PassOwnPtr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTMLMedi
aElement&, WebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) |
157 { | 156 { |
158 return nullptr; | 157 return nullptr; |
159 } | 158 } |
160 | 159 |
161 PassOwnPtr<WebMediaSession> EmptyFrameLoaderClient::createWebMediaSession() | 160 PassOwnPtr<WebMediaSession> EmptyFrameLoaderClient::createWebMediaSession() |
162 { | 161 { |
163 return nullptr; | 162 return nullptr; |
164 } | 163 } |
165 | 164 |
166 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtrWillBeRawPtr<Text
CheckingRequest>) | 165 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtrWillBeRawPtr<Text
CheckingRequest>) |
(...skipping 13 matching lines...) Expand all Loading... |
180 { | 179 { |
181 return nullptr; | 180 return nullptr; |
182 } | 181 } |
183 | 182 |
184 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) | 183 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) |
185 { | 184 { |
186 return nullptr; | 185 return nullptr; |
187 } | 186 } |
188 | 187 |
189 } // namespace blink | 188 } // namespace blink |
OLD | NEW |