19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_JS_OUTLINE_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_JS_OUTLINE_FILTER_H_
35 namespace net_instaweb {
43 static const char kFilterId[];
47 virtual void StartElementImpl(
HtmlElement* element);
55 virtual const char*
Name()
const {
return "OutlineJs"; }
69 size_t size_threshold_bytes_;
Definition: common_filter.h:47
Leaf node representing raw characters in HTML.
Definition: html_node.h:167
Definition: html_element.h:42
Filter to take explicit <style> and <script> tags and outline them to files.
Definition: js_outline_filter.h:39
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
ScriptUsage
Describes a filter's relationship with scripts.
Definition: html_filter.h:38
Definition: rewrite_driver.h:100
Definition: server_context.h:99
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: js_outline_filter.h:55
virtual void Characters(HtmlCharactersNode *characters)
HTML Events we expect to be in <script> elements.
Definition: html_filter.h:43
Definition: message_handler.h:39
Definition: output_resource.h:44
ScriptUsage GetScriptUsage() const override
Definition: js_outline_filter.h:56
virtual void StartDocumentImpl()