Page Speed Optimization Libraries
1.9.32.2
|
A mobile role and its associated HTML attribute value. More...
#include "mobilize_rewrite_filter.h"
Public Types | |
enum | Level { kKeeper = 0, kHeader, kNavigational, kContent, kMarginal, kInvalid } |
Public Member Functions | |
MobileRole (Level level, const char *value) | |
Static Public Member Functions | |
static const MobileRole * | FromString (const StringPiece &mobile_role) |
static Level | LevelFromString (const StringPiece &mobile_role) |
static const char * | StringFromLevel (Level level) |
Public Attributes | |
const Level | level |
const char *const | value |
Set to a static string in cc. | |
Static Public Attributes | |
static const MobileRole | kMobileRoles [kInvalid] |
A mobile role and its associated HTML attribute value.