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

Unified Diff: Source/platform/image-decoders/ImageDecoder.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/image-decoders/ImageDecoder.h
diff --git a/Source/platform/image-decoders/ImageDecoder.h b/Source/platform/image-decoders/ImageDecoder.h
index f390453222220f33a378db37cb3d4f3c66026d65..67d3c68681096bd29ffff2c5af6a458f73f6ec5e 100644
--- a/Source/platform/image-decoders/ImageDecoder.h
+++ b/Source/platform/image-decoders/ImageDecoder.h
@@ -31,13 +31,14 @@
#include "platform/PlatformExport.h"
#include "platform/PlatformScreen.h"
#include "platform/SharedBuffer.h"
+#include "platform/graphics/ColorSpaceProfile.h"
#include "platform/graphics/ImageSource.h"
#include "platform/image-decoders/ImageFrame.h"
#include "public/platform/Platform.h"
#include "wtf/Assertions.h"
#include "wtf/RefPtr.h"
-#include "wtf/text/WTFString.h"
#include "wtf/Vector.h"
+#include "wtf/text/WTFString.h"
#if USE(QCMSLIB)
#include "qcms.h"
@@ -155,6 +156,7 @@ public:
bool ignoresGammaAndColorProfile() const { return m_ignoreGammaAndColorProfile; }
virtual bool hasColorProfile() const { return false; }
+ virtual PassRefPtr<ColorSpaceProfile> colorProfile() const { return nullptr; }
#if USE(QCMSLIB)
enum { iccColorProfileHeaderLength = 128 };

Powered by Google App Engine
This is Rietveld 408576698