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

Unified Diff: Source/platform/graphics/ImageSource.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/ImageSource.h
diff --git a/Source/platform/graphics/ImageSource.h b/Source/platform/graphics/ImageSource.h
index e599781c08ba5afd975d389842c9040fb286cdfc..a7f84eacbf20ad7312c9b0e7852d0d60e5a5c4c4 100644
--- a/Source/platform/graphics/ImageSource.h
+++ b/Source/platform/graphics/ImageSource.h
@@ -31,10 +31,10 @@
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
-#include "wtf/Vector.h"
namespace WebCore {
+class ColorSpaceProfile;
class DeferredImageDecoder;
class ImageOrientation;
class IntPoint;
@@ -97,12 +97,15 @@ public:
size_t clearCacheExceptFrame(size_t);
bool initialized() const;
+ void resetDecoder();
void setData(SharedBuffer& data, bool allDataReceived);
String filenameExtension() const;
bool isSizeAvailable();
bool hasColorProfile() const;
+ PassRefPtr<ColorSpaceProfile> colorProfile() const;
+
IntSize size(RespectImageOrientationEnum = DoNotRespectImageOrientation) const;
IntSize frameSizeAtIndex(size_t, RespectImageOrientationEnum = DoNotRespectImageOrientation) const;

Powered by Google App Engine
This is Rietveld 408576698