19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_SCAN_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_SCAN_FILTER_H_
24 namespace net_instaweb {
27 class HtmlCharactersNode;
28 class HtmlCommentNode;
29 class HtmlDirectiveNode;
31 class HtmlIEDirectiveNode;
55 virtual const char*
Name()
const {
return "Scan"; }
62 bool seen_meta_tag_charset_;
virtual void Directive(HtmlDirectiveNode *directive)
Called for HTML directives (e.g. <!doctype foobar>).
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: scan_filter.h:55
Leaf node representing raw characters in HTML.
Definition: html_node.h:167
Definition: empty_html_filter.h:37
virtual void Characters(HtmlCharactersNode *characters)
Called for raw characters between tags.
Definition: html_element.h:42
virtual void IEDirective(HtmlIEDirectiveNode *directive)
Definition: scan_filter.h:40
virtual void Cdata(HtmlCdataNode *cdata)
Called for CDATA blocks (e.g. <![CDATA[foobar]]>)
virtual void StartElement(HtmlElement *element)
Definition: rewrite_driver.h:100
virtual void StartDocument()
Leaf node representing an HTML directive.
Definition: html_node.h:233
virtual void Comment(HtmlCommentNode *comment)
Called for HTML comments that aren't IE directives (e.g. ).
Leaf node representing a CDATA section.
Definition: html_node.h:147
Leaf node representing an HTML IE directive.
Definition: html_node.h:213