Home
last modified time | relevance | path

Searched refs:CachedResource (Results 1 – 25 of 76) sorted by relevance

1234

/external/webkit/WebCore/loader/
DDocLoader.cpp96 CachedResource* existing = cache()->resourceForURL(fullURL.string()); in checkForReload()
126 …CachedImage* resource = static_cast<CachedImage*>(requestResource(CachedResource::ImageResource, u… in requestImage()
141 return static_cast<CachedFont*>(requestResource(CachedResource::FontResource, url, String())); in requestFont()
146 …return static_cast<CachedCSSStyleSheet*>(requestResource(CachedResource::CSSStyleSheet, url, chars… in requestCSSStyleSheet()
156 return static_cast<CachedScript*>(requestResource(CachedResource::Script, url, charset)); in requestScript()
162 …return static_cast<CachedXSLStyleSheet*>(requestResource(CachedResource::XSLStyleSheet, url, Strin… in requestXSLStyleSheet()
169 return static_cast<CachedXSLStyleSheet*>(requestResource(CachedResource::XBL, url, String())); in requestXBLDocument()
173 bool DocLoader::canRequest(CachedResource::Type type, const KURL& url) in canRequest()
179 case CachedResource::ImageResource: in canRequest()
180 case CachedResource::CSSStyleSheet: in canRequest()
[all …]
DCache.h41 class CachedResource; variable
62 typedef HashMap<String, CachedResource*> CachedResourceMap;
65 CachedResource* m_head;
66 CachedResource* m_tail;
78 void addResource(CachedResource*);
99CachedResource* requestResource(DocLoader*, CachedResource::Type, const KURL& url, const String& c…
103 void revalidateResource(CachedResource*, DocLoader*);
104 void revalidationSucceeded(CachedResource* revalidatingResource, const ResourceResponse&);
105 void revalidationFailed(CachedResource* revalidatingResource);
133 void remove(CachedResource* resource) { evict(resource); } in remove()
[all …]
DCache.cpp69 static CachedResource* createResource(CachedResource::Type type, const KURL& url, const String& cha… in createResource()
72 case CachedResource::ImageResource: in createResource()
74 case CachedResource::CSSStyleSheet: in createResource()
76 case CachedResource::Script: in createResource()
78 case CachedResource::FontResource: in createResource()
81 case CachedResource::XSLStyleSheet: in createResource()
85 case CachedResource::XBLStyleSheet: in createResource()
95 CachedResource* Cache::requestResource(DocLoader* docLoader, CachedResource::Type type, const KURL&… in requestResource()
103 CachedResource* resource = resourceForURL(url.string()); in requestResource()
156 if (CachedResource* existing = resourceForURL(url)) { in requestUserCSSStyleSheet()
[all …]
DCachedResource.cpp49 CachedResource::CachedResource(const String& url, Type type) in CachedResource() function in WebCore::CachedResource
90 CachedResource::~CachedResource() in ~CachedResource()
107 void CachedResource::load(DocLoader* docLoader, bool incremental, bool skipCanLoadCheck, bool sendR… in load()
114 void CachedResource::finish() in finish()
119 bool CachedResource::isExpired() const in isExpired()
127 double CachedResource::currentAge() const in currentAge()
139 double CachedResource::freshnessLifetime() const in freshnessLifetime()
161 void CachedResource::setResponse(const ResourceResponse& response) in setResponse()
167 void CachedResource::setRequest(Request* request) in setRequest()
176 void CachedResource::addClient(CachedResourceClient* client) in addClient()
[all …]
DDocLoader.h75CachedResource* cachedResource(const String& url) const { return m_documentResources.get(url).get(… in cachedResource()
77 typedef HashMap<String, CachedResourceHandle<CachedResource> > DocumentResourceMap;
94 void removeCachedResource(CachedResource*) const;
107 …void preload(CachedResource::Type, const String& url, const String& charset, bool referencedFromBo…
112CachedResource* requestResource(CachedResource::Type, const String& url, const String& charset, bo…
113 void requestPreload(CachedResource::Type, const String& url, const String& charset);
116 void checkCacheObjectStatus(CachedResource*);
117 bool canRequest(CachedResource::Type, const KURL&);
126 ListHashSet<CachedResource*> m_preloads;
128 CachedResource::Type m_type;
DCachedResource.h49 class CachedResource {
75 CachedResource(const String& url, Type);
76 virtual ~CachedResource();
173 CachedResource* resourceToRevalidate() const { return m_resourceToRevalidate; } in resourceToRevalidate()
211 void setResourceToRevalidate(CachedResource*);
240 CachedResource* m_nextInAllResourcesList;
241 CachedResource* m_prevInAllResourcesList;
243 CachedResource* m_nextInLiveResourcesList;
244 CachedResource* m_prevInLiveResourcesList;
253 CachedResource* m_resourceToRevalidate;
DCachedResourceHandle.h36 CachedResource* get() const { return m_resource; } in get()
41 typedef CachedResource* CachedResourceHandleBase::*UnspecifiedBoolType;
46 …CachedResourceHandleBase(CachedResource* res) { m_resource = res; if (m_resource) m_resource->regi… in CachedResourceHandleBase()
49 void setResource(CachedResource*);
54 friend class CachedResource; variable
56 CachedResource* m_resource;
DRequest.h30 class CachedResource; variable
35 …Request(DocLoader*, CachedResource*, bool incremental, bool skipCanLoadCheck, bool sendResourceLoa…
39 CachedResource* cachedResource() { return m_object; } in cachedResource()
53 CachedResource* m_object;
Dloader.cpp74 Loader::Priority Loader::determinePriority(const CachedResource* resource) const in determinePriority()
78 case CachedResource::CSSStyleSheet: in determinePriority()
80 case CachedResource::XSLStyleSheet: in determinePriority()
83 case CachedResource::XBL: in determinePriority()
86 case CachedResource::Script: in determinePriority()
87 case CachedResource::FontResource: in determinePriority()
89 case CachedResource::ImageResource: in determinePriority()
99 void Loader::load(DocLoader* docLoader, CachedResource* resource, bool incremental, bool skipCanLoa… in load()
311CachedResource* resourceToRevalidate = request->cachedResource()->resourceToRevalidate(); in servePendingRequests()
362 CachedResource* resource = request->cachedResource(); in didFinishLoading()
[all …]
Dloader.h36 class CachedResource; variable
46 …void load(DocLoader*, CachedResource*, bool incremental = true, bool skipCanLoadCheck = false, boo…
61 Priority determinePriority(const CachedResource*) const;
DCachedXBLDocument.h33 class CachedResource; variable
40 class CachedXBLDocument : public CachedResource {
DCachedResourceClient.h38 class CachedResource; variable
75 virtual void notifyFinished(CachedResource*) { } in notifyFinished() argument
DCachedImage.cpp53 : CachedResource(url, ImageResource) in CachedImage()
62 : CachedResource(String(), ImageResource) in CachedImage()
88 CachedResource::load(docLoader, true, false, true); in load()
361 CachedResource::didAccessDecodedData(timeStamp); in didDraw()
DCachedXBLDocument.cpp40 : CachedResource(url, XBL), m_document(0) in CachedXBLDocument()
56 CachedResource::ref(c); in ref()
DCachedResourceHandle.cpp31 void CachedResourceHandleBase::setResource(CachedResource* resource) in setResource()
DRequest.cpp31 Request::Request(DocLoader* docLoader, CachedResource* object, bool incremental, bool shouldSkipCan… in Request()
DCachedXSLStyleSheet.h38 class CachedXSLStyleSheet : public CachedResource {
DCachedCSSStyleSheet.h38 class CachedCSSStyleSheet : public CachedResource {
/external/webkit/WebCore/inspector/
DInspectorResource.cpp68 …ce::createCached(long long identifier, DocumentLoader* loader, const CachedResource* cachedResourc… in createCached()
226 CachedResource* cachedResource = m_frame->document()->docLoader()->cachedResource(requestURL()); in type()
231 case CachedResource::ImageResource: in type()
233 case CachedResource::FontResource: in type()
235 case CachedResource::CSSStyleSheet: in type()
237 case CachedResource::XSLStyleSheet: in type()
240 case CachedResource::Script: in type()
265CachedResource* cachedResource = m_frame->document()->docLoader()->cachedResource(requestURL()); in sourceString()
DInspectorResource.h48 class CachedResource; variable
76 …fPtr<InspectorResource> createCached(long long identifier, DocumentLoader*, const CachedResource*);
/external/webkit/WebCore/platform/graphics/wince/
DFontCustomPlatformData.cpp71 if (g_customFontCache && cachedFont->CachedResource::data()) { in createFontCustomPlatformData()
73 …if (renameFont(cachedFont->CachedResource::data(), fontName) && g_customFontCache->registerFont(fo… in createFontCustomPlatformData()
/external/webkit/WebCore/html/
DHTMLImageLoader.h40 virtual void notifyFinished(CachedResource*);
DHTMLImageLoader.cpp56 void HTMLImageLoader::notifyFinished(CachedResource*) in notifyFinished() argument
/external/webkit/WebCore/wml/
DWMLImageLoader.h39 virtual void notifyFinished(CachedResource*);
DWMLImageLoader.cpp55 void WMLImageLoader::notifyFinished(CachedResource* image) in notifyFinished()

1234