Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.cpp

Issue 2484973005: [Blink, RemotePlaybackAPI] Create WebRemotePlaybackClient in HTMLMediaElement ctor to avoid lazy in… (Closed)
Patch Set: Removed <v8.h> from HTMLMediaElement.cpp Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 return nullptr; 165 return nullptr;
166 } 166 }
167 167
168 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer( 168 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(
169 HTMLMediaElement&, 169 HTMLMediaElement&,
170 const WebMediaPlayerSource&, 170 const WebMediaPlayerSource&,
171 WebMediaPlayerClient*) { 171 WebMediaPlayerClient*) {
172 return nullptr; 172 return nullptr;
173 } 173 }
174 174
175 WebRemotePlaybackClient* EmptyFrameLoaderClient::createWebRemotePlaybackClient(
176 HTMLMediaElement&) {
177 return nullptr;
178 }
179
175 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {} 180 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {}
176 181
177 void EmptyTextCheckerClient::cancelAllPendingRequests() {} 182 void EmptyTextCheckerClient::cancelAllPendingRequests() {}
178 183
179 std::unique_ptr<WebServiceWorkerProvider> 184 std::unique_ptr<WebServiceWorkerProvider>
180 EmptyFrameLoaderClient::createServiceWorkerProvider() { 185 EmptyFrameLoaderClient::createServiceWorkerProvider() {
181 return nullptr; 186 return nullptr;
182 } 187 }
183 188
184 std::unique_ptr<WebApplicationCacheHost> 189 std::unique_ptr<WebApplicationCacheHost>
185 EmptyFrameLoaderClient::createApplicationCacheHost( 190 EmptyFrameLoaderClient::createApplicationCacheHost(
186 WebApplicationCacheHostClient*) { 191 WebApplicationCacheHostClient*) {
187 return nullptr; 192 return nullptr;
188 } 193 }
189 194
190 } // namespace blink 195 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698