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

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: Update TODOs Created 4 years, 3 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 b7b042f987c1daba9f8c0e42b04e65bee98f5af2..81f2533054e62a1665b536fa1539a9e15ceb32dc 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(
« no previous file with comments | « components/test_runner/helper/layout_test_helper_mac.mm ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698