Index: public/web/WebSettings.h |
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h |
index 8f303d0e63241d222004a7528874c33fe7206b7f..d62f2f81f3663c2e176bfb5184282197f82a09e3 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 AnimatedImageType { |
+ AnimatedImageTypeNone, |
+ AnimatedImageTypeOnce, |
+ AnimatedImageTypeNormal |
+ }; |
+ |
enum EditingBehavior { |
EditingBehaviorMac, |
EditingBehaviorWin, |
@@ -160,6 +166,7 @@ public: |
virtual void setHyperlinkAuditingEnabled(bool) = 0; |
virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; |
virtual void setImagesEnabled(bool) = 0; |
+ virtual void setAnimatedImageType(AnimatedImageType) = 0; |
virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; |
virtual void setJavaEnabled(bool) = 0; |
virtual void setJavaScriptCanAccessClipboard(bool) = 0; |