/external/webkit/WebCore/workers/ |
SharedWorker.h | 43 class SharedWorker : public AbstractWorker { 45 static PassRefPtr<SharedWorker> create(const String& url, const String& name, ScriptExecutionContext* context, ExceptionCode& ec) 47 return adoptRef(new SharedWorker(url, name, context, ec)); 49 ~SharedWorker(); 52 virtual SharedWorker* toSharedWorker() { return this; } 55 SharedWorker(const String& url, const String& name, ScriptExecutionContext*, ExceptionCode&);
|
SharedWorker.cpp | 35 #include "SharedWorker.h" 44 SharedWorker::SharedWorker(const String& url, const String& name, ScriptExecutionContext* context, ExceptionCode& ec) 58 SharedWorker::~SharedWorker()
|
SharedWorkerRepository.h | 45 class SharedWorker; 54 // Connects the passed SharedWorker object with the specified worker thread, creating a new thread if necessary. 55 static void connect(PassRefPtr<SharedWorker>, PassOwnPtr<MessagePortChannel>, const KURL&, const String& name, ExceptionCode&);
|
SharedWorker.idl | 39 ] SharedWorker : AbstractWorker {
|
DefaultSharedWorkerRepository.cpp | 46 #include "SharedWorker.h" 253 SharedWorkerScriptLoader(PassRefPtr<SharedWorker>, PassOwnPtr<MessagePortChannel>, PassRefPtr<SharedWorkerProxy>); 260 RefPtr<SharedWorker> m_worker; 266 SharedWorkerScriptLoader::SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, PassRefPtr<SharedWorkerProxy> proxy) 279 // Stay alive (and keep the SharedWorker and JS wrapper alive) until the load finishes. 326 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionCode& ec) 369 void DefaultSharedWorkerRepository::connectToWorker(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionCode& ec) 373 // Fetch a proxy corresponding to this SharedWorker.
|
DefaultSharedWorkerRepository.h | 51 class SharedWorker; 62 void connectToWorker(PassRefPtr<SharedWorker>, PassOwnPtr<MessagePortChannel>, const KURL&, const String& name, ExceptionCode&);
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8SharedWorkerCustom.cpp | 49 INC_STATS(L"DOM.SharedWorker.Constructor"); 74 // Create the SharedWorker object. 77 RefPtr<SharedWorker> obj = SharedWorker::create(toWebCoreString(scriptUrl), name, context, ec); 83 V8DOMWrapper::setDOMWrapper(wrapperObject, V8ClassIndex::SHAREDWORKER, obj.get());
|
/external/webkit/WebKit/chromium/public/ |
WebSharedWorker.h | 47 // This is the interface to a SharedWorker thread. 48 // Since SharedWorkers communicate entirely through MessagePorts this interface only contains APIs for starting up a SharedWorker. 70 // Sends a connect event to the SharedWorker context. The listener is invoked when this async operation completes.
|
WebSharedWorkerRepository.h | 47 // Tracks a newly-created SharedWorker via the repository.
|
/external/webkit/WebCore/bindings/js/ |
JSEventTarget.cpp | 47 #include "SharedWorker.h" 135 if (SharedWorker* sharedWorker = target->toSharedWorker()) 136 return toJS(exec, globalObject, sharedWorker); 188 CONVERT_TO_EVENT_TARGET(SharedWorker)
|
JSSharedWorkerConstructor.cpp | 39 #include "SharedWorker.h" 74 RefPtr<SharedWorker> worker = SharedWorker::create(scriptURL, name, window->document(), ec);
|
JSSharedWorkerCustom.cpp | 38 #include "SharedWorker.h"
|
/external/webkit/WebKit/chromium/src/ |
SharedWorkerRepository.cpp | 42 #include "SharedWorker.h" 63 // Callback class that keeps the SharedWorker and WebSharedWorker objects alive while loads are potentially happening, and also translates load errors into error events on the worker. 66 SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, const KURL& url, const String& name, PassOwnPtr<MessagePortChannel> port, PassOwnPtr<WebSharedWorker> webWorker) 90 RefPtr<SharedWorker> m_worker; 169 // Connect event has been sent, so free ourselves (this releases the SharedWorker so it can be freed as well if unreferenced). 185 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionCode& ec)
|
WebSharedWorkerImpl.h | 44 // This class is used by the worker process code to talk to the WebCore::SharedWorker implementation. 46 // When the WebCore::SharedWorker object wants to call WebCore::WorkerReportingProxy, this class will
|
/external/webkit/WebCore/dom/ |
EventTarget.h | 56 class SharedWorker; 111 virtual SharedWorker* toSharedWorker();
|
EventTarget.cpp | 142 SharedWorker* EventTarget::toSharedWorker()
|
/external/webkit/WebCore/bindings/v8/ |
V8Index.h | 110 V(SHAREDWORKER, SharedWorker) [all...] |
DOMObjectsInclude.h | 262 #include "SharedWorker.h"
|
WorkerContextExecutionProxy.cpp | 47 #include "SharedWorker.h"
|
V8DOMWrapper.cpp | 409 if (SharedWorker* sharedWorker = target->toSharedWorker()) 410 return toV8(sharedWorker);
|
/external/webkit/WebCore/page/ |
DOMWindow.idl | 518 attribute [JSCCustomGetter, EnabledAtRuntime] SharedWorkerConstructor SharedWorker; // Usable with the new operator [all...] |
/external/webkit/WebCore/ |
Android.mk | 927 workers/SharedWorker.cpp \
|
DerivedSources.make | 241 SharedWorker \
|
GNUmakefile.am | 288 WebCore/workers/SharedWorker.idl \ [all...] |
WebCore.pri | 537 workers/SharedWorker.idl \
|