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

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

Issue 1120963003: Implements getImageAnimationPolicy() at ImageLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adds Internals::advanceTimeWithImage Created 5 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/platform/graphics/Image.h
diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h
index 9ce321aecd348438217877392990d2074ade5be6..e1c1193a4f44edaac54e81e7865f2dd83e0a6c98 100644
--- a/Source/platform/graphics/Image.h
+++ b/Source/platform/graphics/Image.h
@@ -119,6 +119,7 @@ public:
// Set animationPolicy
virtual void setAnimationPolicy(ImageAnimationPolicy) { }
virtual ImageAnimationPolicy animationPolicy() { return ImageAnimationPolicyAllowed; }
+ virtual void advanceTime(double time) { }
// Typically the ImageResource that owns us.
ImageObserver* imageObserver() const { return m_imageObserver; }
« Source/core/testing/Internals.h ('K') | « Source/platform/graphics/BitmapImage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698