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

Unified Diff: Source/core/page/RuntimeEnabledFeatures.h

Issue 13980003: Add animation support for WebP images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 months 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
Index: Source/core/page/RuntimeEnabledFeatures.h
diff --git a/Source/core/page/RuntimeEnabledFeatures.h b/Source/core/page/RuntimeEnabledFeatures.h
index fc3a4a0dd04c4420180fce1849113c3584488919..8389456a6a7b035f8dee8012ff598d8bbfce2f6f 100644
--- a/Source/core/page/RuntimeEnabledFeatures.h
+++ b/Source/core/page/RuntimeEnabledFeatures.h
@@ -244,6 +244,9 @@ public:
static bool imeAPIEnabled() { return isIMEAPIEnabled; }
static void setIMEAPIEnabled(bool isEnabled) { isIMEAPIEnabled = isEnabled; }
+ static void setAnimatedWebPEnabled(bool isEnabled) { isAnimatedWebPEnabled = isEnabled; }
+ static bool animatedWebPEnabled() { return isAnimatedWebPEnabled; }
+
private:
// Never instantiate.
RuntimeEnabledFeatures() { }
@@ -326,6 +329,8 @@ private:
static bool isExperimentalWebSocketEnabled;
static bool isIMEAPIEnabled;
+
+ static bool isAnimatedWebPEnabled;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698