Page Speed Optimization Libraries  1.7.30.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::ScanFilter Class Reference

#include "scan_filter.h"

List of all members.

Public Member Functions

 ScanFilter (RewriteDriver *driver)
virtual void StartDocument ()
virtual void StartElement (HtmlElement *element)
virtual void Cdata (HtmlCdataNode *cdata)
virtual void Comment (HtmlCommentNode *comment)
virtual void IEDirective (HtmlIEDirectiveNode *directive)
virtual void Characters (HtmlCharactersNode *characters)
virtual void Directive (HtmlDirectiveNode *directive)
virtual void Flush ()
virtual const char * Name () const

Detailed Description

Filter that is run before any other, to help track base-tag usage and changes to help identify and deal conservatively with situation where HTML files update the base-tag more than once or use the base-tag prior to it being changed. Such situations are not well-defined and what we want to do is avoid rewriting any resources whose interpretation might be hard to predict due to browser differences.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines