Searched refs:mimeType (Results 151 - 175 of 279) sorted by relevance

1234567891011>>

/external/webkit/Source/WebKit2/UIProcess/
H A DWebUIClient.cpp158 void WebUIClient::missingPluginButtonClicked(WebPageProxy* page, const String& mimeType, const String& url, const String& pluginsPageURL) argument
163 m_client.missingPluginButtonClicked(toAPI(page), toAPI(mimeType.impl()), toAPI(url.impl()), toAPI(pluginsPageURL.impl()), m_client.clientInfo);
367 void WebUIClient::saveDataToFileInDownloadsFolder(WebPageProxy* page, const String& suggestedFilename, const String& mimeType, const String& originatingURLString, WebData* data) argument
372 m_client.saveDataToFileInDownloadsFolder(toAPI(page), toAPI(suggestedFilename.impl()), toAPI(mimeType.impl()), toURLRef(originatingURLString.impl()), toAPI(data), m_client.clientInfo);
/external/webkit/Source/WebKit2/WebProcess/Downloads/
H A DDownload.h82 bool shouldDecodeSourceDataOfMIMEType(const String& mimeType);
/external/webkit/Source/WebKit2/WebProcess/Plugins/
H A DPluginProxy.cpp229 void PluginProxy::streamDidReceiveResponse(uint64_t streamID, const KURL& responseURL, uint32_t streamLength, uint32_t lastModifiedTime, const WTF::String& mimeType, const WTF::String& headers) argument
231 m_connection->connection()->send(Messages::PluginControllerProxy::StreamDidReceiveResponse(streamID, responseURL.string(), streamLength, lastModifiedTime, mimeType, headers), m_pluginInstanceID);
249 void PluginProxy::manualStreamDidReceiveResponse(const KURL& responseURL, uint32_t streamLength, uint32_t lastModifiedTime, const WTF::String& mimeType, const WTF::String& headers) argument
251 m_connection->connection()->send(Messages::PluginControllerProxy::ManualStreamDidReceiveResponse(responseURL.string(), streamLength, lastModifiedTime, mimeType, headers), m_pluginInstanceID);
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/
H A Dpicasa_client.js56 get mimeType() {
369 'Content-Type': file.mimeType,
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DWebViewTest.java44 assertThat(lastLoadData.mimeType, equalTo("text/html"));
54 assertThat(lastLoadData.mimeType, equalTo("text/html"));
/external/webkit/Source/WebCore/loader/cache/
H A DCachedImage.cpp250 if (m_response.mimeType() == "application/pdf") {
256 if (m_response.mimeType() == "image/svg+xml") {
/external/webkit/Source/WebCore/page/
H A DEventSource.cpp185 bool mimeTypeIsValid = response.mimeType() == "text/event-stream";
203 message += response.mimeType();
/external/webkit/Source/WebCore/platform/network/
H A DFormDataBuilder.cpp173 void FormDataBuilder::addContentTypeToMultiPartHeader(Vector<char>& buffer, const CString& mimeType) argument
176 append(buffer, mimeType);
/external/webkit/Source/WebCore/xml/
H A DXMLHttpRequest.cpp909 String mimeType = extractMIMETypeFromMediaType(m_mimeTypeOverride); local
910 if (mimeType.isEmpty()) {
912 mimeType = extractMIMETypeFromMediaType(m_response.httpHeaderField("Content-Type"));
914 mimeType = m_response.mimeType();
916 if (mimeType.isEmpty())
917 mimeType = "text/xml";
919 return mimeType;
H A DXSLTProcessorLibxslt.cpp300 bool XSLTProcessor::transformToString(Node* sourceNode, String& mimeType, String& resultString, String& resultEncoding) argument
313 if (!origMethod && mimeType == "text/html")
357 mimeType = resultMIMEType(resultDoc, sheet);
/external/webkit/Source/WebKit/chromium/src/
H A DPlatformBridge.cpp557 bool PlatformBridge::isSupportedImageMIMEType(const String& mimeType) argument
559 return webKitClient()->mimeRegistry()->supportsImageMIMEType(mimeType)
563 bool PlatformBridge::isSupportedJavaScriptMIMEType(const String& mimeType) argument
565 return webKitClient()->mimeRegistry()->supportsJavaScriptMIMEType(mimeType)
569 bool PlatformBridge::isSupportedNonImageMIMEType(const String& mimeType) argument
571 return webKitClient()->mimeRegistry()->supportsNonImageMIMEType(mimeType)
585 String PlatformBridge::preferredExtensionForMIMEType(const String& mimeType) argument
587 return webKitClient()->mimeRegistry()->preferredExtensionForMIMEType(mimeType);
/external/webkit/Source/WebKit/mac/Plugins/
H A DWebBasePluginPackage.mm314 - (BOOL)supportsMIMEType:(const WTF::String&)mimeType
316 ASSERT(mimeType.lower() == mimeType);
319 if (pluginInfo.mimes[i].type == mimeType)
/external/webkit/Source/WebKit/win/Interfaces/
H A DIWebDownload.idl66 HRESULT canResumeDownloadDecodedWithEncodingMIMEType([in] BSTR mimeType, [out, retval] BOOL* result);
H A DIWebFrame.idl121 HRESULT loadData([in] IStream* data, [in] BSTR mimeType, [in] BSTR textEncodingName, [in] BSTR url);
/external/webkit/Source/WebKit/wx/WebKitSupport/
H A DFrameLoaderClientWx.h221 virtual ObjectContentType objectContentType(const KURL&, const String& mimeType, bool shouldPreferPlugInsForImages);
231 virtual bool shouldUsePluginDocument(const String &mimeType) const;
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNetscapePlugin.h155 uint32_t lastModifiedTime, const String& mimeType, const String& headers);
160 uint32_t lastModifiedTime, const String& mimeType, const String& headers);
/external/webkit/Source/WebKit2/WebProcess/
H A DWebProcess.h110 bool shouldUseCustomRepresentationForMIMEType(const String& mimeType) const { return m_mimeTypesWithCustomRepresentations.contains(mimeType); }
/external/webkit/Source/WebCore/loader/
H A DDocumentLoader.cpp304 if (ArchiveFactory::isArchiveMimeType(response().mimeType()))
332 if (doesProgressiveLoad(m_response.mimeType()))
341 String oldMIMEType = m_response.mimeType();
519 return ArchiveResource::create(mainResourceBuffer, r.url(), r.mimeType(), r.textEncodingName(), frame()->tree()->uniqueName());
708 return m_response.mimeType();
/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitwebframe.cpp539 static void webkit_web_frame_load_data(WebKitWebFrame* frame, const gchar* content, const gchar* mimeType, const gchar* encoding, const gchar* baseURL, const gchar* unreachableURL) argument
550 mimeType ? String::fromUTF8(mimeType) : String::fromUTF8("text/html"),
865 String mimeType = docLoader->responseMIMEType(); local
866 return g_strdup(mimeType.utf8().data());
/external/libxml2/
H A Dnanohttp.c157 char *mimeType; /* Mime-Type extracted from the contentType */ member in struct:xmlNanoHTTPCtxt
420 if (ctxt->mimeType != NULL) xmlFree(ctxt->mimeType);
741 if (ctxt->mimeType != NULL)
742 xmlFree(ctxt->mimeType);
743 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime);
766 if (ctxt->mimeType != NULL)
767 xmlFree(ctxt->mimeType);
768 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime);
1787 return ( ( ctxt == NULL ) ? NULL : ctxt->mimeType );
[all...]
/external/webkit/Source/WebKit/win/WebCoreSupport/
H A DWebFrameLoaderClient.cpp839 if (!pluginView->mimeType().isNull()) {
842 RetainPtr<CFStringRef> str(AdoptCF, pluginView->mimeType().createCFString());
876 PassRefPtr<Widget> WebFrameLoaderClient::createPlugin(const IntSize& pluginSize, HTMLPlugInElement* element, const KURL& url, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually) argument
897 arguments.set(WebEmbeddedViewMIMETypeKey, mimeType);
914 RefPtr<PluginView> pluginView = PluginView::create(frame, pluginSize, element, url, paramNames, paramValues, mimeType, loadManually);
942 bool WebFrameLoaderClient::shouldUsePluginDocument(const String& mimeType) const
948 return webView->shouldUseEmbeddedView(mimeType);
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DFrameLoaderClientGtk.cpp482 String mimeType = response.mimeType(); local
485 g_signal_emit_by_name(page, "mime-type-policy-decision-requested", m_frame, request.get(), mimeType.utf8().data(), policyDecision, &isHandled);
499 if (canShowMIMEType(mimeType))
611 PassRefPtr<Widget> FrameLoaderClient::createPlugin(const IntSize& pluginSize, HTMLPlugInElement* element, const KURL& url, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually) argument
615 CString mimeTypeString = mimeType.utf8();
631 RefPtr<PluginView> pluginView = PluginView::create(core(m_frame), pluginSize, element, url, paramNames, paramValues, mimeType, loadManually);
715 ObjectContentType FrameLoaderClient::objectContentType(const KURL& url, const String& mimeType, bool shouldPreferPlugInsForImages) argument
717 return FrameLoader::defaultObjectContentType(url, mimeType, shouldPreferPlugInsForImages);
/external/webkit/Source/WebCore/html/
H A DHTMLCanvasElement.cpp347 String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionCode& ec) argument
357 String lowercaseMimeType = mimeType.lower();
360 if (mimeType.isNull() || !MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(lowercaseMimeType))
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DImageBufferCairo.cpp304 String ImageBuffer::toDataURL(const String& mimeType, const double*) const argument
311 if (MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType))
312 actualMimeType = mimeType;
/external/webkit/Source/WebCore/plugins/
H A DPluginView.h151 static PassRefPtr<PluginView> create(Frame* parentFrame, const IntSize&, Element*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);
242 const String& mimeType() const { return m_mimeType; } function in class:WebCore::PluginView
291 PluginView(Frame* parentFrame, const IntSize&, PluginPackage*, Element*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);

Completed in 1001 milliseconds

1234567891011>>