17 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_INLINE_RESOURCE_SLOT_H_
18 #define NET_INSTAWEB_REWRITER_PUBLIC_INLINE_RESOURCE_SLOT_H_
22 namespace net_instaweb {
34 HtmlCharactersNode* char_node,
35 StringPiece location);
39 virtual HtmlElement*
element()
const {
return char_node_->parent(); }
49 HtmlCharactersNode* char_node_;
50 const GoogleString location_;
55 typedef RefCountedPtr<InlineResourceSlot> InlineResourceSlotPtr;
59 bool operator()(
const InlineResourceSlotPtr& p,
60 const InlineResourceSlotPtr& q)
const;
63 typedef std::set<InlineResourceSlotPtr,
Definition: inline_resource_slot.h:30
virtual HtmlElement * element() const
Definition: inline_resource_slot.h:39
Definition: resource_slot.h:53
virtual GoogleString LocationString() const
InlineResourceSlot(const ResourcePtr &resource, HtmlCharactersNode *char_node, StringPiece location)
Definition: inline_resource_slot.h:57