Searched refs:TextResourceDecoder (Results 1 - 25 of 39) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/loader/
H A DTextResourceDecoder.h33 class TextResourceDecoder : public RefCounted<TextResourceDecoder> { class in namespace:WebCore
46 static PassRefPtr<TextResourceDecoder> create(const String& mimeType, const TextEncoding& defaultEncoding = TextEncoding(), bool usesEncodingDetector = false)
48 return adoptRef(new TextResourceDecoder(mimeType, defaultEncoding, usesEncodingDetector));
50 ~TextResourceDecoder();
60 void setHintEncoding(const TextResourceDecoder* hintDecoder)
72 TextResourceDecoder(const String& mimeType, const TextEncoding& defaultEncoding, bool usesEncodingDetector);
H A DDocumentWriter.h41 class TextResourceDecoder;
65 TextResourceDecoder* createDecoderIfNeeded();
81 RefPtr<TextResourceDecoder> m_decoder;
H A DTextResourceDecoder.cpp24 #include "TextResourceDecoder.h"
303 TextResourceDecoder::ContentType TextResourceDecoder::determineContentType(const String& mimeType)
314 const TextEncoding& TextResourceDecoder::defaultEncoding(ContentType contentType, const TextEncoding& specifiedDefaultEncoding)
325 TextResourceDecoder::TextResourceDecoder(const String& mimeType, const TextEncoding& specifiedDefaultEncoding, bool usesEncodingDetector) function in class:WebCore::TextResourceDecoder
339 TextResourceDecoder::~TextResourceDecoder()
343 void TextResourceDecoder::setEncoding(const TextEncoding& encoding, EncodingSource source)
402 size_t TextResourceDecoder
[all...]
H A DDocumentWriter.cpp49 #include "TextResourceDecoder.h"
175 TextResourceDecoder* DocumentWriter::createDecoderIfNeeded()
178 m_decoder = TextResourceDecoder::create(m_mimeType,
195 m_decoder->setEncoding(parentFrame->document()->inputEncoding(), TextResourceDecoder::EncodingFromParentFrame);
198 m_encodingWasChosenByUser ? TextResourceDecoder::UserChosenEncoding : TextResourceDecoder::EncodingFromHTTPHeader);
/macosx-10.10/WebCore-7600.1.25/loader/cache/
H A DCachedSVGDocument.cpp35 , m_decoder(TextResourceDecoder::create("application/xml"))
46 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
H A DCachedScript.h34 class TextResourceDecoder;
62 RefPtr<TextResourceDecoder> m_decoder;
H A DCachedXSLStyleSheet.h35 class TextResourceDecoder;
48 RefPtr<TextResourceDecoder> m_decoder;
H A DCachedSVGDocument.h29 #include "TextResourceDecoder.h"
42 RefPtr<TextResourceDecoder> m_decoder;
H A DCachedCSSStyleSheet.h36 class TextResourceDecoder;
64 RefPtr<TextResourceDecoder> m_decoder;
H A DCachedScript.cpp38 #include "TextResourceDecoder.h"
45 , m_decoder(TextResourceDecoder::create(ASCIILiteral("application/javascript"), charset))
59 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
H A DCachedXSLStyleSheet.cpp33 #include "TextResourceDecoder.h"
42 , m_decoder(TextResourceDecoder::create("text/xsl"))
58 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
H A DCachedCSSStyleSheet.cpp38 #include "TextResourceDecoder.h"
46 , m_decoder(TextResourceDecoder::create("text/css", charset))
73 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader);
H A DCachedFont.cpp38 #include "TextResourceDecoder.h"
138 RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml");
/macosx-10.10/WebCore-7600.1.25/fileapi/
H A DFileReaderLoader.h50 class TextResourceDecoder;
111 RefPtr<TextResourceDecoder> m_decoder;
/macosx-10.10/WebCore-7600.1.25/workers/
H A DWorkerScriptLoader.h46 class TextResourceDecoder;
86 RefPtr<TextResourceDecoder> m_decoder;
H A DWorkerScriptLoader.cpp35 #include "TextResourceDecoder.h"
126 m_decoder = TextResourceDecoder::create("text/javascript", m_responseEncoding);
128 m_decoder = TextResourceDecoder::create("text/javascript", "UTF-8");
/macosx-10.10/WebCore-7600.1.25/xml/
H A DXSLTProcessor.cpp41 #include "TextResourceDecoder.h"
102 RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create(sourceMIMEType);
103 decoder->setEncoding(sourceEncoding.isEmpty() ? UTF8Encoding() : TextEncoding(sourceEncoding), TextResourceDecoder::EncodingFromXMLHeader);
H A DXMLHttpRequest.h50 class TextResourceDecoder;
233 RefPtr<TextResourceDecoder> m_decoder;
/macosx-10.10/WebCore-7600.1.25/page/
H A DEventSource.h48 class TextResourceDecoder;
110 RefPtr<TextResourceDecoder> m_decoder;
/macosx-10.10/WebCore-7600.1.25/inspector/
H A DNetworkResourcesData.cpp39 #include "TextResourceDecoder.h"
159 static PassRefPtr<TextResourceDecoder> createOtherResourceTextDecoder(const String& mimeType, const String& textEncodingName)
161 RefPtr<TextResourceDecoder> decoder;
163 decoder = TextResourceDecoder::create("text/plain", textEncodingName);
165 decoder = TextResourceDecoder::create("application/xml");
168 decoder = TextResourceDecoder::create("text/html", "UTF-8");
170 decoder = TextResourceDecoder::create("text/plain", "ISO-8859-1");
H A DNetworkResourcesData.h35 #include "TextResourceDecoder.h"
50 class TextResourceDecoder;
110 PassRefPtr<TextResourceDecoder> decoder() const { return m_decoder; }
111 void setDecoder(PassRefPtr<TextResourceDecoder> decoder) { m_decoder = decoder; }
141 RefPtr<TextResourceDecoder> m_decoder;
H A DInspectorPageAgent.cpp70 #include "TextResourceDecoder.h"
135 static PassRefPtr<TextResourceDecoder> createXHRTextDecoder(const String& mimeType, const String& textEncodingName)
137 RefPtr<TextResourceDecoder> decoder;
139 decoder = TextResourceDecoder::create("text/plain", textEncodingName);
141 decoder = TextResourceDecoder::create("application/xml");
144 decoder = TextResourceDecoder::create("text/html", "UTF-8");
146 decoder = TextResourceDecoder::create("text/plain", "UTF-8");
185 RefPtr<TextResourceDecoder> decoder = createXHRTextDecoder(cachedResource->response().mimeType(), cachedResource->response().textEncodingName());
/macosx-10.10/WebKit-7600.1.25/win/
H A DWebHTMLRepresentation.cpp36 #include <WebCore/TextResourceDecoder.h>
306 WebCore::TextResourceDecoder* decoder = doc->decoder();
/macosx-10.10/WebCore-7600.1.25/html/track/
H A DWebVTTParser.h41 #include "TextResourceDecoder.h"
189 RefPtr<TextResourceDecoder> m_decoder;
/macosx-10.10/WebCore-7600.1.25/loader/appcache/
H A DManifestParser.cpp29 #include "TextResourceDecoder.h"
47 String s = TextResourceDecoder::create("text/cache-manifest", "UTF-8")->decodeAndFlush(data, length);
49 // Look for the magic signature: "^\xFEFF?CACHE MANIFEST[ \t]?" (the BOM is removed by TextResourceDecoder).

Completed in 221 milliseconds

12