23 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_CSS_RESOURCE_SLOT_H_
24 #define NET_INSTAWEB_REWRITER_PUBLIC_CSS_RESOURCE_SLOT_H_
36 namespace Css {
class Values; }
38 namespace net_instaweb {
51 Css::Values* values()
const {
return values_; }
52 size_t value_index()
const {
return value_index_; }
53 UrlRelativity url_relativity()
const {
return url_relativity_; }
61 Css::Values* values,
size_t value_index);
79 typedef RefCountedPtr<CssResourceSlot> CssResourceSlotPtr;
93 Css::Values* values,
size_t value_index);
97 class SlotComparator {
102 typedef std::set<CssResourceSlotPtr, SlotComparator> SlotSet;
class GoogleUrl
Definition: google_url.h:58
virtual GoogleString LocationString() const
virtual bool DirectSetUrl(const StringPiece &url)
Definition: css_resource_slot.h:83
Definition: resource_slot.h:54
Definition: html_element.h:42
virtual bool CanDirectSetUrl()
Definition: css_resource_slot.h:56
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
UrlRelativity
namespace url
Definition: google_url.h:51
A place storing a rewritable URL inside a CSS AST.
Definition: css_resource_slot.h:44
virtual HtmlElement * element() const
Return HTML element associated with slot, or NULL if none (CSS, IPRO)
Definition: css_resource_slot.h:50
CssResourceSlotPtr GetSlot(const ResourcePtr &resource, const GoogleUrl &trim_url, const RewriteOptions *options, Css::Values *values, size_t value_index)
Definition: rewrite_options.h:84