diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h b/chromium/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h index 778768b3d0f..d45da26db45 100644 --- a/chromium/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h +++ b/chromium/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h @@ -43,6 +43,7 @@ public: virtual String filenameExtension() const OVERRIDE { return "webp"; } virtual bool isSizeAvailable() OVERRIDE; + virtual bool hasColorProfile() const OVERRIDE { return m_hasColorProfile; } virtual size_t frameCount() OVERRIDE; virtual ImageFrame* frameBufferAtIndex(size_t) OVERRIDE; virtual void setData(SharedBuffer* data, bool allDataReceived) OVERRIDE; @@ -58,6 +59,7 @@ private: WebPDecBuffer m_decoderBuffer; int m_formatFlags; bool m_frameBackgroundHasAlpha; + bool m_hasColorProfile; #if USE(QCMSLIB) qcms_transform* colorTransform() const { return m_transform; } @@ -80,6 +82,9 @@ private: int m_repetitionCount; int m_decodedHeight; + typedef void (*AlphaBlendFunction)(ImageFrame&, ImageFrame&, int, int, int); + AlphaBlendFunction m_blendFunction; + void clear(); void clearDecoder(); }; |