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

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: done Created 7 years, 7 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 34dd0b0d99ad928f0543b7c5564eb1f26039834c..943a973fb4fc0f7f34f847284af270cd65bae379 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;
« no previous file with comments | « Source/core/platform/graphics/ImageSource.cpp ('k') | Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698