19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_CSS_OUTLINE_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_CSS_OUTLINE_FILTER_H_
29 namespace net_instaweb {
31 class HtmlCharactersNode;
40 static const char kFilterId[];
47 virtual void StartElementImpl(
HtmlElement* element);
55 virtual const char*
Name()
const {
return "OutlineCss"; }
58 bool WriteResource(
const StringPiece& content,
OutputResource* resource,
67 size_t size_threshold_bytes_;
Definition: common_filter.h:47
virtual void StartDocumentImpl()
Leaf node representing raw characters in HTML.
Definition: html_node.h:167
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: css_outline_filter.h:55
Definition: html_element.h:42
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: rewrite_driver.h:100
Filter to take explicit <style> and <script> tags and outline them to files.
Definition: css_outline_filter.h:38
Definition: message_handler.h:39
Definition: output_resource.h:44
virtual void Characters(HtmlCharactersNode *characters)
HTML Events we expect to be in <style> elements.