/external/webkit/Source/WebCore/loader/cache/ |
CachedResourceLoader.h | 29 #include "CachedResource.h" 72 CachedResource* requestLinkResource(const String &url, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved); 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 sendResourceLoadCallbacks = true); 107 void incrementRequestCount(const CachedResource*); [all...] |
CachedResourceLoader.cpp | 58 static CachedResource* createResource(CachedResource::Type type, const KURL& url, const String& charset) 61 case CachedResource::ImageResource: 63 case CachedResource::CSSStyleSheet: 65 case CachedResource::Script: 67 case CachedResource::FontResource: 70 case CachedResource::XSLStyleSheet: 74 case CachedResource::LinkResource: 75 return new CachedResource(url.string(), CachedResource::LinkResource) [all...] |
CachedResource.cpp | 25 #include "CachedResource.h" 51 static ResourceLoadPriority defaultPriorityForResourceType(CachedResource::Type type) 54 case CachedResource::CSSStyleSheet: 56 case CachedResource::XSLStyleSheet: 59 case CachedResource::Script: 60 case CachedResource::FontResource: 62 case CachedResource::ImageResource: 65 case CachedResource::LinkResource: 74 static RefCountedLeakCounter cachedResourceLeakCounter("CachedResource"); 77 CachedResource::CachedResource(const String& url, Type type [all...] |
MemoryCache.h | 29 #include "CachedResource.h" 40 class CachedResource; 71 // memory as is available on the machine. The trade-off here is that the CachedResource object (and 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); [all...] |
CachedResourceRequest.h | 34 class CachedResource; 40 static PassRefPtr<CachedResourceRequest> load(CachedResourceLoader*, CachedResource*, bool incremental, SecurityCheckPolicy, bool sendResourceLoadCallbacks); 47 CachedResourceRequest(CachedResourceLoader*, CachedResource*, bool incremental); 57 CachedResource* m_resource;
|
CachedResourceRequest.cpp | 29 #include "CachedResource.h" 45 static ResourceRequest::TargetType cachedResourceTypeToTargetType(CachedResource::Type type, ResourceLoadPriority priority) 51 case CachedResource::CSSStyleSheet: 53 case CachedResource::XSLStyleSheet: 56 case CachedResource::Script: 58 case CachedResource::FontResource: 60 case CachedResource::ImageResource: 63 case CachedResource::LinkResource: 73 CachedResourceRequest::CachedResourceRequest(CachedResourceLoader* cachedResourceLoader, CachedResource* resource, bool incremental) 88 PassRefPtr<CachedResourceRequest> CachedResourceRequest::load(CachedResourceLoader* cachedResourceLoader, CachedResource* resource, bool incremental, SecurityCheckPolicy securityCheck, bool sendResourceLoadCallbacks [all...] |
CachedResourceHandle.h | 29 #include "CachedResource.h" 36 CachedResource* get() const { return m_resource; } 42 typedef CachedResource* (CachedResourceHandleBase::*UnspecifiedBoolType); 47 CachedResourceHandleBase(CachedResource* res) { m_resource = res; if (m_resource) m_resource->registerHandle(this); } 50 void setResource(CachedResource*); 55 friend class CachedResource; 57 CachedResource* m_resource;
|
MemoryCache.cpp | 86 bool MemoryCache::add(CachedResource* resource) 100 void MemoryCache::revalidationSucceeded(CachedResource* revalidatingResource, const ResourceResponse& response) 102 CachedResource* resource = revalidatingResource->resourceToRevalidate(); 126 void MemoryCache::revalidationFailed(CachedResource* revalidatingResource) 133 CachedResource* MemoryCache::resourceForURL(const KURL& resourceURL) 136 CachedResource* resource = m_resources.get(url); 186 CachedResource* current = m_liveDecodedResources.m_tail; 188 CachedResource* prev = current->m_prevInLiveResourcesList; 223 CachedResource* current = m_allResources[i].m_tail; 225 CachedResource* prev = current->m_prevInAllResourcesList [all...] |
CachedResource.h | 53 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); 204 CachedResource* resourceToRevalidate() const { return m_resourceToRevalidate; } 215 void setResourceToRevalidate(CachedResource*); 277 CachedResource* m_nextInAllResourcesList; 278 CachedResource* m_prevInAllResourcesList; 280 CachedResource* m_nextInLiveResourcesList [all...] |
CachedCSSStyleSheet.h | 29 #include "CachedResource.h" 38 class CachedCSSStyleSheet : public CachedResource { 52 virtual void error(CachedResource::Status);
|
CachedXSLStyleSheet.h | 29 #include "CachedResource.h" 38 class CachedXSLStyleSheet : public CachedResource { 49 virtual void error(CachedResource::Status);
|
CachedFont.h | 29 #include "CachedResource.h" 50 class CachedFont : public CachedResource { 59 virtual void error(CachedResource::Status);
|
CachedImage.h | 26 #include "CachedResource.h" 37 class CachedImage : public CachedResource, public ImageObserver { 69 virtual void error(CachedResource::Status);
|
CachedScript.cpp | 44 : CachedResource(url, Script) 63 CachedResource::didAddClient(c); 107 void CachedScript::error(CachedResource::Status status)
|
CachedResourceClient.h | 35 class CachedResource; 66 virtual void notifyFinished(CachedResource*) { }
|
CachedScript.h | 29 #include "CachedResource.h" 43 class CachedScript : public CachedResource {
|
CachedXSLStyleSheet.cpp | 41 : CachedResource(url, XSLStyleSheet) 90 void CachedXSLStyleSheet::error(CachedResource::Status status)
|
/external/webkit/Source/WebCore/html/parser/ |
HTMLScriptRunnerHost.h | 33 class CachedResource; 42 // Implementors should call cachedResource->addClient() here or soon after. 43 virtual void watchForLoad(CachedResource*) = 0; 44 // Implementors must call cachedResource->removeClient() immediately. 45 virtual void stopWatchingForLoad(CachedResource*) = 0;
|
HTMLDocumentParser.h | 109 virtual void watchForLoad(CachedResource*); 110 virtual void stopWatchingForLoad(CachedResource*); 116 virtual void notifyFinished(CachedResource*);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorResourceAgent.cpp | 37 #include "CachedResource.h" 161 CachedResource* cachedResource = InspectorResourceAgent::cachedResource(frame, url); 162 if (!cachedResource) 166 if (!cachedResource->encodedSize()) 169 if (cachedResource->isPurgeable()) { 176 if (!cachedResource->makePurgeable(false)) 180 *textEncodingName = cachedResource->encoding(); 181 return cachedResource->data() [all...] |
InspectorResourceAgent.h | 49 class CachedResource; 90 static CachedResource* cachedResource(Frame*, const KURL&); 100 void didLoadResourceFromMemoryCache(DocumentLoader*, const CachedResource*);
|
/external/webkit/Source/WebCore/html/ |
AsyncImageResizer.cpp | 66 void AsyncImageResizer::notifyFinished(CachedResource* cachedResource) 68 RefPtr<SharedBuffer> imageData = cachedResource->data()->copy(); 69 cachedResource->removeClient(this);
|
HTMLLinkElement.h | 35 class CachedResource; 101 virtual void notifyFinished(CachedResource*); 135 CachedResourceHandle<CachedResource> m_cachedLinkResource;
|
/external/webkit/Source/WebKit/win/ |
WebDataSource.cpp | 300 CachedResource *cachedResource = doc->cachedResourceLoader()->cachedResource(String(url)); 302 if (!cachedResource) 305 *resource = WebResource::createInstance(cachedResource->data(), cachedResource->response());
|
/external/webkit/Source/WebCore/dom/ |
PendingScript.h | 41 // A CachedResourceHandle alone does not prevent the underlying CachedResource 96 virtual void notifyFinished(CachedResource*);
|