#include "css_minify.h"
|
static bool | Stylesheet (const Css::Stylesheet &stylesheet, Writer *writer, MessageHandler *handler) |
| Writes minified Stylesheet from already-parsed stylesheet object.
|
|
static bool | Declarations (const Css::Declarations &declarations, Writer *writer, MessageHandler *handler) |
| Writes minified Declarations (style attribute contents).
|
|
- Todo:
- TODO(nikhilmadan): Move to pagespeed/kernel/css/.
bool net_instaweb::CssMinify::ParseStylesheet |
( |
StringPiece |
stylesheet_text | ) |
|
Parses a CSS stylesheet, writing the minified result to the writer supplied to the consructor. Optionally, parsed URLs can be added to the string-vector passed to set_url_collector.
void net_instaweb::CssMinify::set_error_writer |
( |
Writer * |
writer | ) |
|
|
inline |
Sets a writer to receive a stream of error messages. The default is that all error messages are eaten.
The documentation for this class was generated from the following file: