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

Unified Diff: Source/core/rendering/RenderObject.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 with fix layout test fail 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/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index c80963141e470fe16f7c2681ad974a46bc207cf8..91dc4f0ef784e45710543f4112b1e86ffe768666 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -951,6 +951,7 @@ public:
virtual void imageChanged(ImageResource*, const IntRect* = 0) override final;
virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { }
virtual bool willRenderImage(ImageResource*) override final;
+ virtual bool getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy&) override final;
void selectionStartEnd(int& spos, int& epos) const;

Powered by Google App Engine
This is Rietveld 408576698