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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 166 void ContentRendererClient::AddKeySystems( |
167 std::vector<media::KeySystemInfo>* key_systems) { | 167 std::vector<media::KeySystemInfo>* key_systems) { |
168 } | 168 } |
169 | 169 |
170 scoped_ptr<media::RendererFactory> | 170 std::unique_ptr<media::RendererFactory> |
171 ContentRendererClient::CreateMediaRendererFactory( | 171 ContentRendererClient::CreateMediaRendererFactory( |
172 RenderFrame* render_frame, | 172 RenderFrame* render_frame, |
173 media::GpuVideoAcceleratorFactories* gpu_factories, | 173 media::GpuVideoAcceleratorFactories* gpu_factories, |
174 const scoped_refptr<media::MediaLog>& media_log) { | 174 const scoped_refptr<media::MediaLog>& media_log) { |
175 return nullptr; | 175 return nullptr; |
176 } | 176 } |
177 | 177 |
178 scoped_ptr<MediaStreamRendererFactory> | 178 std::unique_ptr<MediaStreamRendererFactory> |
179 ContentRendererClient::CreateMediaStreamRendererFactory() { | 179 ContentRendererClient::CreateMediaStreamRendererFactory() { |
180 return nullptr; | 180 return nullptr; |
181 } | 181 } |
182 | 182 |
183 cc::ImageSerializationProcessor* | 183 cc::ImageSerializationProcessor* |
184 ContentRendererClient::GetImageSerializationProcessor() { | 184 ContentRendererClient::GetImageSerializationProcessor() { |
185 return nullptr; | 185 return nullptr; |
186 } | 186 } |
187 | 187 |
188 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 188 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
(...skipping 24 matching lines...) Expand all Loading... |
213 return false; | 213 return false; |
214 } | 214 } |
215 | 215 |
216 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( | 216 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( |
217 RenderFrame* render_frame, | 217 RenderFrame* render_frame, |
218 const std::string& mime_type, | 218 const std::string& mime_type, |
219 const GURL& original_url) { | 219 const GURL& original_url) { |
220 return nullptr; | 220 return nullptr; |
221 } | 221 } |
222 | 222 |
223 scoped_ptr<blink::WebAppBannerClient> | 223 std::unique_ptr<blink::WebAppBannerClient> |
224 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { | 224 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { |
225 return nullptr; | 225 return nullptr; |
226 } | 226 } |
227 | 227 |
228 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 228 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
229 return true; | 229 return true; |
230 } | 230 } |
231 | 231 |
232 } // namespace content | 232 } // namespace content |
OLD | NEW |