53 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_DEFER_IFRAME_FILTER_H_
54 #define NET_INSTAWEB_REWRITER_PUBLIC_DEFER_IFRAME_FILTER_H_
63 namespace net_instaweb {
65 class StaticAssetManager;
69 static const char kDeferIframeInit[];
70 static const char kDeferIframeIframeJs[];
75 virtual void StartElementImpl(
HtmlElement* element);
79 virtual const char*
Name()
const {
return "DeferIframe"; }
84 bool script_inserted_;
Definition: common_filter.h:47
Definition: static_asset_manager.h:48
Definition: defer_iframe_filter.h:67
virtual void DetermineEnabled(GoogleString *disabled_reason)
Definition: html_element.h:42
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: defer_iframe_filter.h:79
ScriptUsage
Describes a filter's relationship with scripts.
Definition: html_filter.h:38
Definition: rewrite_driver.h:100
Definition: html_filter.h:43
virtual void StartDocumentImpl()
ScriptUsage GetScriptUsage() const override
Definition: defer_iframe_filter.h:80