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

Unified Diff: Source/core/platform/graphics/chromium/DeferredImageDecoder.h

Issue 14317005: Checking if frame is complete and access duration doesn't need a decode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: const Created 7 years, 8 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/core/platform/graphics/chromium/DeferredImageDecoder.h
diff --git a/Source/core/platform/graphics/chromium/DeferredImageDecoder.h b/Source/core/platform/graphics/chromium/DeferredImageDecoder.h
index 3e6668925fcb5d316d849fa4edb080d3b8bb4d13..3f650f7eb4ef14fce18852570c67d1495fea11e5 100644
--- a/Source/core/platform/graphics/chromium/DeferredImageDecoder.h
+++ b/Source/core/platform/graphics/chromium/DeferredImageDecoder.h
@@ -63,6 +63,8 @@ public:
int repetitionCount() const;
void clearFrameBufferCache(size_t);
bool frameHasAlphaAtIndex(size_t index) const;
+ bool frameIsCompleteAtIndex(size_t) const;
+ float frameDurationAtIndex(size_t) const;
unsigned frameBytesAtIndex(size_t index) const;
ImageOrientation orientation() const;
bool hotSpot(IntPoint&) const;

Powered by Google App Engine
This is Rietveld 408576698