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 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 14 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
14 return nullptr; | 15 return nullptr; |
15 } | 16 } |
16 | 17 |
17 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { | 18 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { |
18 return nullptr; | 19 return nullptr; |
19 } | 20 } |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 std::unique_ptr<MediaStreamRendererFactory> | 178 std::unique_ptr<MediaStreamRendererFactory> |
178 ContentRendererClient::CreateMediaStreamRendererFactory() { | 179 ContentRendererClient::CreateMediaStreamRendererFactory() { |
179 return nullptr; | 180 return nullptr; |
180 } | 181 } |
181 | 182 |
182 cc::ImageSerializationProcessor* | 183 cc::ImageSerializationProcessor* |
183 ContentRendererClient::GetImageSerializationProcessor() { | 184 ContentRendererClient::GetImageSerializationProcessor() { |
184 return nullptr; | 185 return nullptr; |
185 } | 186 } |
186 | 187 |
| 188 std::unique_ptr<gfx::ICCProfile> |
| 189 ContentRendererClient::GetImageDecodeColorProfile() { |
| 190 return nullptr; |
| 191 } |
| 192 |
187 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 193 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
188 const base::string16& source) const { | 194 const base::string16& source) const { |
189 return false; | 195 return false; |
190 } | 196 } |
191 | 197 |
192 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { | 198 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { |
193 return true; | 199 return true; |
194 } | 200 } |
195 | 201 |
196 blink::WebWorkerContentSettingsClientProxy* | 202 blink::WebWorkerContentSettingsClientProxy* |
(...skipping 25 matching lines...) Expand all Loading... |
222 std::unique_ptr<blink::WebAppBannerClient> | 228 std::unique_ptr<blink::WebAppBannerClient> |
223 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { | 229 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { |
224 return nullptr; | 230 return nullptr; |
225 } | 231 } |
226 | 232 |
227 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 233 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
228 return true; | 234 return true; |
229 } | 235 } |
230 | 236 |
231 } // namespace content | 237 } // namespace content |
OLD | NEW |