| Index: Source/platform/graphics/Image.h
|
| diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h
|
| index 0a67e4ba59206bfcc619a07e73222dcd5bf52c93..afe4e96b5339e58a245bc3710485baa27a18792b 100644
|
| --- a/Source/platform/graphics/Image.h
|
| +++ b/Source/platform/graphics/Image.h
|
| @@ -31,6 +31,7 @@
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/graphics/Color.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| +#include "platform/graphics/ImageAnimationPolicy.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| #include "platform/graphics/skia/NativeImageSkia.h"
|
| #include "third_party/skia/include/core/SkXfermode.h"
|
| @@ -115,6 +116,10 @@ public:
|
| // True if this image can potentially animate.
|
| virtual bool maybeAnimated() { return false; }
|
|
|
| + // Set animationPolicy
|
| + virtual void setAnimationPolicy(ImageAnimationPolicy) { }
|
| + virtual ImageAnimationPolicy animationPolicy() { return ImageAnimationPolicyAllowed; }
|
| +
|
| // Typically the ImageResource that owns us.
|
| ImageObserver* imageObserver() const { return m_imageObserver; }
|
| void setImageObserver(ImageObserver* observer) { m_imageObserver = observer; }
|
|
|