Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2226733003: Color: Clean up color profile handling for layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Fix windows Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 9ad5aef7eacd5e0befb7bb48aa122e563e3ea9c8..31aba39b6dabac41345e05b97b2eb173145499d9 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -60,6 +60,10 @@ namespace cc {
class ImageSerializationProcessor;
}
+namespace gfx {
+class ICCProfile;
+}
+
namespace media {
class GpuVideoAcceleratorFactories;
class KeySystemProperties;
@@ -270,9 +274,12 @@ class CONTENT_EXPORT ContentRendererClient {
virtual std::unique_ptr<MediaStreamRendererFactory>
CreateMediaStreamRendererFactory();
- // Allows an embedder to provde a cc::ImageSerializationProcessor.
+ // Allows an embedder to provide a cc::ImageSerializationProcessor.
virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor();
+ // Allows an embedder to provide a default image decode color space.
+ virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile();
+
// Gives the embedder a chance to register the key system(s) it supports by
// populating |key_systems|.
virtual void AddSupportedKeySystems(

Powered by Google App Engine
This is Rietveld 408576698