19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_INLINE_ATTRIBUTE_SLOT_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_INLINE_ATTRIBUTE_SLOT_H_
24 namespace net_instaweb {
30 HtmlElement::Attribute* attribute,
31 StringPiece location);
33 virtual HtmlElement*
element()
const {
return element_; }
38 const HtmlElement::Attribute* attribute()
const {
return attribute_; }
41 HtmlElement* element_;
42 HtmlElement::Attribute* attribute_;
43 GoogleString location_;
48 typedef RefCountedPtr<InlineAttributeSlot> InlineAttributeSlotPtr;
52 bool operator()(
const InlineAttributeSlotPtr& p,
53 const InlineAttributeSlotPtr& q)
const;
56 typedef std::set<InlineAttributeSlotPtr,
Definition: inline_attribute_slot.h:50
virtual GoogleString LocationString() const
Definition: inline_attribute_slot.h:34
Definition: resource_slot.h:53
Definition: inline_attribute_slot.h:26
virtual HtmlElement * element() const
Return HTML element associated with slot, or NULL if none (CSS, IPRO)
Definition: inline_attribute_slot.h:33