Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: public/web/WebSettings.h

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update Code Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698