| 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/WebAudioDevice.h" | 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" |
| 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 const media::VideoConfig& config) { | 190 const media::VideoConfig& config) { |
| 191 // Defer to media's default support. | 191 // Defer to media's default support. |
| 192 return ::media::IsSupportedVideoConfig(config); | 192 return ::media::IsSupportedVideoConfig(config); |
| 193 } | 193 } |
| 194 | 194 |
| 195 std::unique_ptr<MediaStreamRendererFactory> | 195 std::unique_ptr<MediaStreamRendererFactory> |
| 196 ContentRendererClient::CreateMediaStreamRendererFactory() { | 196 ContentRendererClient::CreateMediaStreamRendererFactory() { |
| 197 return nullptr; | 197 return nullptr; |
| 198 } | 198 } |
| 199 | 199 |
| 200 std::unique_ptr<gfx::ICCProfile> | |
| 201 ContentRendererClient::GetImageDecodeColorProfile() { | |
| 202 return nullptr; | |
| 203 } | |
| 204 | |
| 205 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 200 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 206 const base::string16& source) const { | 201 const base::string16& source) const { |
| 207 return false; | 202 return false; |
| 208 } | 203 } |
| 209 | 204 |
| 210 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { | 205 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { |
| 211 return true; | 206 return true; |
| 212 } | 207 } |
| 213 | 208 |
| 214 blink::WebWorkerContentSettingsClientProxy* | 209 blink::WebWorkerContentSettingsClientProxy* |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 std::unique_ptr<base::TaskScheduler::InitParams> | 243 std::unique_ptr<base::TaskScheduler::InitParams> |
| 249 ContentRendererClient::GetTaskSchedulerInitParams() { | 244 ContentRendererClient::GetTaskSchedulerInitParams() { |
| 250 return nullptr; | 245 return nullptr; |
| 251 } | 246 } |
| 252 | 247 |
| 253 bool ContentRendererClient::AllowMediaSuspend() { | 248 bool ContentRendererClient::AllowMediaSuspend() { |
| 254 return true; | 249 return true; |
| 255 } | 250 } |
| 256 | 251 |
| 257 } // namespace content | 252 } // namespace content |
| OLD | NEW |