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

#include "split_html_helper_filter.h"

Inheritance diagram for net_instaweb::SplitHtmlHelperFilter:
net_instaweb::CommonFilter

List of all members.

Public Member Functions

 SplitHtmlHelperFilter (RewriteDriver *rewrite_driver)
virtual void DetermineEnabled ()
virtual void StartDocumentImpl ()
virtual void EndDocument ()
virtual void StartElementImpl (HtmlElement *element)
virtual void EndElementImpl (HtmlElement *element)
const HtmlElement * current_panel_element () const
void set_current_panel_element (const HtmlElement *element)
virtual const char * Name () const

Detailed Description

Filter which helps in the presence of split html filter. Based on the xpath configuration it will decide the above-the-fold panels and below-the-fold panels and makes sure that downstream filters like inline preview images and lazyload images can work well in the absence of critical image information.

When the above-the-fold html fragment is requested it allows the images in those panels to be inline previewed. When the below-the-fold html fragment is requested it allows the images in those panels to be lazyloaded.


Member Function Documentation

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.


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