Home | History | Annotate | Download | only in platform

Lines Matching refs:mimeType

66         String mimeType = MIMETypeForImageSourceType(supportedType.get());
67 if (!mimeType.isEmpty()) {
68 supportedImageMIMETypes->add(mimeType);
69 supportedImageResourceMIMETypes->add(mimeType);
105 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
106 supportedImageMIMETypes->add(mimeType);
107 supportedImageResourceMIMETypes->add(mimeType);
163 String mimeType = MIMETypeForImageSourceType(supportedType.get());
164 if (!mimeType.isEmpty())
165 supportedImageMIMETypesForEncoding->add(mimeType);
168 // FIXME: Add Windows support for all the supported UTI's when a way to convert from MIMEType to UTI reliably is found.
177 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
178 supportedImageMIMETypesForEncoding->add(mimeType);
335 String mimeType = getMIMETypeForExtension(ext);
336 if (!mimeType.isEmpty())
337 return mimeType;
378 bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType)
380 if (mimeType.isEmpty())
384 return supportedImageMIMETypes->contains(mimeType);
387 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
389 if (mimeType.isEmpty())
393 return supportedImageResourceMIMETypes->contains(mimeType);
396 bool MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(const String& mimeType)
398 if (mimeType.isEmpty())
402 return supportedImageMIMETypesForEncoding->contains(mimeType);
405 bool MIMETypeRegistry::isSupportedJavaScriptMIMEType(const String& mimeType)
407 if (mimeType.isEmpty())
411 return supportedJavaScriptMIMETypes->contains(mimeType);
414 bool MIMETypeRegistry::isSupportedNonImageMIMEType(const String& mimeType)
416 if (mimeType.isEmpty())
420 return supportedNonImageMIMETypes->contains(mimeType);
423 bool MIMETypeRegistry::isSupportedMediaMIMEType(const String& mimeType)
425 if (mimeType.isEmpty())
429 return supportedMediaMIMETypes->contains(mimeType);
432 bool MIMETypeRegistry::isJavaAppletMIMEType(const String& mimeType)
438 return mimeType.startsWith("application/x-java-applet", false)
439 || mimeType.startsWith("application/x-java-bean", false)
440 || mimeType.startsWith("application/x-java-vm", false);