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 | 10 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 156 |
157 bool ContentRendererClient::IsExternalPepperPlugin( | 157 bool ContentRendererClient::IsExternalPepperPlugin( |
158 const std::string& module_name) { | 158 const std::string& module_name) { |
159 return false; | 159 return false; |
160 } | 160 } |
161 | 161 |
162 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { | 162 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { |
163 return false; | 163 return false; |
164 } | 164 } |
165 | 165 |
166 void ContentRendererClient::AddKeySystems( | |
167 std::vector<media::KeySystemInfo>* key_systems) { | |
168 } | |
169 | |
170 void ContentRendererClient::AddSupportedKeySystems( | 166 void ContentRendererClient::AddSupportedKeySystems( |
171 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems) {} | 167 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems) {} |
172 | 168 |
173 std::unique_ptr<media::RendererFactory> | 169 std::unique_ptr<media::RendererFactory> |
174 ContentRendererClient::CreateMediaRendererFactory( | 170 ContentRendererClient::CreateMediaRendererFactory( |
175 RenderFrame* render_frame, | 171 RenderFrame* render_frame, |
176 media::GpuVideoAcceleratorFactories* gpu_factories, | 172 media::GpuVideoAcceleratorFactories* gpu_factories, |
177 const scoped_refptr<media::MediaLog>& media_log) { | 173 const scoped_refptr<media::MediaLog>& media_log) { |
178 return nullptr; | 174 return nullptr; |
179 } | 175 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 std::unique_ptr<blink::WebAppBannerClient> | 222 std::unique_ptr<blink::WebAppBannerClient> |
227 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { | 223 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { |
228 return nullptr; | 224 return nullptr; |
229 } | 225 } |
230 | 226 |
231 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 227 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
232 return true; | 228 return true; |
233 } | 229 } |
234 | 230 |
235 } // namespace content | 231 } // namespace content |
OLD | NEW |