19 #ifndef PAGESPEED_KERNEL_HTML_EMPTY_HTML_FILTER_H_
20 #define PAGESPEED_KERNEL_HTML_EMPTY_HTML_FILTER_H_
25 namespace net_instaweb {
28 class HtmlCharactersNode;
29 class HtmlCommentNode;
30 class HtmlDirectiveNode;
32 class HtmlIEDirectiveNode;
Definition: html_filter.h:35
virtual void Comment(HtmlCommentNode *comment)
Called for HTML comments that aren't IE directives (e.g. ).
Leaf node representing raw characters in HTML.
Definition: html_node.h:167
Definition: empty_html_filter.h:37
Indicates this filter never injects scripts.
Definition: html_filter.h:55
Definition: html_element.h:42
ScriptUsage GetScriptUsage() const override
Definition: empty_html_filter.h:60
virtual void DetermineEnabled(GoogleString *disabled_reason)
virtual void EndDocument()
virtual void Cdata(HtmlCdataNode *cdata)
Called for CDATA blocks (e.g. <![CDATA[foobar]]>)
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual bool CanModifyUrls()
Definition: empty_html_filter.h:56
ScriptUsage
Describes a filter's relationship with scripts.
Definition: html_filter.h:38
virtual void StartDocument()
virtual void StartElement(HtmlElement *element)
Leaf node representing an HTML directive.
Definition: html_node.h:233
Leaf node representing a CDATA section.
Definition: html_node.h:147
Leaf node representing an HTML IE directive.
Definition: html_node.h:213
virtual void IEDirective(HtmlIEDirectiveNode *directive)
virtual void Characters(HtmlCharactersNode *characters)
Called for raw characters between tags.
virtual void Directive(HtmlDirectiveNode *directive)
Called for HTML directives (e.g. <!doctype foobar>).