Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Friends
net_instaweb::DeviceProperties Class Reference

#include "device_properties.h"

List of all members.

Public Member Functions

 DeviceProperties (UserAgentMatcher *matcher)
void set_user_agent (const StringPiece &user_agent_string)
bool SupportsImageInlining () const
bool SupportsCriticalImagesBeacon () const
bool SupportsJsDefer (bool enable_mobile) const
bool SupportsWebp () const
bool SupportsWebpLosslessAlpha () const
bool IsMobileUserAgent () const
bool SupportsSplitHtml (bool enable_mobile) const
bool CanPreloadResources (const RequestHeaders *request_headers) const
bool GetScreenResolution (int *width, int *height) const

Friends

class ImageRewriteTest

Detailed Description

This class keeps track of the device properties of the client, which are for the most part learned from the UserAgent string.


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