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 "url/gurl.h" | 11 #include "url/gurl.h" |
11 | 12 |
12 namespace content { | 13 namespace content { |
13 | 14 |
14 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 15 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
15 return nullptr; | 16 return nullptr; |
16 } | 17 } |
17 | 18 |
18 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { | 19 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { |
19 return nullptr; | 20 return nullptr; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 std::unique_ptr<MediaStreamRendererFactory> | 179 std::unique_ptr<MediaStreamRendererFactory> |
179 ContentRendererClient::CreateMediaStreamRendererFactory() { | 180 ContentRendererClient::CreateMediaStreamRendererFactory() { |
180 return nullptr; | 181 return nullptr; |
181 } | 182 } |
182 | 183 |
183 cc::ImageSerializationProcessor* | 184 cc::ImageSerializationProcessor* |
184 ContentRendererClient::GetImageSerializationProcessor() { | 185 ContentRendererClient::GetImageSerializationProcessor() { |
185 return nullptr; | 186 return nullptr; |
186 } | 187 } |
187 | 188 |
| 189 std::unique_ptr<gfx::ICCProfile> |
| 190 ContentRendererClient::GetImageDecodeColorProfile() { |
| 191 return nullptr; |
| 192 } |
| 193 |
188 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 194 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
189 const base::string16& source) const { | 195 const base::string16& source) const { |
190 return false; | 196 return false; |
191 } | 197 } |
192 | 198 |
193 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { | 199 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { |
194 return true; | 200 return true; |
195 } | 201 } |
196 | 202 |
197 blink::WebWorkerContentSettingsClientProxy* | 203 blink::WebWorkerContentSettingsClientProxy* |
(...skipping 29 matching lines...) Expand all Loading... |
227 | 233 |
228 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { | 234 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { |
229 return true; | 235 return true; |
230 } | 236 } |
231 | 237 |
232 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { | 238 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { |
233 return GURL(); | 239 return GURL(); |
234 } | 240 } |
235 | 241 |
236 } // namespace content | 242 } // namespace content |
OLD | NEW |