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