Searched refs:ScriptResource (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DScriptResource.cpp28 #include "core/fetch/ScriptResource.h"
37 ScriptResource::ScriptResource(const ResourceRequest& resourceRequest, const String& charset) function in class:blink::ScriptResource
48 ScriptResource::~ScriptResource()
52 void ScriptResource::didAddClient(ResourceClient* client)
58 void ScriptResource::appendData(const char* data, int length)
66 AtomicString ScriptResource::mimeType() const
71 const String& ScriptResource::script()
89 bool ScriptResource
[all...]
H A DScriptResource.h34 class ScriptResource;
42 virtual void notifyAppendData(ScriptResource* resource) { }
45 class ScriptResource FINAL : public TextResource {
49 ScriptResource(const ResourceRequest&, const String& charset);
50 virtual ~ScriptResource();
H A DResourceFetcher.h51 class ScriptResource;
90 ResourcePtr<ScriptResource> fetchScript(FetchRequest&);
H A DResourceFetcher.cpp44 #include "core/fetch/ScriptResource.h"
91 return new ScriptResource(request, charset);
362 ResourcePtr<ScriptResource> ResourceFetcher::fetchScript(FetchRequest& request)
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptStreamer.h17 class ScriptResource;
47 ScriptResource* resource() const { return m_resource; }
80 void notifyAppendData(ScriptResource*);
99 ScriptStreamer(ScriptResource*, v8::ScriptCompiler::StreamedSource::Encoding, PendingScript::Type);
110 ScriptResource* m_resource;
H A DScriptSourceCode.h36 #include "core/fetch/ScriptResource.h"
56 // We lose the encoding information from ScriptResource.
58 ScriptSourceCode(ScriptResource* resource)
65 ScriptSourceCode(PassRefPtr<ScriptStreamer> streamer, ScriptResource* resource)
76 ScriptResource* resource() const { return m_resource.get(); }
93 ResourcePtr<ScriptResource> m_resource;
H A DV8ScriptRunnerTest.cpp9 #include "core/fetch/ScriptResource.h"
75 m_resource = adoptPtrWillBeNoop(new ScriptResource(*m_resourceRequest.get(), "text/utf-8"));
81 m_resource = adoptPtrWillBeNoop(new ScriptResource(*m_resourceRequest.get(), "text/utf-8"));
86 OwnPtrWillBePersistent<ScriptResource> m_resource;
H A DV8ScriptRunner.h38 class ScriptResource;
48 static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String& fileName, const TextPosition&, ScriptResource*, ScriptStreamer*, v8::Isolate*, AccessControlStatus = SharableCrossOrigin, V8CacheOptions = V8CacheOptionsOff);
H A DScriptStreamerTest.cpp36 static PassOwnPtrWillBeRawPtr<PendingScriptWrapper> create(Element* element, ScriptResource* resource)
53 PendingScriptWrapper(Element* element, ScriptResource* resource)
67 , m_resource(new ScriptResource(m_resourceRequest, "text/utf-8"))
124 // ScriptResource::appendData.
126 ScriptResource* m_resource;
H A DScriptStreamer.cpp13 #include "core/fetch/ScriptResource.h"
270 void ScriptStreamer::notifyAppendData(ScriptResource* resource)
325 ScriptStreamer::ScriptStreamer(ScriptResource* resource, v8::ScriptCompiler::StreamedSource::Encoding encoding, PendingScript::Type scriptType)
379 ScriptResource* resource = script.resource();
H A DV8ScriptRunner.cpp37 #include "core/fetch/ScriptResource.h"
66 v8::Local<v8::Script> compileAndProduceCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8::ScriptOrigin origin, ScriptResource* resource, v8::ScriptCompiler::CompileOptions options, unsigned cacheTag, Resource::MetadataCacheType cacheType)
82 v8::Local<v8::Script> compileAndConsumeCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8::ScriptOrigin origin, ScriptResource* resource, v8::ScriptCompiler::CompileOptions options, unsigned cacheTag)
101 v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, const String& fileName, const TextPosition& scriptStartPosition, ScriptResource* resource, ScriptStreamer* streamer, v8::Isolate* isolate, AccessControlStatus corsStatus, V8CacheOptions cacheOptions)
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DPendingScript.h32 #include "core/fetch/ScriptResource.h"
48 class PendingScript FINAL : public ResourceOwner<ScriptResource> {
63 PendingScript(Element* element, ScriptResource* resource)
91 this->ResourceOwner<ScriptResource, ScriptResourceClient>::operator=(other);
105 void setScriptResource(ScriptResource*);
108 virtual void notifyAppendData(ScriptResource*);
H A DScriptLoader.h27 #include "core/fetch/ScriptResource.h"
51 void execute(ScriptResource*);
62 ResourcePtr<ScriptResource> resource() { return m_resource; }
91 ResourcePtr<ScriptResource> m_resource;
H A DPendingScript.cpp32 #include "core/fetch/ScriptResource.h"
79 void PendingScript::setScriptResource(ScriptResource* resource)
90 void PendingScript::notifyAppendData(ScriptResource* resource)
H A DScriptRunner.h39 class ScriptResource;
54 void queueScriptForExecution(ScriptLoader*, ResourcePtr<ScriptResource>, ExecutionType);
H A DScriptRunner.cpp33 #include "core/fetch/ScriptResource.h"
55 void ScriptRunner::queueScriptForExecution(ScriptLoader* scriptLoader, ResourcePtr<ScriptResource> resource, ExecutionType executionType)
142 ScriptResource* resource = scripts[i].resource();
H A DScriptLoader.cpp40 #include "core/fetch/ScriptResource.h"
321 ScriptResource* resource = m_resource ? m_resource.get() : sourceCode.resource();
369 void ScriptLoader::execute(ScriptResource* resource)
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLScriptRunner.h39 class ScriptResource;
H A DHTMLScriptRunner.cpp35 #include "core/fetch/ScriptResource.h"
286 ScriptResource* resource = toScriptLoaderIfPossible(script)->resource().get();
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
H A DXMLDocumentParser.h32 #include "core/fetch/ScriptResource.h"
184 ResourcePtr<ScriptResource> m_pendingScript;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorPageAgent.h74 ScriptResource, enumerator in enum:blink::FINAL::ResourceType
H A DInspectorResourceAgent.cpp397 if (m_resourcesData->resourceType(requestId) == InspectorPageAgent::ScriptResource)
398 type = InspectorPageAgent::ScriptResource;
467 m_resourcesData->setResourceType(IdentifiersFactory::requestId(identifier), InspectorPageAgent::ScriptResource); member in class:blink::InspectorPageAgent
H A DInspectorPageAgent.cpp50 #include "core/fetch/ScriptResource.h"
226 return type == InspectorPageAgent::DocumentResource || type == InspectorPageAgent::StylesheetResource || type == InspectorPageAgent::ScriptResource || type == InspectorPageAgent::XHRResource;
353 case ScriptResource:
385 return InspectorPageAgent::ScriptResource;
/external/chromium_org/v8/test/cctest/
H A Dtest-parsing.cc182 class ScriptResource : public v8::String::ExternalOneByteStringResource { class in inherits:v8::String::ExternalOneByteStringResource
184 ScriptResource(const char* data, size_t length) function in class:ScriptResource
221 // ScriptResource will be deleted when the corresponding String is GCd.
223 isolate, new ScriptResource(source, source_length)));
/external/chromium_org/third_party/WebKit/Source/core/
H A Dwebcore_remaining.target.darwin-arm.mk329 third_party/WebKit/Source/core/fetch/ScriptResource.cpp \

Completed in 4912 milliseconds

12