19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_SUPPORT_NOSCRIPT_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_SUPPORT_NOSCRIPT_FILTER_H_
25 namespace net_instaweb {
42 virtual const char*
Name()
const {
return "SupportNoscript"; }
61 bool IsAnyFilterRequiringScriptExecutionEnabled()
const;
63 bool should_insert_noscript_;
virtual void StartElement(HtmlElement *element)
Definition: empty_html_filter.h:37
Definition: support_noscript_filter.h:34
Definition: html_element.h:42
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: support_noscript_filter.h:42
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: html_filter.h:43
ScriptUsage GetScriptUsage() const override
Definition: support_noscript_filter.h:58
virtual void DetermineEnabled(GoogleString *disabled_reason)