|
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) |
|
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: