/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLSourceTracker.h | 29 #include "core/html/parser/HTMLToken.h" 44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&); 45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&); 47 String sourceForToken(const HTMLToken&);
|
AtomicHTMLToken.h | 31 #include "core/html/parser/HTMLToken.h" 43 ASSERT(m_type == HTMLToken::DOCTYPE); 47 HTMLToken::Type type() const { return m_type; } 63 ASSERT(m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag); 87 ASSERT(m_type == HTMLToken::Character); 93 ASSERT(m_type == HTMLToken::Comment); 100 ASSERT(m_type == HTMLToken::DOCTYPE); 107 ASSERT(m_type == HTMLToken::DOCTYPE); 111 explicit AtomicHTMLToken(HTMLToken& token [all...] |
CompactHTMLToken.cpp | 31 #include "core/html/parser/HTMLToken.h" 44 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition) 51 case HTMLToken::Uninitialized: 54 case HTMLToken::DOCTYPE: { 62 case HTMLToken::EndOfFile: 64 case HTMLToken::StartTag: 66 for (Vector<HTMLToken::Attribute>::const_iterator it = token->attributes().begin(); it != token->attributes().end(); ++it) 69 case HTMLToken::EndTag: 72 case HTMLToken::Comment: 73 case HTMLToken::Character: [all...] |
HTMLSourceTracker.cpp | 38 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) 40 if (token.type() == HTMLToken::Uninitialized) { 51 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) 59 String HTMLSourceTracker::sourceForToken(const HTMLToken& token) 61 if (token.type() == HTMLToken::EndOfFile)
|
CompactHTMLToken.h | 30 #include "core/html/parser/HTMLToken.h" 52 CompactHTMLToken(const HTMLToken*, const TextPosition&); 56 HTMLToken::Type type() const { return static_cast<HTMLToken::Type>(m_type); }
|
XSSAuditor.h | 29 #include "core/html/parser/HTMLToken.h" 45 FilterTokenRequest(HTMLToken& token, HTMLSourceTracker& sourceTracker, bool shouldAllowCDATA) 51 HTMLToken& token; 99 String decodedSnippetForToken(const HTMLToken&); 101 String decodedSnippetForAttribute(const FilterTokenRequest&, const HTMLToken::Attribute&, AttributeKind treatment = NormalAttribute);
|
CSSPreloadScanner.h | 31 #include "core/html/parser/HTMLToken.h" 47 void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
|
HTMLMetaCharsetParser.h | 29 #include "core/html/parser/HTMLToken.h" 71 HTMLToken m_token;
|
HTMLViewSourceParser.h | 59 HTMLToken m_token;
|
TextDocumentParser.cpp | 61 AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), attributes);
|
BackgroundHTMLParser.h | 34 #include "core/html/parser/HTMLToken.h" 64 OwnPtr<HTMLToken> token; 90 OwnPtr<HTMLToken> m_token;
|
HTMLPreloadScanner.h | 32 #include "core/html/parser/HTMLToken.h" 50 void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests); 109 HTMLToken m_token;
|
HTMLTokenizer.h | 31 #include "core/html/parser/HTMLToken.h" 150 bool nextToken(SegmentedString&, HTMLToken&); 252 ASSERT(m_token->type() != HTMLToken::Uninitialized); 253 if (m_token->type() == HTMLToken::StartTag) 261 return m_token->type() == HTMLToken::Character; 270 HTMLToken* m_token;
|
XSSAuditor.cpp | 114 static bool hasName(const HTMLToken& token, const QualifiedName& name) 119 static bool findAttributeWithName(const HTMLToken& token, const QualifiedName& name, size_t& indexOfMatchingAttribute) 183 static bool isSemicolonSeparatedAttribute(const HTMLToken::Attribute& attribute) 324 if (request.token.type() == HTMLToken::StartTag) 327 if (request.token.type() == HTMLToken::Character) 329 else if (request.token.type() == HTMLToken::EndTag) 395 ASSERT(request.token.type() == HTMLToken::StartTag); 409 ASSERT(request.token.type() == HTMLToken::StartTag); 423 ASSERT(request.token.type() == HTMLToken::StartTag); 430 const HTMLToken::Attribute& nameAttribute = request.token.attributes().at(indexOfNameAttribute) [all...] |
HTMLDocumentParser.h | 38 #include "core/html/parser/HTMLToken.h" 141 void discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunk, PassOwnPtr<HTMLToken>, PassOwnPtr<HTMLTokenizer>); 154 void constructTreeFromHTMLToken(HTMLToken&); 172 HTMLToken& token() { return *m_token; } 177 OwnPtr<HTMLToken> m_token;
|
HTMLViewSourceParser.cpp | 32 #include "core/html/parser/HTMLToken.h" 55 if (m_token.type() == HTMLToken::StartTag)
|
HTMLPreloadScanner.cpp | 59 static const StringImpl* tagImplFor(const HTMLToken::DataVector& data) 105 void processAttributes(const HTMLToken::AttributeList& attributes) 110 for (HTMLToken::AttributeList::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) { 254 void TokenPreloadScanner::scan(const HTMLToken& token, const SegmentedString& source, PreloadRequestStream& requests) 268 case HTMLToken::Character: { 274 case HTMLToken::EndTag: { 288 case HTMLToken::StartTag: { 355 if (m_token.type() == HTMLToken::StartTag)
|
HTMLTreeBuilder.cpp | 46 #include "core/html/parser/HTMLToken.h" 393 case HTMLToken::Uninitialized: 396 case HTMLToken::DOCTYPE: 400 case HTMLToken::StartTag: 404 case HTMLToken::EndTag: 408 case HTMLToken::Comment: 412 case HTMLToken::Character: 415 case HTMLToken::EndOfFile: 424 ASSERT(token->type() == HTMLToken::DOCTYPE); 441 AtomicHTMLToken fakeToken(HTMLToken::StartTag, tagName.localName(), attributes) [all...] |
HTMLDocumentParser.cpp | 79 , m_token(m_options.useThreading ? nullptr : adoptPtr(new HTMLToken)) 100 , m_token(adoptPtr(new HTMLToken)) 135 m_token = adoptPtr(new HTMLToken); 335 OwnPtr<HTMLToken> token = m_token.release(); 344 // both starts and ends in the DataState. That state is simplest because the HTMLToken 347 // sophisticated with the HTMLToken. 359 void HTMLDocumentParser::discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunkBeforeScript, PassOwnPtr<HTMLToken> token, PassOwnPtr<HTMLTokenizer> tokenizer) 413 if (tokens->last().type() == HTMLToken::EndOfFile) { 434 if (it->type() == HTMLToken::EndOfFile) { 570 void HTMLDocumentParser::constructTreeFromHTMLToken(HTMLToken& rawToken [all...] |
HTMLTokenizer.cpp | 33 #include "core/html/parser/HTMLToken.h" 48 // We don't have an HTMLToken.cpp though, so this is the next best place. 49 QualifiedName AtomicHTMLToken::nameForAttribute(const HTMLToken::Attribute& attribute) const 56 return m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag || m_type == HTMLToken::DOCTYPE; 61 return m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag; 174 ASSERT(m_token->type() == HTMLToken::Character || m_token->type() == HTMLToken::Uninitialized) [all...] |
HTMLToken.h | 30 #include "core/html/parser/HTMLToken.h" 64 class HTMLToken { 65 WTF_MAKE_NONCOPYABLE(HTMLToken); 99 HTMLToken() { clear(); }
|
HTMLTreeBuilderSimulator.cpp | 134 if (token.type() == HTMLToken::StartTag) { 163 if (token.type() == HTMLToken::EndTag) {
|
HTMLConstructionSite.cpp | 46 #include "core/html/parser/HTMLToken.h" 418 ASSERT(token->type() == HTMLToken::DOCTYPE); 443 ASSERT(token->type() == HTMLToken::Comment); 449 ASSERT(token->type() == HTMLToken::Comment); 455 ASSERT(token->type() == HTMLToken::Comment); 497 ASSERT(token->type() == HTMLToken::StartTag); 533 ASSERT(token->type() == HTMLToken::StartTag); 661 AtomicHTMLToken fakeToken(HTMLToken::StartTag, item->localName(), item->attributes()); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLViewSourceDocument.h | 34 class HTMLToken; 43 void addSource(const String&, HTMLToken&); 50 void processDoctypeToken(const String& source, HTMLToken&); 51 void processTagToken(const String& source, HTMLToken&); 52 void processCommentToken(const String& source, HTMLToken&); 53 void processCharacterToken(const String& source, HTMLToken&);
|
HTMLViewSourceDocument.cpp | 41 #include "core/html/parser/HTMLToken.h" 91 void HTMLViewSourceDocument::addSource(const String& source, HTMLToken& token) 97 case HTMLToken::Uninitialized: 100 case HTMLToken::DOCTYPE: 103 case HTMLToken::EndOfFile: 107 case HTMLToken::StartTag: 108 case HTMLToken::EndTag: 111 case HTMLToken::Comment: 114 case HTMLToken::Character: 120 void HTMLViewSourceDocument::processDoctypeToken(const String& source, HTMLToken& [all...] |