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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.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/BitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
index 61e0594a8072ee8dd424acb9ad668b8ebfd7add7..a28b3ba652258f68759692ee1046ef75cfacafba 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
@@ -41,6 +41,8 @@
namespace blink {
+class ColorSpaceProfile;
+
template <typename T> class Timer;
class PLATFORM_EXPORT BitmapImage final : public Image {
@@ -71,6 +73,9 @@ public:
bool isAllDataReceived() const { return m_allDataReceived; }
bool hasColorProfile() const;
+ PassRefPtr<ColorSpaceProfile> colorProfile() const { return m_source.colorProfile(); }
+ void notifyDeviceProfile(ColorSpaceProfile*);
+ bool resetDecoder(ColorSpaceProfile*);
// It may look unusual that there's no start animation call as public API.
// This because we start and stop animating lazily. Animation starts when
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | third_party/WebKit/Source/platform/graphics/BitmapImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698