Home
last modified time | relevance | path

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

1234

/external/webkit/Source/WebCore/loader/cache/
DCachedResourceLoader.cpp58 static CachedResource* createResource(CachedResource::Type type, const KURL& url, const String& cha… in createResource()
61 case CachedResource::ImageResource: in createResource()
63 case CachedResource::CSSStyleSheet: in createResource()
65 case CachedResource::Script: in createResource()
67 case CachedResource::FontResource: in createResource()
70 case CachedResource::XSLStyleSheet: in createResource()
74 case CachedResource::LinkResource: in createResource()
75 return new CachedResource(url.string(), CachedResource::LinkResource); in createResource()
109 CachedResource* CachedResourceLoader::cachedResource(const String& resourceURL) const in cachedResource()
115 CachedResource* CachedResourceLoader::cachedResource(const KURL& resourceURL) const in cachedResource()
[all …]
DCachedResource.cpp51 static ResourceLoadPriority defaultPriorityForResourceType(CachedResource::Type type) in defaultPriorityForResourceType()
54 case CachedResource::CSSStyleSheet: in defaultPriorityForResourceType()
56 case CachedResource::XSLStyleSheet: in defaultPriorityForResourceType()
59 case CachedResource::Script: in defaultPriorityForResourceType()
60 case CachedResource::FontResource: in defaultPriorityForResourceType()
62 case CachedResource::ImageResource: in defaultPriorityForResourceType()
65 case CachedResource::LinkResource: in defaultPriorityForResourceType()
77 CachedResource::CachedResource(const String& url, Type type) in CachedResource() function in WebCore::CachedResource
113 CachedResource::~CachedResource() in ~CachedResource()
130 void CachedResource::load(CachedResourceLoader* cachedResourceLoader, bool incremental, SecurityChe… in load()
[all …]
DMemoryCache.h40 class CachedResource; variable
80 typedef HashMap<String, CachedResource*> CachedResourceMap;
83 CachedResource* m_head;
84 CachedResource* m_tail;
96 void addResource(CachedResource*);
109 CachedResource* resourceForURL(const KURL&);
111 bool add(CachedResource* resource);
112 void remove(CachedResource* resource) { evict(resource); } in remove()
116 void revalidationSucceeded(CachedResource* revalidatingResource, const ResourceResponse&);
117 void revalidationFailed(CachedResource* revalidatingResource);
[all …]
DCachedResourceLoader.h72CachedResource* requestLinkResource(const String &url, ResourceLoadPriority priority = ResourceLoa…
78 CachedResource* cachedResource(const String& url) const;
79 CachedResource* cachedResource(const KURL& url) const;
81 typedef HashMap<String, CachedResourceHandle<CachedResource> > DocumentResourceMap;
98 void removeCachedResource(CachedResource*) const;
100 …void load(CachedResource*, bool incremental = false, SecurityCheckPolicy = DoSecurityCheck, bool s…
107 void incrementRequestCount(const CachedResource*);
108 void decrementRequestCount(const CachedResource*);
113 …void preload(CachedResource::Type, const String& url, const String& charset, bool referencedFromBo…
118CachedResource* requestResource(CachedResource::Type, const String& url, const String& charset, Re…
[all …]
DMemoryCache.cpp86 bool MemoryCache::add(CachedResource* resource) in add()
100 void MemoryCache::revalidationSucceeded(CachedResource* revalidatingResource, const ResourceRespons… in revalidationSucceeded()
102 CachedResource* resource = revalidatingResource->resourceToRevalidate(); in revalidationSucceeded()
126 void MemoryCache::revalidationFailed(CachedResource* revalidatingResource) in revalidationFailed()
133 CachedResource* MemoryCache::resourceForURL(const KURL& resourceURL) in resourceForURL()
136 CachedResource* resource = m_resources.get(url); in resourceForURL()
186 CachedResource* current = m_liveDecodedResources.m_tail; in pruneLiveResources()
188 CachedResource* prev = current->m_prevInLiveResourcesList; in pruneLiveResources()
223 CachedResource* current = m_allResources[i].m_tail; in pruneDeadResources()
225 CachedResource* prev = current->m_prevInAllResourcesList; in pruneDeadResources()
[all …]
DCachedResource.h53 class CachedResource {
54 WTF_MAKE_NONCOPYABLE(CachedResource); WTF_MAKE_FAST_ALLOCATED;
80 CachedResource(const String& url, Type);
81 virtual ~CachedResource();
89 virtual void error(CachedResource::Status);
203 CachedResource* resourceToRevalidate() const { return m_resourceToRevalidate; } in resourceToRevalidate()
214 void setResourceToRevalidate(CachedResource*);
276 CachedResource* m_nextInAllResourcesList;
277 CachedResource* m_prevInAllResourcesList;
279 CachedResource* m_nextInLiveResourcesList;
[all …]
DCachedResourceRequest.cpp45 static ResourceRequest::TargetType cachedResourceTypeToTargetType(CachedResource::Type type, Resour… in cachedResourceTypeToTargetType()
51 case CachedResource::CSSStyleSheet: in cachedResourceTypeToTargetType()
53 case CachedResource::XSLStyleSheet: in cachedResourceTypeToTargetType()
56 case CachedResource::Script: in cachedResourceTypeToTargetType()
58 case CachedResource::FontResource: in cachedResourceTypeToTargetType()
60 case CachedResource::ImageResource: in cachedResourceTypeToTargetType()
63 case CachedResource::LinkResource: in cachedResourceTypeToTargetType()
73 …t::CachedResourceRequest(CachedResourceLoader* cachedResourceLoader, CachedResource* resource, boo… in CachedResourceRequest()
88 …hedResourceRequest::load(CachedResourceLoader* cachedResourceLoader, CachedResource* resource, boo… in load()
99 CachedResource* resourceToRevalidate = resource->resourceToRevalidate(); in load()
[all …]
DCachedResourceHandle.h36 CachedResource* get() const { return m_resource; } in get()
42 typedef CachedResource* (CachedResourceHandleBase::*UnspecifiedBoolType);
47 …CachedResourceHandleBase(CachedResource* res) { m_resource = res; if (m_resource) m_resource->regi… in CachedResourceHandleBase()
50 void setResource(CachedResource*);
55 friend class CachedResource; variable
57 CachedResource* m_resource;
DCachedResourceRequest.h34 class CachedResource; variable
40 …static PassRefPtr<CachedResourceRequest> load(CachedResourceLoader*, CachedResource*, bool increme…
47 CachedResourceRequest(CachedResourceLoader*, CachedResource*, bool incremental);
57 CachedResource* m_resource;
DCachedImage.cpp56 : CachedResource(url, ImageResource) in CachedImage()
65 : CachedResource(String(), ImageResource) in CachedImage()
91 CachedResource::load(cachedResourceLoader, true, DoSecurityCheck, true); in load()
109 CachedResource::didAddClient(c); in didAddClient()
316 void CachedImage::error(CachedResource::Status status) in error()
359 CachedResource::didAccessDecodedData(timeStamp); in didDraw()
DCachedScript.cpp44 : CachedResource(url, Script) in CachedScript()
63 CachedResource::didAddClient(c); in didAddClient()
107 void CachedScript::error(CachedResource::Status status) in error()
DCachedXSLStyleSheet.h38 class CachedXSLStyleSheet : public CachedResource {
49 virtual void error(CachedResource::Status);
DCachedResourceClient.h35 class CachedResource; variable
66 virtual void notifyFinished(CachedResource*) { } in notifyFinished() argument
DCachedCSSStyleSheet.h38 class CachedCSSStyleSheet : public CachedResource {
52 virtual void error(CachedResource::Status);
DCachedFont.h50 class CachedFont : public CachedResource {
59 virtual void error(CachedResource::Status);
DCachedXSLStyleSheet.cpp41 : CachedResource(url, XSLStyleSheet) in CachedXSLStyleSheet()
90 void CachedXSLStyleSheet::error(CachedResource::Status status) in error()
DCachedImage.h37 class CachedImage : public CachedResource, public ImageObserver {
69 virtual void error(CachedResource::Status);
DCachedCSSStyleSheet.cpp41 : CachedResource(url, CSSStyleSheet) in CachedCSSStyleSheet()
119 void CachedCSSStyleSheet::error(CachedResource::Status status) in error()
/external/webkit/Source/WebCore/html/parser/
DHTMLScriptRunnerHost.h33 class CachedResource; variable
43 virtual void watchForLoad(CachedResource*) = 0;
45 virtual void stopWatchingForLoad(CachedResource*) = 0;
DHTMLDocumentParser.h109 virtual void watchForLoad(CachedResource*);
110 virtual void stopWatchingForLoad(CachedResource*);
116 virtual void notifyFinished(CachedResource*);
DHTMLScriptRunner.h36 class CachedResource; variable
58 bool executeScriptsWaitingForLoad(CachedResource*);
DHTMLPreloadScanner.cpp130 … cachedResourceLoader->preload(CachedResource::Script, m_urlToLoad, m_charset, scanningBody); in preload()
132 … cachedResourceLoader->preload(CachedResource::ImageResource, m_urlToLoad, String(), scanningBody); in preload()
134 …cachedResourceLoader->preload(CachedResource::CSSStyleSheet, m_urlToLoad, m_charset, scanningBody); in preload()
/external/webkit/Source/WebCore/inspector/
DInspectorResourceAgent.cpp161 CachedResource* cachedResource = InspectorResourceAgent::cachedResource(frame, url); in resourceData()
184 CachedResource* InspectorResourceAgent::cachedResource(Frame* frame, const KURL& url) in cachedResource()
186 CachedResource* cachedResource = frame->document()->cachedResourceLoader()->cachedResource(url); in cachedResource()
267 static String cachedResourceTypeString(const CachedResource& cachedResource) in cachedResourceTypeString()
270 case CachedResource::ImageResource: in cachedResourceTypeString()
272 case CachedResource::FontResource: in cachedResourceTypeString()
274 case CachedResource::CSSStyleSheet: in cachedResourceTypeString()
277 case CachedResource::XSLStyleSheet: in cachedResourceTypeString()
280 case CachedResource::Script: in cachedResourceTypeString()
288 static PassRefPtr<InspectorObject> buildObjectForCachedResource(const CachedResource& cachedResourc… in buildObjectForCachedResource()
[all …]
DInspectorResourceAgent.h49 class CachedResource; variable
90 static CachedResource* cachedResource(Frame*, const KURL&);
100 void didLoadResourceFromMemoryCache(DocumentLoader*, const CachedResource*);
/external/webkit/Source/WebCore/html/
DHTMLLinkElement.h35 class CachedResource; variable
101 virtual void notifyFinished(CachedResource*);
143 CachedResourceHandle<CachedResource> m_cachedLinkResource;

1234