| Index: Source/core/platform/MIMETypeRegistry.h
|
| diff --git a/Source/core/platform/MIMETypeRegistry.h b/Source/core/platform/MIMETypeRegistry.h
|
| index e16fbadf57bb59023915f0f050769167103d894f..9062e26f6893a582d0a6caf5ed3926c7c4ce63c5 100644
|
| --- a/Source/core/platform/MIMETypeRegistry.h
|
| +++ b/Source/core/platform/MIMETypeRegistry.h
|
| @@ -38,10 +38,7 @@ public:
|
| static String getMIMETypeForExtension(const String& extension);
|
| static String getWellKnownMIMETypeForExtension(const String& extension);
|
|
|
| - static Vector<String> getExtensionsForMIMEType(const String& type);
|
| static String getPreferredExtensionForMIMEType(const String& type);
|
| - static String getMediaMIMETypeForExtension(const String& extension);
|
| - static Vector<String> getMediaMIMETypesForExtension(const String& extension);
|
|
|
| static String getMIMETypeForPath(const String& path);
|
|
|
| @@ -67,34 +64,10 @@ public:
|
| // Check to see if the mime type and codecs are supported by the MediaSource implementation.
|
| static bool isSupportedMediaSourceMIMEType(const String& mimeType, const String& codecs);
|
|
|
| - // Check to see if the mime type is not suitable for being loaded as a text
|
| - // document in a frame. Only valid for mime types begining with "text/".
|
| - static bool isUnsupportedTextMIMEType(const String& mimeType);
|
| -
|
| // Check to see if a mime type is a valid Java applet mime type
|
| static bool isJavaAppletMIMEType(const String& mimeType);
|
| -
|
| - // Check to see if a mime type is a plugin implemented by the
|
| - // browser (e.g. a Qt Plugin).
|
| - static bool isApplicationPluginMIMEType(const String& mimeType);
|
| -
|
| - // Check to see if a mime type is suitable for being shown inside a page.
|
| - // Returns true if any of isSupportedImageMIMEType(), isSupportedNonImageMIMEType(), isSupportedMediaMIMEType() returns true
|
| - // or if given mime type begins with "text/" and isUnsupportedTextMIMEType() returns false.
|
| - static bool canShowMIMEType(const String& mimeType);
|
| -
|
| - static HashSet<String>& getSupportedImageMIMETypes();
|
| - static HashSet<String>& getSupportedImageResourceMIMETypes();
|
| - static HashSet<String>& getSupportedImageMIMETypesForEncoding();
|
| - static HashSet<String>& getSupportedNonImageMIMETypes();
|
| - static HashSet<String>& getSupportedMediaMIMETypes();
|
| - static HashSet<String>& getUnsupportedTextMIMETypes();
|
| -
|
| - static String getNormalizedMIMEType(const String&);
|
| };
|
|
|
| -const String& defaultMIMEType();
|
| -
|
| } // namespace WebCore
|
|
|
| #endif // MIMETypeRegistry_h
|
|
|