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

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: 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/ImageAnimationPolicy.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageObserver.h
diff --git a/Source/platform/graphics/ImageObserver.h b/Source/platform/graphics/ImageObserver.h
index 0cdf1d0031354281e977ab557d815e9d24de14d2..9c222b4695753c902dcdcb078514541e772fb331 100644
--- a/Source/platform/graphics/ImageObserver.h
+++ b/Source/platform/graphics/ImageObserver.h
@@ -27,6 +27,7 @@
#define ImageObserver_h
#include "platform/PlatformExport.h"
+#include "platform/graphics/ImageAnimationPolicy.h"
namespace blink {
@@ -44,6 +45,7 @@ public:
virtual bool shouldPauseAnimation(const Image*) = 0;
virtual void animationAdvanced(const Image*) = 0;
+ virtual void imageAnimationPolicy(const Image*, ImageAnimationPolicy&) = 0;
virtual void changedInRect(const Image*, const IntRect&) = 0;
};
« no previous file with comments | « Source/platform/graphics/ImageAnimationPolicy.h ('k') | Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698