|
| NestedFilter (RewriteDriver *driver, SimpleTextFilter *upper_filter, UpperCaseRewriter *upper_rewriter, bool expected_nested_result) |
|
int | num_top_rewrites () const |
| Stats.
|
|
int | num_sub_rewrites () const |
|
void | ClearStats () |
|
void | set_chain (bool x) |
| Set this to true to create a chain of nested rewrites on the same slot.
|
|
bool | expected_nested_rewrite_result () const |
|
void | set_expected_nested_rewrite_result (bool x) |
|
void | set_check_nested_rewrite_result (bool x) |
|
| RewriteFilter (RewriteDriver *driver) |
|
virtual void | DetermineEnabled (GoogleString *disabled_reason) |
|
virtual bool | CanModifyUrls () |
|
virtual const UrlSegmentEncoder * | encoder () const |
|
virtual bool | ComputeOnTheFly () const |
|
virtual RewriteContext * | MakeNestedRewriteContext (RewriteContext *parent, const ResourceSlotPtr &slot) |
|
virtual void | EncodeUserAgentIntoResourceContext (ResourceContext *context) const |
|
virtual const
RewriteOptions::Filter * | RelatedFilters (int *num_filters) const |
|
virtual const StringPieceVector * | RelatedOptions () const |
|
| CommonFilter (RewriteDriver *driver) |
|
const GoogleUrl & | base_url () const |
| Getters. More...
|
|
const GoogleUrl & | decoded_base_url () const |
|
RewriteDriver * | driver () const |
|
HtmlElement * | noscript_element () const |
|
void | InsertNodeAtBodyEnd (HtmlNode *data) |
|
virtual void | StartDocument () |
| Note: Don't overload these methods, overload the implementers instead!
|
|
virtual void | StartElement (HtmlElement *element) |
|
virtual void | EndElement (HtmlElement *element) |
|
virtual void | Characters (HtmlCharactersNode *characters) |
|
ResourcePtr | CreateInputResource (StringPiece input_url, RewriteDriver::InputRole role, bool *is_authorized) |
|
ResourcePtr | CreateInputResourceOrInsertDebugComment (StringPiece input_url, RewriteDriver::InputRole role, HtmlElement *element) |
|
void | ResolveUrl (StringPiece input_url, GoogleUrl *out_url) |
|
bool | IsRelativeUrlLoadPermittedByCsp (StringPiece url, CspDirective role) |
|
bool | BaseUrlIsValid () const |
|
bool | DebugMode () const |
|
bool | CanAddPagespeedOnloadToImage (const HtmlElement &) |
|
virtual void | LogFilterModifiedContent () |
|
virtual
RewriteDriver::InlineAuthorizationPolicy | AllowUnauthorizedDomain () const |
|
virtual bool | IntendedForInlining () const |
|
void | AddJsToElement (StringPiece js, HtmlElement *script) |
|
virtual void | EndDocument () |
|
virtual void | Cdata (HtmlCdataNode *cdata) |
| Called for CDATA blocks (e.g. <![CDATA[foobar]]>)
|
|
virtual void | Comment (HtmlCommentNode *comment) |
| Called for HTML comments that aren't IE directives (e.g. ).
|
|
virtual void | IEDirective (HtmlIEDirectiveNode *directive) |
|
virtual void | Directive (HtmlDirectiveNode *directive) |
| Called for HTML directives (e.g. <!doctype foobar>).
|
|
virtual void | Flush () |
|
ScriptUsage | GetScriptUsage () const override |
|
virtual void | RenderDone () |
|
bool | is_enabled () const |
|
void | set_is_enabled (bool is_enabled) |
|
Filter that contains nested resources that must themselves be rewritten.