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

List of all members.

Static Public Member Functions

static bool AbsolutifyImports (Css::Stylesheet *stylesheet, const GoogleUrl &base)
static bool AbsolutifyUrls (Css::Stylesheet *stylesheet, const GoogleUrl &base, bool handle_parseable_sections, bool handle_unparseable_sections, RewriteDriver *driver, MessageHandler *handler)

Member Function Documentation

static bool net_instaweb::CssAbsolutify::AbsolutifyImports ( Css::Stylesheet *  stylesheet,
const GoogleUrl &  base 
) [static]

Absolutify all relative URLs in the stylesheet's imports using the given base URL. The Import structures are modified in-situ. Returns true if any URLs were absolutified, false if not.

static bool net_instaweb::CssAbsolutify::AbsolutifyUrls ( Css::Stylesheet *  stylesheet,
const GoogleUrl &  base,
bool  handle_parseable_sections,
bool  handle_unparseable_sections,
RewriteDriver driver,
MessageHandler *  handler 
) [static]

Absolutify all relative URLs in the stylesheet using the given base URL. The Declaration structures are modified in-situ. You can control whether URLs in parseable sections (BACKGROUND, BACKGROUND_IMAGE, LIST_STYLE, LIST_STYLE_IMAGE) and/or unparseable sections (UNPARSEABLE) are handled. Returns true if any URLs were absolutified, false if not.


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