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

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 18123002: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on mo time Created 7 years, 5 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
10 return NULL; 10 return NULL;
(...skipping 19 matching lines...) Expand all
30 RenderView* render_view, 30 RenderView* render_view,
31 const base::FilePath& plugin_path) { 31 const base::FilePath& plugin_path) {
32 return NULL; 32 return NULL;
33 } 33 }
34 34
35 bool ContentRendererClient::HasErrorPage(int http_status_code, 35 bool ContentRendererClient::HasErrorPage(int http_status_code,
36 std::string* error_domain) { 36 std::string* error_domain) {
37 return false; 37 return false;
38 } 38 }
39 39
40 webkit_media::WebMediaPlayerImpl* 40 void ContentRendererClient::DeferMediaLoad(RenderView* render_view,
41 ContentRendererClient::OverrideCreateWebMediaPlayer( 41 const base::Closure& closure) {
42 RenderView* render_view, 42 closure.Run();
43 WebKit::WebFrame* frame,
44 WebKit::WebMediaPlayerClient* client,
45 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
46 const webkit_media::WebMediaPlayerParams& params) {
47 return NULL;
48 } 43 }
49 44
50 WebKit::WebMediaStreamCenter* 45 WebKit::WebMediaStreamCenter*
51 ContentRendererClient::OverrideCreateWebMediaStreamCenter( 46 ContentRendererClient::OverrideCreateWebMediaStreamCenter(
52 WebKit::WebMediaStreamCenterClient* client) { 47 WebKit::WebMediaStreamCenterClient* client) {
53 return NULL; 48 return NULL;
54 } 49 }
55 50
56 WebKit::WebRTCPeerConnectionHandler* 51 WebKit::WebRTCPeerConnectionHandler*
57 ContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler( 52 ContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler(
58 WebKit::WebRTCPeerConnectionHandlerClient* client) { 53 WebKit::WebRTCPeerConnectionHandlerClient* client) {
59 return NULL; 54 return NULL;
60 } 55 }
61 56
57 webkit_media::MediaStreamClient*
58 ContentRendererClient::OverrideCreateMediaStreamClient() {
59 return NULL;
60 }
61
62 WebKit::WebMIDIAccessor* 62 WebKit::WebMIDIAccessor*
63 ContentRendererClient::OverrideCreateMIDIAccessor( 63 ContentRendererClient::OverrideCreateMIDIAccessor(
64 WebKit::WebMIDIAccessorClient* client) { 64 WebKit::WebMIDIAccessorClient* client) {
65 return NULL; 65 return NULL;
66 } 66 }
67 67
68 WebKit::WebClipboard* ContentRendererClient::OverrideWebClipboard() { 68 WebKit::WebClipboard* ContentRendererClient::OverrideWebClipboard() {
69 return NULL; 69 return NULL;
70 } 70 }
71 71
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 bool ContentRendererClient::AllowBrowserPlugin( 165 bool ContentRendererClient::AllowBrowserPlugin(
166 WebKit::WebPluginContainer* container) const { 166 WebKit::WebPluginContainer* container) const {
167 return false; 167 return false;
168 } 168 }
169 169
170 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) const { 170 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) const {
171 return false; 171 return false;
172 } 172 }
173 173
174 } // namespace content 174 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698