diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/platform/MIMETypeRegistry.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/platform/MIMETypeRegistry.h')
-rw-r--r-- | WebCore/platform/MIMETypeRegistry.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/WebCore/platform/MIMETypeRegistry.h b/WebCore/platform/MIMETypeRegistry.h index 33a9c37..be741a4 100644 --- a/WebCore/platform/MIMETypeRegistry.h +++ b/WebCore/platform/MIMETypeRegistry.h @@ -42,11 +42,14 @@ public: // Check to see if a mime type is suitable for being loaded inline as an // image (e.g., <img> tags). - static bool isSupportedImageMIMEType(const String& mimeType); + static bool isSupportedImageMIMEType(const String& mimeType); // Check to see if a mime type is suitable for being loaded as an image // document in a frame. - static bool isSupportedImageResourceMIMEType(const String& mimeType); + static bool isSupportedImageResourceMIMEType(const String& mimeType); + + // Check to see if a mime type is suitable for being encoded. + static bool isSupportedImageMIMETypeForEncoding(const String& mimeType); // Check to see if a mime type is suitable for being loaded as a JavaScript // resource. @@ -64,6 +67,7 @@ public: static HashSet<String>& getSupportedImageMIMETypes(); static HashSet<String>& getSupportedImageResourceMIMETypes(); + static HashSet<String>& getSupportedImageMIMETypesForEncoding(); static HashSet<String>& getSupportedNonImageMIMETypes(); static HashSet<String>& getSupportedMediaMIMETypes(); }; |