19 #ifndef PAGESPEED_KERNEL_HTML_AMP_DOCUMENT_FILTER_H_ 
   20 #define PAGESPEED_KERNEL_HTML_AMP_DOCUMENT_FILTER_H_ 
   29 namespace net_instaweb {
 
   45   static const char kUtf8LightningBolt[];
 
   46   static const char kInvalidAmpDirectiveComment[];
 
   63   const char* 
Name()
 const override { 
return "AmpDocumentFilter"; }
 
   69   std::unique_ptr<BoolCallback> discovered_;
 
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: amp_document_filter.h:43
 
AmpDocumentFilter(HtmlParse *html_parse, BoolCallback *discovered)
 
void StartDocument() override
 
const char * Name() const override
The name of this filter – used for logging and debugging. 
Definition: amp_document_filter.h:63
 
void Characters(HtmlCharactersNode *chars) override
Called for raw characters between tags. 
 
void StartElement(HtmlElement *element) override
 
Definition: callback.h:44
 
void EndDocument() override