Home
last modified time | relevance | path

Searched refs:m_resource (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DResourceLoader.cpp53 , m_resource(resource) in RequestCountTracker()
55 m_host->incrementRequestCount(m_resource); in RequestCountTracker()
60 m_host->decrementRequestCount(m_resource); in ~RequestCountTracker()
75 , m_resource(resource) in ResourceLoader()
91 m_host->didLoadResource(m_resource); in releaseResources()
94 m_resource->clearLoader(); in releaseResources()
119 m_host->willSendRequest(m_resource->identifier(), request, ResourceResponse(), m_options); in init()
185 m_host->didDownloadData(m_resource, length, encodedDataLength, m_options); in didDownloadData()
186 m_resource->didDownloadData(length); in didDownloadData()
199 m_host->didFinishLoading(m_resource, finishTime, m_options); in didFinishLoadingOnePart()
[all …]
DResourcePtr.h37 Resource* get() const { return m_resource; } in get()
38 bool operator!() const { return !m_resource; }
43 operator UnspecifiedBoolType() const { return m_resource ? &ResourcePtrBase::m_resource : 0; } in UnspecifiedBoolType()
46 ResourcePtrBase() : m_resource(0) { } in ResourcePtrBase()
57 Resource* m_resource; variable
61 : m_resource(res) in ResourcePtrBase()
63 if (m_resource) in ResourcePtrBase()
64 m_resource->registerHandle(this); in ResourcePtrBase()
69 if (m_resource) in ~ResourcePtrBase()
70 m_resource->unregisterHandle(this); in ~ResourcePtrBase()
[all …]
DResourceOwner.h45 ResourceType* resource() const { return m_resource.get(); } in resource()
58 ResourcePtr<ResourceType> m_resource;
74 : m_resource(resource) in ResourceOwner()
76 if (m_resource) in ResourceOwner()
77 m_resource->addClient(this); in ResourceOwner()
83 if (newResource == m_resource) in setResource()
88 if (ResourcePtr<ResourceType> oldResource = m_resource) { in setResource()
89 m_resource.clear(); in setResource()
94 m_resource = newResource; in setResource()
95 m_resource->addClient(this); in setResource()
DResourcePtr.cpp33 if (resource == m_resource) in setResource()
35 if (m_resource) in setResource()
36 m_resource->unregisterHandle(this); in setResource()
37 m_resource = resource; in setResource()
38 if (m_resource) in setResource()
39 m_resource->registerHandle(this); in setResource()
DResourceLoader.h59 Resource* cachedResource() { return m_resource; } in cachedResource()
129 Resource* m_resource; variable
132 Resource* m_resource; variable
DResource.h263 : m_resource(resource) in InternalResourcePtr()
265 m_resource->incrementProtectorCount(); in InternalResourcePtr()
270 m_resource->decrementProtectorCount(); in ~InternalResourcePtr()
271 m_resource->deleteIfPossible(); in ~InternalResourcePtr()
274 Resource* m_resource;
DResource.cpp634 handle->m_resource = m_resourceToRevalidate; in switchClientsToRevalidatedResource()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFontFaceUriElement.cpp50 if (m_resource) in ~SVGFontFaceUriElement()
51 m_resource->removeClient(this); in ~SVGFontFaceUriElement()
90 if (m_resource) in loadFont()
91 m_resource->removeClient(this); in loadFont()
97 m_resource = fetcher->fetchFont(request); in loadFont()
98 if (m_resource) { in loadFont()
99 m_resource->addClient(this); in loadFont()
100 m_resource->beginLoadIfNeeded(fetcher); in loadFont()
103 m_resource = 0; in loadFont()
DSVGUseElement.cpp196 if (m_resource && m_resource->isLoaded()) { in externalDocument()
198 if (m_resource->errorOccurred()) in externalDocument()
200 ASSERT(m_resource->document()); in externalDocument()
201 return m_resource->document(); in externalDocument()
957 if (m_resource && m_resource->isLoading()) in resourceIsStillLoading()
987 if (m_resource == resource) in setDocumentResource()
990 if (m_resource) in setDocumentResource()
991 m_resource->removeClient(this); in setDocumentResource()
993 m_resource = resource; in setDocumentResource()
994 if (m_resource) in setDocumentResource()
[all …]
DSVGFontFaceUriElement.h52 ResourcePtr<FontResource> m_resource; variable
DSVGUseElement.h125 ResourcePtr<DocumentResource> m_resource; variable
/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptLoader.cpp57 , m_resource(0) in ScriptLoader()
235 …contextDocument->scriptRunner()->queueScriptForExecution(this, m_resource, ScriptRunner::IN_ORDER_… in prepareScript()
236 m_resource->addClient(this); in prepareScript()
238 …contextDocument->scriptRunner()->queueScriptForExecution(this, m_resource, ScriptRunner::ASYNC_EXE… in prepareScript()
239 m_resource->addClient(this); in prepareScript()
261 ASSERT(!m_resource); in fetchScript()
277 m_resource = elementDocument->fetcher()->fetchScript(request); in fetchScript()
281 if (m_resource) in fetchScript()
317 if (m_isExternalScript && m_resource && !m_resource->mimeTypeAllowedByNosniff()) { in executeScript()
318 … "Refused to execute script from '" + m_resource->url().elidedString() + "' because its MIME type … in executeScript()
[all …]
DScriptLoader.h68 ResourcePtr<ScriptResource> resource() { return m_resource; } in resource()
97 ResourcePtr<ScriptResource> m_resource; variable
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSFontFaceSrcValue.cpp55 if (!m_resource.startsWith("data:", false) && m_resource.endsWith(".eot", false)) in isSupportedFormat()
74 result.append(m_resource); in customCSSText()
87 addSubresourceURL(urls, styleSheet->completeURL(m_resource)); in addSubresourceStyleURLs()
100 …FetchRequest request(ResourceRequest(document->completeURL(m_resource)), FetchInitiatorTypeNames::… in fetch()
108 …eturn m_isLocal == other.m_isLocal && m_format == other.m_format && m_resource == other.m_resource; in equals()
DStyleRuleImport.cpp45 , m_resource(0) in StyleRuleImport()
56 if (m_resource) in ~StyleRuleImport()
57 m_resource->removeClient(&m_styleSheetClient); in ~StyleRuleImport()
118 m_resource = fetcher->fetchCSSStyleSheet(request); in requestStyleSheet()
119 if (m_resource) { in requestStyleSheet()
126 m_resource->addClient(&m_styleSheetClient); in requestStyleSheet()
DCSSFontFaceSrcValue.h51 const String& resource() const { return m_resource; } in resource()
79 , m_resource(resource) in CSSFontFaceSrcValue()
87 String m_resource; variable
DStyleRuleImport.h80 ResourcePtr<CSSStyleSheetResource> m_resource; variable
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScriptSourceCode.h49 , m_resource(0) in m_source()
61 , m_resource(cs) in ScriptSourceCode()
69 ScriptResource* resource() const { return m_resource.get(); } in resource()
72 if (m_url.isEmpty() && m_resource) { in url()
73 m_url = m_resource->response().url(); in url()
84 ResourcePtr<ScriptResource> m_resource; variable
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXSLImportRule.cpp36 , m_resource(0) in XSLImportRule()
46 if (m_resource) in ~XSLImportRule()
47 m_resource->removeClient(this); in ~XSLImportRule()
101 m_resource = fetcher->fetchXSLStyleSheet(request); in loadSheet()
103 if (m_resource) { in loadSheet()
104 m_resource->addClient(this); in loadSheet()
DXSLImportRule.h64 ResourcePtr<XSLStyleSheetResource> m_resource; variable
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLImportResourceOwner.cpp48 m_resource = resource; in setResource()
49 m_resource->addClient(this); in setResource()
56 m_resource->removeClient(this); in clearResource()
57 m_resource = 0; in clearResource()
DHTMLImportResourceOwner.h52 const ResourcePtr<RawResource>& resource() const { return m_resource; } in resource()
56 bool hasResource() const { return m_resource.get(); } in hasResource()
59 ResourcePtr<RawResource> m_resource;
/external/chromium_org/third_party/WebKit/Source/core/loader/appcache/
DApplicationCacheHost.h90 : m_resource(resource) in ResourceInfo()
97 KURL m_resource; member
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorApplicationCacheAgent.cpp197 .setUrl(resourceInfo.m_resource.string()) in buildObjectForApplicationCacheResource()