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

Unified Diff: Source/platform/graphics/DeferredImageDecoder.h

Issue 352873002: [wip] image color correction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/platform/graphics/DeferredImageDecoder.h
diff --git a/Source/platform/graphics/DeferredImageDecoder.h b/Source/platform/graphics/DeferredImageDecoder.h
index 2aa48c6a09094db23c40bb4d47dd5481f8020d67..ef68e78a266d5eee09f611e430bd2d3d382de8ac 100644
--- a/Source/platform/graphics/DeferredImageDecoder.h
+++ b/Source/platform/graphics/DeferredImageDecoder.h
@@ -38,6 +38,7 @@
namespace WebCore {
+class ColorSpaceProfile;
class ImageFrameGenerator;
class SharedBuffer;
@@ -62,6 +63,7 @@ public:
bool isSizeAvailable();
bool hasColorProfile() const;
+ PassRefPtr<ColorSpaceProfile> colorProfile() const;
IntSize size() const;
IntSize frameSizeAtIndex(size_t index) const;
size_t frameCount();
@@ -94,6 +96,7 @@ private:
ImageOrientation m_orientation;
int m_repetitionCount;
bool m_hasColorProfile;
+ RefPtr<ColorSpaceProfile> m_colorProfile;
Vector<OwnPtr<ImageFrame> > m_lazyDecodedFrames;
RefPtr<ImageFrameGenerator> m_frameGenerator;

Powered by Google App Engine
This is Rietveld 408576698