Searched refs:mimeType (Results 1 - 25 of 269) sorted by relevance

1234567891011

/external/webkit/Source/WebCore/platform/chromium/
H A DMIMETypeRegistryChromium.cpp67 String mimeType = type.substring(0, static_cast<unsigned>(type.find(';'))); local
82 String mimeType = getMIMETypeForExtension(extension); local
83 if (mimeType.isEmpty()) {
86 mimeType = getPluginMimeTypeFromExtension(extension);
88 if (mimeType.isEmpty())
90 return mimeType;
93 bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType) argument
95 return PlatformBridge::isSupportedImageMIMEType(mimeType);
98 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType) argument
100 return isSupportedImageMIMEType(mimeType);
103 isSupportedImageMIMETypeForEncoding(const String& mimeType) argument
108 isSupportedJavaScriptMIMEType(const String& mimeType) argument
113 isSupportedNonImageMIMEType(const String& mimeType) argument
118 isSupportedMediaMIMEType(const String& mimeType) argument
127 isJavaAppletMIMEType(const String& mimeType) argument
[all...]
/external/webkit/Tools/DumpRenderTree/qt/
H A Dtestplugin.cpp45 MimeType mimeType; local
46 mimeType.name = "testtype";
47 mimeType.fileExtensions.append("testsuffixes");
48 plugin.mimeTypes.append(mimeType);
52 mimeType.name = "testtype2";
53 mimeType.fileExtensions.append("testsuffixes2");
54 mimeType.fileExtensions.append("testsuffixes3");
55 plugin.mimeTypes.append(mimeType);
/external/webkit/Source/WebCore/platform/qt/
H A DMIMETypeRegistryQt.cpp39 const char* mimeType; member in struct:WebCore::ExtensionMap
83 return e->mimeType;
90 bool MIMETypeRegistry::isApplicationPluginMIMEType(const String& mimeType) argument
92 return mimeType.startsWith("application/x-qt-plugin", false)
93 || mimeType.startsWith("application/x-qt-styled-widget", false);
/external/webkit/Source/WebKit/chromium/public/
H A DWebMimeRegistry.h44 virtual SupportsType supportsMIMEType(const WebString& mimeType) = 0;
45 virtual SupportsType supportsImageMIMEType(const WebString& mimeType) = 0;
46 virtual SupportsType supportsJavaScriptMIMEType(const WebString& mimeType) = 0;
47 virtual SupportsType supportsMediaMIMEType(const WebString& mimeType,
49 virtual SupportsType supportsNonImageMIMEType(const WebString& mimeType) = 0;
53 virtual WebString preferredExtensionForMIMEType(const WebString& mimeType) = 0;
H A DWebPluginParams.h42 WebString mimeType; member in struct:WebKit::WebPluginParams
/external/webkit/Source/WebCore/platform/
H A DMIMETypeRegistry.h51 static bool isSupportedImageMIMEType(const String& mimeType);
55 static bool isSupportedImageResourceMIMEType(const String& mimeType);
58 static bool isSupportedImageMIMETypeForEncoding(const String& mimeType);
62 static bool isSupportedJavaScriptMIMEType(const String& mimeType);
66 static bool isSupportedNonImageMIMEType(const String& mimeType);
69 static bool isSupportedMediaMIMEType(const String& mimeType);
73 static bool isUnsupportedTextMIMEType(const String& mimeType);
76 static bool isJavaAppletMIMEType(const String& mimeType);
80 static bool isApplicationPluginMIMEType(const String& mimeType);
H A DMIMETypeRegistry.cpp69 String mimeType = MIMETypeForImageSourceType(supportedType.get()); local
70 if (!mimeType.isEmpty()) {
71 supportedImageMIMETypes->add(mimeType);
72 supportedImageResourceMIMETypes->add(mimeType);
108 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
109 if (!mimeType.isEmpty()) {
110 supportedImageMIMETypes->add(mimeType);
111 supportedImageResourceMIMETypes->add(mimeType);
166 String mimeType = MIMETypeForImageSourceType(supportedType.get()); local
167 if (!mimeType
180 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData()); local
472 isSupportedImageMIMEType(const String& mimeType) argument
481 isSupportedImageResourceMIMEType(const String& mimeType) argument
490 isSupportedImageMIMETypeForEncoding(const String& mimeType) argument
501 isSupportedJavaScriptMIMEType(const String& mimeType) argument
510 isSupportedNonImageMIMEType(const String& mimeType) argument
519 isSupportedMediaMIMEType(const String& mimeType) argument
528 isUnsupportedTextMIMEType(const String& mimeType) argument
537 isJavaAppletMIMEType(const String& mimeType) argument
[all...]
/external/webkit/Source/WebCore/loader/archive/
H A DArchiveResource.cpp36 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) argument
38 , m_mimeType(mimeType)
45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) argument
51 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName,
52 ResourceResponse(url, mimeType, dataSize, textEncoding, String())));
54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response));
59 return create(data, url, response.mimeType(), response.textEncodingName(), String(), response);
H A DArchiveFactory.cpp75 bool ArchiveFactory::isArchiveMimeType(const String& mimeType) argument
77 return !mimeType.isEmpty() && archiveMIMETypes().contains(mimeType);
80 PassRefPtr<Archive> ArchiveFactory::create(SharedBuffer* data, const String& mimeType) argument
82 RawDataCreationFunction* function = mimeType.isEmpty() ? 0 : archiveMIMETypes().get(mimeType);
H A DArchiveResource.h40 const String& mimeType, const String& textEncoding, const String& frameName,
43 const String& mimeType() const { return m_mimeType; } function in class:WebCore::ArchiveResource
51 ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse&);
/external/webkit/Source/WebCore/inspector/front-end/
H A DSourceTokenizer.js85 getTokenizer: function(mimeType)
87 if (!this._tokenizerConstructors[mimeType])
89 var tokenizerClass = this._tokenizerConstructors[mimeType];
93 this._tokenizers[mimeType] = tokenizer;
/external/webkit/Source/WebCore/platform/brew/
H A DMIMETypeRegistryBrew.cpp40 const char* mimeType; member in struct:WebCore::ExtensionMap
75 return e->mimeType;
/external/webkit/Source/WebCore/platform/efl/
H A DMIMETypeRegistryEfl.cpp41 const char* mimeType; member in struct:WebCore::ExtensionMap
84 return e->mimeType;
/external/webkit/Source/WebCore/platform/gtk/
H A DMIMETypeRegistryGtk.cpp38 const char* mimeType; member in struct:WebCore::ExtensionMap
74 return e->mimeType;
/external/webkit/Source/WebCore/platform/wx/
H A DMimeTypeRegistryWx.cpp38 const char* mimeType; member in struct:WebCore::ExtensionMap
71 return e->mimeType;
/external/webkit/Source/WebCore/platform/network/
H A DMIMESniffing.cpp159 const char* mimeType; member in struct:__anon11944::MagicNumbers
164 #define MAGIC_NUMBERS_MASKED(pattern, mask, mimeType, flags) {(pattern), (mask), (mimeType), sizeof(pattern) - 1, (flags)}
165 #define MAGIC_NUMBERS_SIMPLE(pattern, mimeType) {(pattern), 0, (mimeType), sizeof(pattern) - 1, 0}
291 return types[i].mimeType;
303 return types[i].mimeType;
311 if (!strcmp(type, types[i].mimeType))
320 const char* mimeType = 0; local
322 mimeType
350 const char* mimeType = 0; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DImageBufferGtk.cpp35 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const argument
37 ASSERT(MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType));
39 if (!mimeType.startsWith("image/"))
44 String type = mimeType.substring(sizeof "image");
70 return makeString("data:", mimeType, ";base64,", out);
/external/webkit/Source/WebCore/loader/
H A DSubstituteData.h41 SubstituteData(PassRefPtr<SharedBuffer> content, const String& mimeType, const String& textEncoding, const KURL& failingURL, const KURL& responseURL = KURL()) argument
43 , m_mimeType(mimeType)
53 const String& mimeType() const { return m_mimeType; } function in class:WebCore::SubstituteData
/external/webkit/Source/WebKit/android/jni/
H A DMIMETypeRegistry.cpp54 jobject mimeType = env->CallStaticObjectMethod(mimeClass, local
56 String result = android::jstringToWtfString(env, (jstring) mimeType);
59 env->DeleteLocalRef(mimeType);
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebplugindatabase.cpp124 MimeType mimeType; local
125 mimeType.name = it->first;
126 mimeType.description = it->second;
129 Vector<String> extensions = m_package->mimeToExtensions().get(mimeType.name);
134 mimeType.fileExtensions = fileExtensions;
135 m_mimeTypes.append(mimeType);
143 Returns true if the plugin supports a specific \a mimeType; otherwise
148 bool QWebPluginInfo::supportsMimeType(const QString& mimeType) const
152 return m_package->mimeToDescriptions().contains(mimeType);
373 Returns the plugin that is currently used by WebKit for a given \a mimeType
377 pluginForMimeType(const QString& mimeType) argument
390 setPreferredPluginForMimeType(const QString& mimeType, const QWebPluginInfo& plugin) argument
[all...]
/external/webkit/Source/WebKit/qt/tests/qwebplugindatabase/
H A Dtst_qwebplugindatabase.cpp80 MimeType mimeType; local
81 mimeType.name = jsMimeType["type"].toString();
82 mimeType.description = jsMimeType["description"].toString();
83 mimeType.fileExtensions = jsMimeType["suffixes"].toString().split(',', QString::SkipEmptyParts);
85 mimeTypes.append(mimeType);
86 QVERIFY(plugin.supportsMimeType(mimeType.name));
183 QString mimeType = mimeTypes.at(j).name; local
184 pluginsMap.insert(mimeType, plugin);
185 QVERIFY(plugin.supportsMimeType(mimeType));
194 QString mimeType local
224 QString mimeType = mimeTypes.at(j).name; local
232 QString mimeType = it.key(); local
314 QString mimeType = mimeTypes.at(j).name; local
321 QString mimeType = it.key(); local
[all...]
/external/webkit/Source/WebCore/platform/network/android/
H A DResourceResponse.h39 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) argument
40 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename) { }
/external/webkit/Source/WebCore/platform/network/curl/
H A DResourceResponse.h42 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) argument
43 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename),
/external/webkit/Source/WebCore/platform/network/qt/
H A DResourceResponse.h39 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) argument
40 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
/external/webkit/Source/WebCore/platform/network/win/
H A DResourceResponse.h38 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) argument
39 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)

Completed in 5074 milliseconds

1234567891011