19 #ifndef PAGESPEED_KERNEL_HTML_HTML_NAME_H_
20 #define PAGESPEED_KERNEL_HTML_HTML_NAME_H_
24 namespace net_instaweb {
82 kDataPagespeedFlushStyle,
83 kDataPagespeedHighResSrc,
84 kDataPagespeedHighResSrcset,
86 kDataPagespeedInlineSrc,
87 kDataPagespeedLazySrc,
88 kDataPagespeedLazySrcset,
89 kDataPagespeedLowResSrc,
90 kDataPagespeedLscExpiry,
91 kDataPagespeedLscHash,
93 kDataPagespeedNoDefer,
94 kDataPagespeedNoTransform,
95 kDataPagespeedOrigIndex,
96 kDataPagespeedOrigSrc,
97 kDataPagespeedOrigType,
98 kDataPagespeedPrioritize,
99 kDataPagespeedResponsiveTemp,
101 kDataPagespeedUrlHash,
195 kPagespeedNoTransform,
263 StringPiece
value()
const {
return *str_; }
275 const char* name()
const;
283 static int num_keywords();
284 static Keyword Lookup(
const StringPiece& name);
293 : keyword_(keyword), str_(str) {
296 friend class HtmlNameTest;
300 const StringPiece* str_;
Definition: html_name.h:269
Definition: html_parse.h:88
Keyword keyword() const
HtmlName's should be normally constructed using HtmlParse::MakeName.
Definition: html_name.h:260
StringPiece value() const
Return the atom string, which may not be case folded.
Definition: html_name.h:263
Definition: html_name.h:31
Keyword
Definition: html_name.h:39
?Xml
Definition: html_name.h:40