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

Unified Diff: Source/core/fetch/ImageResource.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
« no previous file with comments | « no previous file | Source/core/fetch/ImageResource.cpp » ('j') | Source/core/frame/Settings.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ImageResource.h
diff --git a/Source/core/fetch/ImageResource.h b/Source/core/fetch/ImageResource.h
index 72184dfa9b3776ce04e637a7a69acd6f108aef6f..0043d1b24f008f1396300aaf90317f0e1fcb96f9 100644
--- a/Source/core/fetch/ImageResource.h
+++ b/Source/core/fetch/ImageResource.h
@@ -105,7 +105,7 @@ public:
virtual void decodedSizeChanged(const blink::Image*, int delta) override;
virtual void didDraw(const blink::Image*) override;
- virtual bool shouldPauseAnimation(const blink::Image*) override;
+ virtual bool shouldPauseAnimation(const blink::Image*, bool repeated = false) override;
virtual void animationAdvanced(const blink::Image*) override;
virtual void changedInRect(const blink::Image*, const IntRect&) override;
« no previous file with comments | « no previous file | Source/core/fetch/ImageResource.cpp » ('j') | Source/core/frame/Settings.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698