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

Unified Diff: Source/platform/graphics/BitmapImage.h

Issue 892783003: Check the condition for animation policy of bitmapImage on notifyFinished. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move updating policy to ImageLoader Created 5 years, 11 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
« no previous file with comments | « Source/core/loader/ImageLoader.cpp ('k') | Source/platform/graphics/BitmapImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/BitmapImage.h
diff --git a/Source/platform/graphics/BitmapImage.h b/Source/platform/graphics/BitmapImage.h
index d7920d973164cf83a3c420e62e2bc8070978c030..0bdf4b88f492741e604eb2f6c4357b6d0ad896e1 100644
--- a/Source/platform/graphics/BitmapImage.h
+++ b/Source/platform/graphics/BitmapImage.h
@@ -79,6 +79,9 @@ public:
virtual void resetAnimation() override;
virtual bool maybeAnimated() override;
+ virtual void setAnimationPolicy(ImageAnimationPolicy policy) override { m_animationPolicy = policy; }
+ virtual ImageAnimationPolicy animationPolicy() override { return m_animationPolicy; }
+
virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() override;
virtual PassRefPtr<Image> imageForDefaultFrame() override;
virtual bool currentFrameKnownToBeOpaque() override;
« no previous file with comments | « Source/core/loader/ImageLoader.cpp ('k') | Source/platform/graphics/BitmapImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698