Searched refs:mimeType (Results 76 - 100 of 279) sorted by relevance

1234567891011>>

/external/webkit/Source/WebKit/mac/Plugins/
H A DWebPluginDatabase.h48 - (WebBasePluginPackage *)pluginForMIMEType:(NSString *)mimeType;
/external/webkit/Source/WebKit2/UIProcess/
H A DWebDownloadClient.h50 bool shouldDecodeSourceDataOfMIMEType(WebContext*, DownloadProxy*, const String& mimeType);
/external/webkit/Tools/DumpRenderTree/mac/
H A DWebArchiveDumpSupportMac.mm45 CFURLResponseRef CFURLResponseCreate(CFAllocatorRef alloc, CFURLRef URL, CFStringRef mimeType, SInt64 expectedContentLength, CFStringRef textEncodingName, CFURLCacheStoragePolicy recommendedPolicy);
48 void CFURLResponseSetMIMEType(CFURLResponseRef response, CFStringRef mimeType);
/external/webkit/Source/WebCore/platform/network/
H A DDataURL.cpp62 String mimeType = extractMIMETypeFromMediaType(mediaType); local
66 response.setMimeType(mimeType);
/external/webkit/Source/WebCore/plugins/mac/
H A DPluginPackageMac.cpp47 void PluginPackage::determineQuirks(const String& mimeType) argument
49 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) {
59 if (mimeType == "application/x-shockwave-flash") {
173 String mimeType = (CFStringRef)keys[i]; local
174 mimeType = mimeType.lower();
195 m_mimeToExtensions.set(mimeType, mimeExtensions);
198 m_mimeToDescriptions.set(mimeType, description);
/external/webkit/Source/WebKit/win/
H A DWebResource.h41 WebResource(IStream* data, const WebCore::KURL& url, const WTF::String& mimeType, const WTF::String& textEncodingName, const WTF::String& frameName);
54 /* [in] */ BSTR mimeType,
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNetscapePluginStream.h58 uint32_t lastModifiedTime, const String& mimeType, const String& headers);
72 uint32_t lastModifiedTime, const String& mimeType, const String& headers);
/external/webkit/Source/WebCore/plugins/win/
H A DPluginPackageWin.cpp91 void PluginPackage::determineQuirks(const String& mimeType) argument
93 if (mimeType == "application/x-shockwave-flash") {
134 if (mimeType == "video/divx")
141 if (mimeType == "application/x-silverlight")
144 if (MIMETypeRegistry::isJavaAppletMIMEType(mimeType)) {
154 if (mimeType == "audio/x-pn-realaudio-plugin") {
/external/webkit/Source/WebKit2/UIProcess/mac/
H A DWebContextMac.mm77 HashSet<String, CaseFoldingHash> mimeType = pdfAndPostScriptMIMETypes();
78 parameters.mimeTypesWithCustomRepresentation.appendRange(mimeType.begin(), mimeType.end());
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DFrameLoaderClientAndroid.cpp511 if (!canShowMIMEType(response.mimeType())) {
797 bool FrameLoaderClientAndroid::canShowMIMEType(const String& mimeType) const {
801 if (MIMETypeRegistry::isSupportedImageResourceMIMEType(mimeType) ||
802 MIMETypeRegistry::isSupportedNonImageMIMEType(mimeType) ||
803 MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType) ||
807 mimeType)) ||
808 (DOMImplementation::isTextMIMEType(mimeType) &&
809 !mimeType.startsWith("text/vnd")) ||
810 DOMImplementation::isXMLMIMEType(mimeType))
815 bool FrameLoaderClientAndroid::canShowMIMETypeAsHTML(const String& mimeType) cons
1058 isYouTubeUrl(const KURL& url, const String& mimeType) argument
1076 PluginToggleWidget(Frame* parent, const IntSize& size, HTMLPlugInElement* elem, const KURL& url, const WTF::Vector<String>& paramNames, const WTF::Vector<String>& paramValues, const String& mimeType, bool loadManually) argument
1194 createPlugin( const IntSize& size, HTMLPlugInElement* element, const KURL& url, const WTF::Vector<String>& names, const WTF::Vector<String>& values, const String& mimeType, bool loadManually) argument
1308 objectContentType(const KURL& url, const String& mimeType, bool shouldPreferPlugInsForImages) argument
[all...]
H A DWebRequest.cpp182 OwnPtr<WebResponse> webResponse(new WebResponse(m_url, m_interceptResponse->mimeType(), 0,
297 const std::string& mime = m_interceptResponse->mimeType();
299 std::string mimeType("text/html");
303 net::GetMimeTypeFromFile(path, &mimeType);
306 mimeType = mime;
310 OwnPtr<WebResponse> webResponse(new WebResponse(m_url, mimeType, 0, m_interceptResponse->encoding(), m_interceptResponse->status()));
335 std::string mimeType; local
338 if (net::DataURL::Parse(url, &mimeType, &charset, data.get())) {
342 OwnPtr<WebResponse> webResponse(new WebResponse(url.spec(), mimeType, data->size(), charset, 200));
H A DUrlInterceptResponse.cpp87 jfieldID mimeType = env->GetFieldID(javaResponse.get(), "mMimeType", "Ljava/lang/String;"); local
88 LOG_ALWAYS_FATAL_IF(!mimeType);
98 ScopedLocalRef<jstring> mimeStr(env, static_cast<jstring>(env->GetObjectField(response, mimeType)));
/external/webkit/Source/WebCore/plugins/android/
H A DPluginPackageAndroid.cpp118 void PluginPackage::determineQuirks(const String& mimeType) argument
123 if (mimeType == "application/x-googlegears") {
340 const String& mimeType = fields[0]; local
345 determineQuirks(mimeType);
347 PLUGIN_LOG("mime_type: \"%s\"\n", mimeType.utf8().data());
353 m_mimeToExtensions.set(mimeType, extensions);
355 m_mimeToDescriptions.set(mimeType, description);
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DImageBufferSkia.cpp352 static String ImageToDataURL(T& source, const String& mimeType, const double* quality) argument
354 ASSERT(MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType));
357 if (mimeType == "image/jpeg") {
366 ASSERT(mimeType == "image/png");
372 return makeString("data:", mimeType, ";base64,", base64Data);
375 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const argument
390 return ImageToDataURL(bitmap, mimeType, quality);
393 String ImageDataToDataURL(const ImageData& source, const String& mimeType, const double* quality) argument
395 return ImageToDataURL(source, mimeType, quality);
/external/webkit/Source/WebCore/inspector/front-end/
H A DSourceFile.js216 _didRequestContent: function(mimeType, content)
220 this._mimeType = mimeType;
224 this._requestContentCallbacks[i](mimeType, content);
253 _didRequestContent: function(mimeType, text)
258 WebInspector.SourceFile.prototype._didRequestContent.call(this, mimeType, formattedText);
H A DHAREntry.js93 mimeType: this._resource.mimeType,
142 mimeType: this._resource.requestHeaderValue("Content-Type"),
141 mimeType: this._resource.requestHeaderValue("Content-Type"), property
H A DTextEditorHighlighter.js41 set mimeType(mimeType)
43 var tokenizer = WebInspector.SourceTokenizer.Registry.getInstance().getTokenizer(mimeType);
/external/webkit/Source/WebKit/chromium/src/
H A DFrameLoaderClientImpl.cpp870 } else if (!canShowMIMEType(response.mimeType())) {
1249 bool FrameLoaderClientImpl::canShowMIMEType(const String& mimeType) const
1255 // mimeType strings are supposed to be ASCII, but if they are not for some
1258 if (webKitClient()->mimeRegistry()->supportsMIMEType(mimeType) == WebMimeRegistry::IsSupported)
1267 return !mimeType.isEmpty() && pluginData && pluginData->supportsMimeType(mimeType);
1283 String mimeType("x-apple-web-kit/");
1284 mimeType.append(scheme.lower());
1285 return mimeType;
1438 const String& mimeType,
1432 createPlugin( const IntSize& size, HTMLPlugInElement* element, const KURL& url, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually) argument
1497 String mimeType = explicitMimeType; local
[all...]
/external/webkit/Source/WebKit/mac/WebView/
H A DWebResource.mm135 NSString *mimeType = nil, *textEncoding = nil, *frameName = nil;
147 mimeType = object;
162 _private = [[WebResourcePrivate alloc] initWithCoreResource:ArchiveResource::create(SharedBuffer::wrapNSData(data), url, mimeType, textEncoding, frameName, response)];
173 NSString *mimeType = nil, *textEncoding = nil, *frameName = nil;
180 mimeType = resource->mimeType();
187 [encoder encodeObject:mimeType forKey:WebResourceMIMETypeKey];
246 NSString *mimeType = _private->coreResource->mimeType();
247 return mimeType;
[all...]
/external/oauth/core/src/main/java/net/oauth/http/
H A DHttpMessage.java129 private static final String getCharset(String mimeType) argument
131 if (mimeType != null) {
132 Matcher m = CHARSET.matcher(mimeType);
/external/webkit/Source/WebCore/loader/
H A DTextResourceDecoder.cpp282 TextResourceDecoder::ContentType TextResourceDecoder::determineContentType(const String& mimeType) argument
284 if (equalIgnoringCase(mimeType, "text/css"))
286 if (equalIgnoringCase(mimeType, "text/html"))
288 if (DOMImplementation::isXMLMIMEType(mimeType))
304 TextResourceDecoder::TextResourceDecoder(const String& mimeType, const TextEncoding& specifiedDefaultEncoding, bool usesEncodingDetector) argument
305 : m_contentType(determineContentType(mimeType))
/external/smack/src/org/jivesoftware/smackx/provider/
H A DStreamInitiationProvider.java46 String mimeType = parser.getAttributeValue("", "mime-type");
117 initiation.setMimeType(mimeType);
/external/webkit/Source/WebCore/platform/graphics/
H A DImageBuffer.h95 String toDataURL(const String& mimeType, const double* quality = 0) const;
133 String ImageDataToDataURL(const ImageData& input, const String& mimeType, const double* quality);
/external/webkit/Source/WebCore/platform/network/chromium/
H A DResourceResponse.h50 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) argument
51 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
/external/webkit/Source/WebKit2/UIProcess/Downloads/
H A DDownloadProxy.cpp121 void DownloadProxy::shouldDecodeSourceDataOfMIMEType(const String& mimeType, bool& result) argument
126 result = m_webContext->downloadClient().shouldDecodeSourceDataOfMIMEType(m_webContext, this, mimeType);

Completed in 589 milliseconds

1234567891011>>