Index: public/web/WebSettings.h |
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h |
index 8f303d0e63241d222004a7528874c33fe7206b7f..2c7269d89cf2bf2956185e451798d89e6921628b 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, |
@@ -159,6 +165,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; |