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

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

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Support three options for animations Created 6 years, 1 month 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/ImageObserver.h
diff --git a/Source/platform/graphics/ImageObserver.h b/Source/platform/graphics/ImageObserver.h
index 0cdf1d0031354281e977ab557d815e9d24de14d2..dfcd536a12f13962fca0af6f0f170b15189d67db 100644
--- a/Source/platform/graphics/ImageObserver.h
+++ b/Source/platform/graphics/ImageObserver.h
@@ -42,7 +42,7 @@ public:
virtual void decodedSizeChanged(const Image*, int delta) = 0;
virtual void didDraw(const Image*) = 0;
- virtual bool shouldPauseAnimation(const Image*) = 0;
+ virtual bool shouldPauseAnimation(const Image*, bool repeated = false) = 0;
virtual void animationAdvanced(const Image*) = 0;
virtual void changedInRect(const Image*, const IntRect&) = 0;

Powered by Google App Engine
This is Rietveld 408576698