Lines Matching refs:commonClient

70     static PassRefPtr<AllowDatabaseMainThreadBridge> create(WebWorkerBase* worker, const WTF::String& mode, WebCommonWorkerClient* commonClient, WebFrame* frame, const WTF::String& name, const WTF::String& displayName, unsigned long estimatedSize)
72 return adoptRef(new AllowDatabaseMainThreadBridge(worker, mode, commonClient, frame, name, displayName, estimatedSize));
96 AllowDatabaseMainThreadBridge(WebWorkerBase* worker, const WTF::String& mode, WebCommonWorkerClient* commonClient, WebFrame* frame, const WTF::String& name, const WTF::String& displayName, unsigned long estimatedSize)
100 worker->dispatchTaskToMainThread(createCallbackTask(&allowDatabaseTask, commonClient, frame, String(name), String(displayName), estimatedSize, this));
103 static void allowDatabaseTask(WebCore::ScriptExecutionContext* context, WebCommonWorkerClient* commonClient, WebFrame* frame, const WTF::String name, const WTF::String displayName, unsigned long estimatedSize, PassRefPtr<AllowDatabaseMainThreadBridge> bridge)
105 if (!commonClient)
108 bridge->signalCompleted(commonClient->allowDatabase(frame, name, displayName, estimatedSize));
213 if (commonClient())
214 return commonClient()->createApplicationCacheHost(appcacheHostClient);
228 RefPtr<AllowDatabaseMainThreadBridge> bridge = AllowDatabaseMainThreadBridge::create(this, mode, commonClient(), m_webView->mainFrame(), String(name), String(displayName), estimatedSize);
251 bridge->postOpenFileSystemToMainThread(commonClient(), type, size, create, mode);
300 if (!thisPtr->commonClient())
303 thisPtr->commonClient()->postExceptionToWorkerObject(errorMessage,
328 if (!thisPtr->commonClient())
330 thisPtr->commonClient()->postConsoleMessageToWorkerObject(source,
374 if (thisPtr->commonClient())
375 thisPtr->commonClient()->workerContextClosed();
389 if (thisPtr->commonClient())
390 thisPtr->commonClient()->workerContextDestroyed();