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

Unified Diff: Source/platform/MIMETypeRegistry.h

Issue 430583002: Add SVG as a picture supported mime type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Yet another changed approach Created 6 years, 4 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/core/html/HTMLImageElement.cpp ('k') | Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/MIMETypeRegistry.h
diff --git a/Source/platform/MIMETypeRegistry.h b/Source/platform/MIMETypeRegistry.h
index fb4195ae6a493c2dab154098f03e3bfc3a9fa8f2..d6d69a33c7cd0676b7cf8f02222029e379c49fab 100644
--- a/Source/platform/MIMETypeRegistry.h
+++ b/Source/platform/MIMETypeRegistry.h
@@ -48,6 +48,9 @@ public:
// document in a frame.
static bool isSupportedImageResourceMIMEType(const String& mimeType);
+ // Check to see if a mime type is suitable for being displayed as an image.
+ static bool isSupportedImagePrefixedMIMEType(const String& mimeType);
+
// Check to see if a mime type is suitable for being encoded.
static bool isSupportedImageMIMETypeForEncoding(const String& mimeType);
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698