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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h

Issue 1309393007: [poc] redecode Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resetColorProfileForTesting rename Created 5 years, 1 month 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: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
index 39d3c40b00713a5849d327db5aa0bc9b17454317..615de97310cc8419c1d3b7724587d9b877d7a6c9 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
@@ -41,6 +41,7 @@
namespace blink {
+class ColorSpaceProfile;
class ImageDecoder;
class SharedBuffer;
@@ -75,6 +76,8 @@ public:
void setData(PassRefPtr<SharedBuffer>, bool allDataReceived);
+ void setDeviceProfile(ColorSpaceProfile*);
+
// Creates a new SharedBuffer containing the data received so far.
void copyData(RefPtr<SharedBuffer>*, bool* allDataReceived);
@@ -111,6 +114,9 @@ private:
int m_decodeCount;
Vector<bool> m_frameComplete;
size_t m_frameCount;
+
+ RefPtr<ColorSpaceProfile> m_deviceProfile;
+
OwnPtr<ExternalMemoryAllocator> m_externalAllocator;
OwnPtr<ImageDecoderFactory> m_imageDecoderFactory;

Powered by Google App Engine
This is Rietveld 408576698