| 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 DEFINE_STATIC_LOCAL(ChromeClient, dummyChromeClient, | 48 DEFINE_STATIC_LOCAL(ChromeClient, dummyChromeClient, |
| 50 (EmptyChromeClient::create())); | 49 (EmptyChromeClient::create())); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 return nullptr; | 153 return nullptr; |
| 155 } | 154 } |
| 156 | 155 |
| 157 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer( | 156 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer( |
| 158 HTMLMediaElement&, | 157 HTMLMediaElement&, |
| 159 const WebMediaPlayerSource&, | 158 const WebMediaPlayerSource&, |
| 160 WebMediaPlayerClient*) { | 159 WebMediaPlayerClient*) { |
| 161 return nullptr; | 160 return nullptr; |
| 162 } | 161 } |
| 163 | 162 |
| 164 std::unique_ptr<WebMediaSession> | |
| 165 EmptyFrameLoaderClient::createWebMediaSession() { | |
| 166 return nullptr; | |
| 167 } | |
| 168 | |
| 169 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {} | 163 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {} |
| 170 | 164 |
| 171 void EmptyTextCheckerClient::cancelAllPendingRequests() {} | 165 void EmptyTextCheckerClient::cancelAllPendingRequests() {} |
| 172 | 166 |
| 173 std::unique_ptr<WebServiceWorkerProvider> | 167 std::unique_ptr<WebServiceWorkerProvider> |
| 174 EmptyFrameLoaderClient::createServiceWorkerProvider() { | 168 EmptyFrameLoaderClient::createServiceWorkerProvider() { |
| 175 return nullptr; | 169 return nullptr; |
| 176 } | 170 } |
| 177 | 171 |
| 178 std::unique_ptr<WebApplicationCacheHost> | 172 std::unique_ptr<WebApplicationCacheHost> |
| 179 EmptyFrameLoaderClient::createApplicationCacheHost( | 173 EmptyFrameLoaderClient::createApplicationCacheHost( |
| 180 WebApplicationCacheHostClient*) { | 174 WebApplicationCacheHostClient*) { |
| 181 return nullptr; | 175 return nullptr; |
| 182 } | 176 } |
| 183 | 177 |
| 184 } // namespace blink | 178 } // namespace blink |
| OLD | NEW |