Page Speed Optimization Libraries
1.2.24.1
|
#include "css_move_to_head_filter.h"
Public Member Functions | |
CssMoveToHeadFilter (RewriteDriver *driver) | |
virtual void | StartDocumentImpl () |
virtual void | StartElementImpl (HtmlElement *element) |
virtual void | EndElementImpl (HtmlElement *element) |
virtual const char * | Name () const |
The name of this filter -- used for logging and debugging. | |
Static Public Member Functions | |
static void | InitStats (Statistics *statistics) |
Moves all CSS <link> and <style> tags either into the bottom of the <head> or above the first <script> depending on settings.
virtual void net_instaweb::CssMoveToHeadFilter::StartDocumentImpl | ( | ) | [virtual] |
Overload these implementer methods: Intentionally left abstract so that implementers don't forget to change the name from Blah to BlahImpl.
Implements net_instaweb::CommonFilter.