Page Speed Optimization Libraries
1.4.26.1
|
#include "device_properties.h"
Public Member Functions | |
DeviceProperties (UserAgentMatcher *matcher) | |
void | set_user_agent (const StringPiece &user_agent_string) |
bool | SupportsImageInlining () const |
bool | SupportsLazyloadImages () const |
bool | SupportsCriticalImagesBeacon () const |
bool | SupportsJsDefer (bool enable_mobile) const |
bool | SupportsWebp () const |
bool | SupportsWebpLosslessAlpha () const |
bool | IsBot () const |
bool | IsMobileUserAgent () const |
bool | SupportsSplitHtml (bool enable_mobile) const |
bool | CanPreloadResources () const |
bool | GetScreenResolution (int *width, int *height) const |
Friends | |
class | ImageRewriteTest |
This class keeps track of the device properties of the client, which are for the most part learned from the UserAgent string.