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

Unified Diff: Source/WebKit/chromium/public/WebRuntimeFeatures.h

Issue 13814024: Add a runtime flag in WebRuntimeFeatures to enable 'image/webp' accept header (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased patch 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
« no previous file with comments | « Source/WebCore/loader/cache/CachedImage.cpp ('k') | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebRuntimeFeatures.h
diff --git a/Source/WebKit/chromium/public/WebRuntimeFeatures.h b/Source/WebKit/chromium/public/WebRuntimeFeatures.h
index 51213d21bb67be81a40b422ad502ad0b0bdae89e..6a073e0effc9ffea8b7040873e7a9d097c4c71bb 100644
--- a/Source/WebKit/chromium/public/WebRuntimeFeatures.h
+++ b/Source/WebKit/chromium/public/WebRuntimeFeatures.h
@@ -170,6 +170,10 @@ public:
// instead of the embedder.
WEBKIT_EXPORT static void enableDoNotTrack(bool);
WEBKIT_EXPORT static bool isDoNotTrackEnabled();
+
+ WEBKIT_EXPORT static void enableWebPInAcceptHeader(bool);
+ WEBKIT_EXPORT static bool isWebPInAcceptHeaderEnabled();
+
private:
WebRuntimeFeatures();
};
« no previous file with comments | « Source/WebCore/loader/cache/CachedImage.cpp ('k') | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698