19 #ifndef PAGESPEED_KERNEL_HTML_COLLAPSE_WHITESPACE_FILTER_H_
20 #define PAGESPEED_KERNEL_HTML_COLLAPSE_WHITESPACE_FILTER_H_
28 namespace net_instaweb {
31 class HtmlCharactersNode;
51 virtual const char*
Name()
const {
return "CollapseWhitespace"; }
55 std::vector<HtmlName::Keyword> keyword_stack_;
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: collapse_whitespace_filter.h:51
Leaf node representing raw characters in HTML.
Definition: html_node.h:167
Definition: empty_html_filter.h:37
Definition: html_parse.h:88
Definition: html_element.h:42
Definition: collapse_whitespace_filter.h:42
virtual void StartElement(HtmlElement *element)
virtual void Characters(HtmlCharactersNode *characters)
Called for raw characters between tags.
virtual void StartDocument()