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

Unified Diff: Source/platform/graphics/BitmapImageTest.cpp

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update Code Created 6 years 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/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/ImageAnimationPolicy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/BitmapImageTest.cpp
diff --git a/Source/platform/graphics/BitmapImageTest.cpp b/Source/platform/graphics/BitmapImageTest.cpp
index 4cf2369232db00ecea69623befdcc1d0ed1208f1..71f19d21578a7c48418bf29ede614cf930b91199 100644
--- a/Source/platform/graphics/BitmapImageTest.cpp
+++ b/Source/platform/graphics/BitmapImageTest.cpp
@@ -54,6 +54,8 @@ public:
virtual void didDraw(const Image*) override { }
virtual bool shouldPauseAnimation(const Image*) override { return false; }
virtual void animationAdvanced(const Image*) override { }
+ virtual void imageAnimationPolicy(const Image*, ImageAnimationPolicy&) override { }
+
virtual void changedInRect(const Image*, const IntRect&) { }
int m_lastDecodedSizeChangedDelta;
« no previous file with comments | « Source/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/ImageAnimationPolicy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698