Page Speed Optimization Libraries  1.9.32.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::ScanFilter Class Reference

#include "scan_filter.h"

Inheritance diagram for net_instaweb::ScanFilter:

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: