bool MIMETypeRegistry::canShowMIMEType(const String& mimeType) { if (isSupportedImageMIMEType(mimeType) || isSupportedNonImageMIMEType(mimeType) || isSupportedMediaMIMEType(mimeType)) return true; if (mimeType.startsWith("text/", false)) return !MIMETypeRegistry::isUnsupportedTextMIMEType(mimeType); return false; }
bool MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(const String& mimeType) { // FIXME: Fill this out. See: http://trac.webkit.org/changeset/30888 return isSupportedImageMIMEType(mimeType); }
bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType) { return isSupportedImageMIMEType(mimeType); }