Index: public/web/WebSettings.h |
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h |
index b06f686d7d610760017619ecf52bc83a24d0c536..a0d5ed090690b57c2d64a2010342c01bed2035f9 100644 |
--- a/public/web/WebSettings.h |
+++ b/public/web/WebSettings.h |
@@ -45,6 +45,12 @@ class WebURL; |
// these functions have a 1:1 mapping with the methods in WebCore/page/Settings.h. |
class WebSettings { |
public: |
+ enum ImageAnimationPolicy { |
+ ImageAnimationPolicyAllowed, |
+ ImageAnimationPolicyAnimateOnce, |
+ ImageAnimationPolicyNoAnimation |
+ }; |
+ |
enum EditingBehavior { |
EditingBehaviorMac, |
EditingBehaviorWin, |
@@ -156,6 +162,7 @@ public: |
virtual void setFullscreenSupported(bool) = 0; |
virtual void setHyperlinkAuditingEnabled(bool) = 0; |
virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; |
+ virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0; |
virtual void setImagesEnabled(bool) = 0; |
virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; |
virtual void setJavaEnabled(bool) = 0; |