OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ArchiveResource
(Results
1 - 25
of
33
) sorted by null
1
2
/external/webkit/Source/WebKit/gtk/webkit/
webkitwebresourceprivate.h
26
#include "
ArchiveResource
.h"
32
WebCore::
ArchiveResource
* resource;
42
WebKitWebResource* webkit_web_resource_new_with_core_resource(PassRefPtr<WebCore::
ArchiveResource
>);
44
void webkit_web_resource_init_with_core_resource(WebKitWebResource*, PassRefPtr<WebCore::
ArchiveResource
>);
webkitwebresource.cpp
23
#include "
ArchiveResource
.h"
222
WebKitWebResource* webkit_web_resource_new_with_core_resource(PassRefPtr<
ArchiveResource
> resource)
231
void webkit_web_resource_init_with_core_resource(WebKitWebResource* webResource, PassRefPtr<
ArchiveResource
> resource)
275
WebKitWebResource* webResource = webkit_web_resource_new_with_core_resource(
ArchiveResource
::create(buffer, KURL(KURL(), String::fromUTF8(uri)), String::fromUTF8(mimeType), String::fromUTF8(encoding), String::fromUTF8(frameName)));
/external/webkit/Source/WebCore/loader/archive/
Archive.h
32
#include "
ArchiveResource
.h"
43
ArchiveResource
* mainResource() { return m_mainResource.get(); }
44
const Vector<RefPtr<
ArchiveResource
> >& subresources() const { return m_subresources; }
50
void setMainResource(PassRefPtr<
ArchiveResource
> mainResource) { m_mainResource = mainResource; }
51
void addSubresource(PassRefPtr<
ArchiveResource
> subResource) { m_subresources.append(subResource); }
55
RefPtr<
ArchiveResource
> m_mainResource;
56
Vector<RefPtr<
ArchiveResource
> > m_subresources;
ArchiveResourceCollection.h
33
#include "
ArchiveResource
.h"
47
void addResource(PassRefPtr<
ArchiveResource
>);
50
ArchiveResource
* archiveResourceForURL(const KURL&);
54
HashMap<String, RefPtr<
ArchiveResource
> > m_subresources;
ArchiveResource.cpp
30
#include "
ArchiveResource
.h"
36
inline
ArchiveResource
::
ArchiveResource
(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response)
45
PassRefPtr<
ArchiveResource
>
ArchiveResource
::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response)
51
return adoptRef(new
ArchiveResource
(data, url, mimeType, textEncoding, frameName,
54
return adoptRef(new
ArchiveResource
(data, url, mimeType, textEncoding, frameName, response));
57
PassRefPtr<
ArchiveResource
>
ArchiveResource
::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response)
ArchiveResource.h
36
class
ArchiveResource
: public SubstituteResource {
38
static PassRefPtr<
ArchiveResource
> create(PassRefPtr<SharedBuffer>, const KURL&, const ResourceResponse&);
39
static PassRefPtr<
ArchiveResource
> create(PassRefPtr<SharedBuffer>, const KURL&,
51
ArchiveResource
(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse&);
ArchiveResourceCollection.cpp
44
const Vector<RefPtr<
ArchiveResource
> >& subresources = archive->subresources();
45
Vector<RefPtr<
ArchiveResource
> >::const_iterator iRes = subresources.begin();
46
Vector<RefPtr<
ArchiveResource
> >::const_iterator endRes = subresources.end();
65
void ArchiveResourceCollection::addResource(PassRefPtr<
ArchiveResource
> resource)
75
ArchiveResource
* ArchiveResourceCollection::archiveResourceForURL(const KURL& url)
77
ArchiveResource
* resource = m_subresources.get(url).get();
/external/webkit/Source/WebKit/mac/WebView/
WebResourceInternal.h
37
class
ArchiveResource
;
41
- (id)_initWithCoreResource:(PassRefPtr<WebCore::
ArchiveResource
>)coreResource;
42
- (WebCore::
ArchiveResource
*)_coreResource;
WebResource.mm
39
#import <WebCore/
ArchiveResource
.h>
59
ArchiveResource
* coreResource;
61
- (id)initWithCoreResource:(PassRefPtr<
ArchiveResource
>)coreResource;
80
- (id)initWithCoreResource:(PassRefPtr<
ArchiveResource
>)passedResource
162
_private = [[WebResourcePrivate alloc] initWithCoreResource:
ArchiveResource
::create(SharedBuffer::wrapNSData(data), url, mimeType, textEncoding, frameName, response)];
169
ArchiveResource
*resource = _private->coreResource;
289
- (id)_initWithCoreResource:(PassRefPtr<
ArchiveResource
>)coreResource
309
- (WebCore::
ArchiveResource
*)_coreResource
360
_private = [[WebResourcePrivate alloc] initWithCoreResource:
ArchiveResource
::create(SharedBuffer::wrapNSData(copyData ? [[data copy] autorelease] : data), URL, MIMEType, textEncodingName, frameName, response)];
WebArchive.mm
37
#import <WebCore/
ArchiveResource
.h>
182
RefPtr<
ArchiveResource
> coreMainResource = mainResource ? [mainResource _coreResource] : 0;
184
Vector<PassRefPtr<
ArchiveResource
> > coreResources;
313
const Vector<RefPtr<
ArchiveResource
> >& subresources(coreArchive->subresources());
WebDataSource.mm
501
RefPtr<
ArchiveResource
> coreResource = _private->loader->mainResource();
507
Vector<PassRefPtr<
ArchiveResource
> > coreSubresources;
524
RefPtr<
ArchiveResource
> subresource = _private->loader->subresource(URL);
/external/webkit/Source/WebCore/loader/archive/android/
WebArchiveAndroid.h
38
static PassRefPtr<WebArchiveAndroid> create(PassRefPtr<
ArchiveResource
> mainResource,
39
Vector<PassRefPtr<
ArchiveResource
> >& subresources,
48
WebArchiveAndroid(PassRefPtr<
ArchiveResource
> mainResource,
49
Vector<PassRefPtr<
ArchiveResource
> >& subresources,
WebArchiveAndroid.cpp
44
static const xmlChar* const archiveResourceTag = BAD_CAST "
ArchiveResource
";
54
PassRefPtr<WebArchiveAndroid> WebArchiveAndroid::create(PassRefPtr<
ArchiveResource
> mainResource,
55
Vector<PassRefPtr<
ArchiveResource
> >& subresources,
65
PassRefPtr<
ArchiveResource
> mainResource = frame->loader()->documentLoader()->mainResource();
66
Vector<PassRefPtr<
ArchiveResource
> > subresources;
78
WebArchiveAndroid::WebArchiveAndroid(PassRefPtr<
ArchiveResource
> mainResource,
79
Vector<PassRefPtr<
ArchiveResource
> >& subresources,
84
for (Vector<PassRefPtr<
ArchiveResource
> >::iterator subresourcesIterator = subresources.begin();
165
static PassRefPtr<
ArchiveResource
> loadArchiveResource(xmlNodePtr resourceNode)
202
return
ArchiveResource
::create(data, url, mimeType, textEncoding, frameName)
[
all
...]
/external/webkit/Source/WebCore/loader/archive/cf/
LegacyWebArchive.h
44
static PassRefPtr<LegacyWebArchive> create(PassRefPtr<
ArchiveResource
> mainResource, Vector<PassRefPtr<
ArchiveResource
> >& subresources, Vector<PassRefPtr<LegacyWebArchive> >& subframeArchives);
58
static PassRefPtr<
ArchiveResource
> createResource(CFDictionaryRef);
63
static RetainPtr<CFDictionaryRef> createPropertyListRepresentation(
ArchiveResource
*, MainResourceStatus);
LegacyWebArchive.cpp
67
RetainPtr<CFDictionaryRef> LegacyWebArchive::createPropertyListRepresentation(
ArchiveResource
* resource, MainResourceStatus isMainResource)
141
const Vector<RefPtr<
ArchiveResource
> >& subresources(archive->subresources());
183
PassRefPtr<
ArchiveResource
> LegacyWebArchive::createResource(CFDictionaryRef dictionary)
237
return
ArchiveResource
::create(SharedBuffer::wrapCFData(resourceData), KURL(KURL(), url), mimeType, textEncoding, frameName, response);
245
PassRefPtr<LegacyWebArchive> LegacyWebArchive::create(PassRefPtr<
ArchiveResource
> mainResource, Vector<PassRefPtr<
ArchiveResource
> >& subresources, Vector<PassRefPtr<LegacyWebArchive> >& subframeArchives)
452
Vector<PassRefPtr<
ArchiveResource
> > subresources;
495
PassRefPtr<
ArchiveResource
> mainResource =
ArchiveResource
::create(utf8Buffer(markupString), responseURL, response.mimeType(), "UTF-8", frame->tree()->uniqueName());
498
Vector<PassRefPtr<
ArchiveResource
> > subresources
[
all
...]
/external/webkit/Source/WebCore/loader/
DocumentLoader.h
52
class
ArchiveResource
;
136
void addArchiveResource(PassRefPtr<
ArchiveResource
>);
146
// Return the
ArchiveResource
for the URL only when loading an Archive
147
ArchiveResource
* archiveResourceForURL(const KURL&) const;
149
PassRefPtr<
ArchiveResource
> mainResource() const;
151
// Return an
ArchiveResource
for the URL, either creating from live data or
153
PassRefPtr<
ArchiveResource
> subresource(const KURL&) const;
154
void getSubresources(Vector<PassRefPtr<
ArchiveResource
> >&) const;
DocumentLoader.cpp
468
void DocumentLoader::addArchiveResource(PassRefPtr<
ArchiveResource
> resource)
502
ArchiveResource
* DocumentLoader::archiveResourceForURL(const KURL& url) const
507
ArchiveResource
* resource = m_archiveResourceCollection->archiveResourceForURL(url);
512
PassRefPtr<
ArchiveResource
> DocumentLoader::mainResource() const
519
return
ArchiveResource
::create(mainResourceBuffer, r.url(), r.mimeType(), r.textEncodingName(), frame()->tree()->uniqueName());
522
PassRefPtr<
ArchiveResource
> DocumentLoader::subresource(const KURL& url) const
540
return
ArchiveResource
::create(data.release(), url, resource->response());
543
void DocumentLoader::getSubresources(Vector<PassRefPtr<
ArchiveResource
> >& subresources) const
553
RefPtr<
ArchiveResource
> subresource = this->subresource(KURL(ParsedURLString, it->second->url()));
621
ArchiveResource
* resource = 0
[
all
...]
EmptyClients.h
498
virtual DocumentFragment* documentFragmentFromAttributedString(NSAttributedString*, Vector<RefPtr<
ArchiveResource
> >&) { return 0; };
/external/webkit/Source/WebCore/page/
EditorClient.h
58
class
ArchiveResource
;
131
virtual DocumentFragment* documentFragmentFromAttributedString(NSAttributedString*, Vector< RefPtr<
ArchiveResource
> >&) = 0;
/external/webkit/Source/WebCore/platform/
Pasteboard.h
82
class
ArchiveResource
;
126
PassRefPtr<DocumentFragment> documentFragmentWithImageResource(Frame* frame, PassRefPtr<
ArchiveResource
> resource);
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
WebEditorClientMac.mm
38
#import <WebCore/
ArchiveResource
.h>
57
- (WebCore::
ArchiveResource
*)_coreResource;
109
DocumentFragment* WebEditorClient::documentFragmentFromAttributedString(NSAttributedString *string, Vector<RefPtr<
ArchiveResource
> >& resources)
/external/webkit/Source/WebCore/platform/mac/
PasteboardMac.mm
384
PassRefPtr<DocumentFragment> Pasteboard::documentFragmentWithImageResource(Frame* frame, PassRefPtr<
ArchiveResource
> resource)
421
Vector<RefPtr<
ArchiveResource
> > resources;
503
RefPtr<
ArchiveResource
> mainResource = coreArchive->mainResource();
567
(fragment = documentFragmentWithImageResource(frame,
ArchiveResource
::create(SharedBuffer::wrapNSData([[[m_pasteboard.get() dataForType:NSTIFFPboardType] copy] autorelease]), uniqueURLWithRelativePart(@"image.tiff"), "image/tiff", "", ""))))
571
(fragment = documentFragmentWithImageResource(frame,
ArchiveResource
::create(SharedBuffer::wrapNSData([[[m_pasteboard.get() dataForType:NSPDFPboardType] copy] autorelease]), uniqueURLWithRelativePart(@"application.pdf"), "application/pdf", "", ""))))
576
(fragment = documentFragmentWithImageResource(frame,
ArchiveResource
::create(SharedBuffer::wrapNSData([[[m_pasteboard.get() dataForType:NSPICTPboardType] copy] autorelease]), uniqueURLWithRelativePart(@"image.pict"), "image/pict", "", ""))))
583
(fragment = documentFragmentWithImageResource(frame,
ArchiveResource
::create(SharedBuffer::wrapNSData([[[m_pasteboard.get() dataForType:(NSString*)kUTTypePNG] copy] autorelease]), uniqueURLWithRelativePart(@"image.png"), "image/png", "", ""))))
/external/webkit/Source/WebKit/mac/WebCoreSupport/
WebEditorClient.h
74
virtual WebCore::DocumentFragment* documentFragmentFromAttributedString(NSAttributedString *, Vector< RefPtr<WebCore::
ArchiveResource
> >&);
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
WebEditorClient.h
98
virtual WebCore::DocumentFragment* documentFragmentFromAttributedString(NSAttributedString *, Vector< RefPtr<WebCore::
ArchiveResource
> >&);
/external/webkit/Source/WebKit2/WebProcess/WebPage/
WebFrame.cpp
42
#include <WebCore/
ArchiveResource
.h>
654
RefPtr<
ArchiveResource
> resource = loader->subresource(url);
675
RefPtr<
ArchiveResource
> resource = loader->subresource(url);
Completed in 469 milliseconds
1
2