Page Speed Optimization Libraries
1.5.27.2
|
Remove attributes and attribute values that can be safely elided. More...
#include "elide_attributes_filter.h"
Classes | |
struct | AttrValue |
Public Member Functions | |
ElideAttributesFilter (HtmlParse *html_parse) | |
virtual void | StartElement (HtmlElement *element) |
virtual const char * | Name () const |
The name of this filter -- used for logging and debugging. |
Remove attributes and attribute values that can be safely elided.
virtual void net_instaweb::ElideAttributesFilter::StartElement | ( | HtmlElement * | element | ) | [virtual] |
When an HTML element is encountered during parsing, each filter's StartElement method is called. The HtmlElement lives for the entire duration of the document.
Reimplemented from net_instaweb::EmptyHtmlFilter.