Index: third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h |
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h |
index f4c123e1897a78c2f3d7f2408fc66dcb95a7e80f..a24874f0971bd5914066cd9c870d24d64ce6774a 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h |
@@ -44,6 +44,9 @@ public: |
SVGImage* image() const { return m_image; } |
+ void suspendAnimation(); |
+ void resumeAnimation(); |
+ |
private: |
explicit SVGImageChromeClient(SVGImage*); |
@@ -55,6 +58,11 @@ private: |
SVGImage* m_image; |
Timer<SVGImageChromeClient> m_animationTimer; |
+ enum { |
+ Running, |
+ Suspended, |
+ SuspendedWithFramePending, |
+ } m_timelineState; |
}; |
DEFINE_TYPE_CASTS(SVGImageChromeClient, ChromeClient, client, client->isSVGImageChromeClient(), client.isSVGImageChromeClient()); |