OLD | NEW |
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 #include "content/public/renderer/media_stream_renderer_factory.h" | 7 #include "content/public/renderer/media_stream_renderer_factory.h" |
8 #include "media/base/renderer_factory.h" | 8 #include "media/base/renderer_factory.h" |
9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
10 #include "ui/gfx/icc_profile.h" | 10 #include "ui/gfx/icc_profile.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 return false; | 161 return false; |
162 } | 162 } |
163 | 163 |
164 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { | 164 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { |
165 return false; | 165 return false; |
166 } | 166 } |
167 | 167 |
168 void ContentRendererClient::AddSupportedKeySystems( | 168 void ContentRendererClient::AddSupportedKeySystems( |
169 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems) {} | 169 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems) {} |
170 | 170 |
171 std::unique_ptr<media::RendererFactory> | |
172 ContentRendererClient::CreateMediaRendererFactory( | |
173 RenderFrame* render_frame, | |
174 media::GpuVideoAcceleratorFactories* gpu_factories, | |
175 const scoped_refptr<media::MediaLog>& media_log) { | |
176 return nullptr; | |
177 } | |
178 | |
179 std::unique_ptr<MediaStreamRendererFactory> | 171 std::unique_ptr<MediaStreamRendererFactory> |
180 ContentRendererClient::CreateMediaStreamRendererFactory() { | 172 ContentRendererClient::CreateMediaStreamRendererFactory() { |
181 return nullptr; | 173 return nullptr; |
182 } | 174 } |
183 | 175 |
184 cc::ImageSerializationProcessor* | 176 cc::ImageSerializationProcessor* |
185 ContentRendererClient::GetImageSerializationProcessor() { | 177 ContentRendererClient::GetImageSerializationProcessor() { |
186 return nullptr; | 178 return nullptr; |
187 } | 179 } |
188 | 180 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 225 |
234 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 226 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
235 return true; | 227 return true; |
236 } | 228 } |
237 | 229 |
238 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { | 230 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { |
239 return GURL(); | 231 return GURL(); |
240 } | 232 } |
241 | 233 |
242 } // namespace content | 234 } // namespace content |
OLD | NEW |