Page Speed Optimization Libraries
1.13.35.1
|
#include <vector>
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/scoped_ptr.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"
Go to the source code of this file.
Classes | |
class | net_instaweb::css_util::StyleExtractor |
Namespaces | |
net_instaweb | |
Unit-test framework for wget fetcher. | |
net_instaweb::css_util | |
Functions | |
DimensionState | net_instaweb::css_util::GetDimensions (Css::Declarations *decls, int *width, int *height) |
void | net_instaweb::css_util::VectorizeMediaAttribute (const StringPiece &input_media, StringVector *output_vector) |
GoogleString | net_instaweb::css_util::StringifyMediaVector (const StringVector &import_media) |
bool | net_instaweb::css_util::IsComplexMediaQuery (const Css::MediaQuery &query) |
bool | net_instaweb::css_util::ConvertMediaQueriesToStringVector (const Css::MediaQueries &in_vector, StringVector *out_vector) |
void | net_instaweb::css_util::ConvertStringVectorToMediaQueries (const StringVector &in_vector, Css::MediaQueries *out_vector) |
void | net_instaweb::css_util::ClearVectorIfContainsMediaAll (StringVector *media) |
bool | net_instaweb::css_util::CanMediaAffectScreen (const StringPiece &media) |
Can this media attribute include some kind of screen? | |
GoogleString | net_instaweb::css_util::JsDetectableSelector (const Css::Selector &selector) |
template<typename T > | |
void | net_instaweb::css_util::EliminateElementsNotIn (std::vector< T > *sorted_inner, const std::vector< T > &sorted_outer) |
Functionality for parsing css declarations. Currently this file deals with dimensions only, but could be explanded to include other types of values.