Page Speed Optimization Libraries  1.7.30.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes
net_instaweb::SplitHtmlBeaconFilter Class Reference

Inject JavaScript for detecting the below-the-fold HTML panels. More...

#include "split_html_beacon_filter.h"

Inheritance diagram for net_instaweb::SplitHtmlBeaconFilter:
net_instaweb::CommonFilter

List of all members.

Public Member Functions

 SplitHtmlBeaconFilter (RewriteDriver *driver)
virtual void DetermineEnabled ()
virtual void StartDocumentImpl ()
virtual void EndDocument ()
virtual void StartElementImpl (HtmlElement *element)
virtual void EndElementImpl (HtmlElement *element)
virtual const char * Name () const

Static Public Member Functions

static void InitStats (Statistics *statistics)
static bool ShouldApply (RewriteDriver *driver)

Static Public Attributes

static const char kSplitHtmlBeaconAddedCount []
 Counters.

Detailed Description

Inject JavaScript for detecting the below-the-fold HTML panels.


Member Function Documentation

Returns true if this filter is going to inject a beacon for this request. Filters that need to be disabled when beaconing runs (such as SplitHtml) should set_is_enabled(false) in their DetermineEnabled calls if this returns true. This should be called before the filter runs, since running the filter can change the result due to pcache updates.

virtual void net_instaweb::SplitHtmlBeaconFilter::StartDocumentImpl ( ) [inline, 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.


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