Home
last modified time | relevance | path

Searched refs:postTask (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/workers/
DWorkerObjectProxy.cpp52 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::postMessageToWorkerObjec… in postMessageToWorkerObject()
57 m_executionContext->postTask(task); in postTaskToMainExecutionContext()
62 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::confirmMessageFromWorker… in confirmMessageFromWorkerObject()
67 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::reportPendingActivity, m… in reportPendingActivity()
72 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::reportException, m_messa… in reportException()
77 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::reportConsoleMessage, m_… in reportConsoleMessage()
93 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::terminateWorkerGlobalSco… in workerGlobalScopeClosed()
99 …m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::workerThreadTerminated, … in workerThreadTerminated()
DWorkerThread.cpp229 m_thread->postTask(new Task(WTF::bind(&WorkerThread::initialize, this))); in start()
333 …workerGlobalScope->thread()->m_thread->postTask(new Task(WTF::bind(&WorkerThread::cleanup, workerG… in performTask()
359 workerGlobalScope->postTask(WorkerThreadShutdownFinishTask::create()); in performTask()
398 postTask(WorkerThreadShutdownStartTask::create()); in stopInternal()
434 void WorkerThread::postTask(PassOwnPtr<ExecutionContextTask> task) in postTask() function in blink::WorkerThread
436 m_thread->postTask(WorkerThreadTask::create(*this, task, true).leakPtr()); in postTask()
447 postTask(RunDebuggerQueueTask::create(this)); in postDebuggerTask()
DWorkerMessagingProxy.cpp145 m_workerThread->postTask(MessageWorkerGlobalScopeTask::create(message, channels)); in postMessageToWorkerGlobalScope()
156 m_workerThread->postTask(task); in postTaskToWorkerGlobalScope()
164 m_executionContext->postTask(task); in postTaskToLoader()
208 m_workerThread->postTask(m_queuedEarlyTasks[i].release()); in workerThreadCreated()
215 …m_executionContext->postTask(createCrossThreadTask(&workerObjectDestroyedInternal, AllowCrossThrea… in workerObjectDestroyed()
DWorkerGlobalScope.cpp168 postTask(CloseWorkerGlobalScopeTask::create()); in close()
185 void WorkerGlobalScope::postTask(PassOwnPtr<ExecutionContextTask> task) in postTask() function in blink::WorkerGlobalScope
187 thread()->postTask(task); in postTask()
279postTask(AddConsoleMessageTask::create(consoleMessage->source(), consoleMessage->level(), consoleM… in addConsoleMessage()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLParserThread.cpp67 … s_sharedThread->postTask(WTF::bind(&HTMLParserThread::cleanupHTMLParserThread, s_sharedThread)); in shutdown()
87 postTask(WTF::bind(&HTMLParserThread::setupHTMLParserThread, this)); in platformThread()
97 void HTMLParserThread::postTask(const Closure& closure) in postTask() function in blink::HTMLParserThread
99 platformThread().postTask(new Task(closure)); in postTask()
DHTMLDocumentParser.cpp428 …HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::resumeFrom, m_backgroundParser, c… in discardSpeculationsAndResumeFrom()
453 …HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::startedChunkWithCheckpoint, m_bac… in processParsedChunkFromBackgroundParser()
559 …HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::forcePlaintextForTextDocument, m_… in forcePlaintextForTextDocument()
762 …HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::start, reference.release(), confi… in startBackgroundParser()
771 HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::stop, m_backgroundParser)); in stopBackgroundParser()
892 … HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::finish, m_backgroundParser)); in finish()
1055 …HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::appendRawBytesFromMainThread, m_b… in appendBytes()
1069 … HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::flush, m_backgroundParser)); in flush()
1080 …HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::setDecoder, m_backgroundParser, t… in setDecoder()
/external/chromium_org/third_party/WebKit/Source/platform/scheduler/
DSchedulerTest.cpp37 virtual void postTask(Task* task) OVERRIDE in postTask() function in __anonfe4718220111::TestMainThread
202 …Scheduler::shared()->postTask(FROM_HERE, WTF::bind(&SchedulerTest::appendToVectorReentrantTask, th… in appendToVectorReentrantTask()
250 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 1, &result)); in TEST_F()
251 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 2, &result)); in TEST_F()
252 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 3, &result)); in TEST_F()
253 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 4, &result)); in TEST_F()
261 m_scheduler->postTask(FROM_HERE, WTF::bind(&unorderedTestTask, 1, &result)); in TEST_F()
264 m_scheduler->postTask(FROM_HERE, WTF::bind(&unorderedTestTask, 8, &result)); in TEST_F()
308 …m_scheduler->postTask(FROM_HERE, WTF::bind(&SchedulerTest::appendToVector, this, std::string("L1")… in TEST_F()
309 …m_scheduler->postTask(FROM_HERE, WTF::bind(&SchedulerTest::appendToVector, this, std::string("L2")… in TEST_F()
[all …]
DScheduler.cpp147 m_mainThread->postTask(new MainThreadIdleTaskAdapter(idleTask, 0, location)); in scheduleIdleTask()
160 void Scheduler::postTask(const TraceLocation& location, const Task& task) in postTask() function in blink::Scheduler
162 …m_mainThread->postTask(new MainThreadPendingTaskRunner(task, location, "Scheduler::MainThreadTask"… in postTask()
184 m_mainThread->postTask(new MainThreadPendingTaskRunner(task, location, "Scheduler::IpcTask")); in postIpcTask()
192 m_mainThread->postTask(new MainThreadPendingHighPriorityTaskRunner()); in maybePostMainThreadPendingHighPriorityTaskRunner()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DFrameTestHelpers.cpp80 Platform::current()->currentThread()->postTask(this); in PostThis()
100 Platform::current()->currentThread()->postTask(new ServeAsyncRequestsTask(m_client)); in run()
111 …Platform::current()->currentThread()->postTask(new ServeAsyncRequestsTask(testClientForFrame(frame… in pumpPendingRequests()
213 Platform::current()->currentThread()->postTask(new LoadTask(frame, urlRequest)); in loadFrame()
219 Platform::current()->currentThread()->postTask(new LoadHTMLStringTask(frame, html, baseURL)); in loadHTMLString()
225 …Platform::current()->currentThread()->postTask(new LoadHistoryItemTask(frame, item, loadType, cach… in loadHistoryItem()
231 Platform::current()->currentThread()->postTask(new ReloadTask(frame, false)); in reloadFrame()
237 Platform::current()->currentThread()->postTask(new ReloadTask(frame, true)); in reloadFrameIgnoringCache()
DSpinLockTest.cpp85 thread1->postTask(new Task(WTF::bind(&threadMain, static_cast<char*>(sharedBuffer)))); in TEST()
86 thread2->postTask(new Task(WTF::bind(&threadMain, static_cast<char*>(sharedBuffer)))); in TEST()
/external/chromium_org/third_party/WebKit/Source/modules/quota/
DDeprecatedStorageQuota.cpp61 …executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedE… in queryUsageAndQuota()
67 …executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedE… in queryUsageAndQuota()
83 …executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedE… in requestQuota()
89 …executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedE… in requestQuota()
DDeprecatedStorageInfo.cpp54 …executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedE… in queryUsageAndQuota()
66 …executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedE… in requestQuota()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DDatabaseThread.cpp70 m_thread->postTask(new Task(WTF::bind(&DatabaseThread::setupDatabaseThread, this))); in start()
87 m_thread->postTask(new Task(WTF::bind(&DatabaseThread::cleanupDatabaseThread, this))); in terminate()
120 m_thread->postTask(new Task(WTF::bind(&DatabaseThread::cleanupDatabaseThreadCompleted, this))); in cleanupDatabaseThread()
159 m_thread->postTask(task.leakPtr()); in scheduleTask()
DDatabaseTracker.cpp164 executionContext->postTask(NotifyDatabaseObserverOnCloseTask::create(database)); in removeOpenDatabase()
185 executionContext->postTask(NotifyDatabaseObserverOnCloseTask::create(database)); in failedToOpenDatabase()
243 …(*it)->databaseContext()->executionContext()->postTask(CloseOneDatabaseImmediatelyTask::create(ori… in closeDatabasesImmediately()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DMainThreadTaskRunnerTest.cpp71 runner->postTask(MarkingBooleanTask::create(&isMarked)); in TEST()
84 runner->postTask(MarkingBooleanTask::create(&isMarked)); in TEST()
102 runner->postTask(MarkingBooleanTask::create(&isMarked)); in TEST()
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DDOMFileSystem.h208 … executionContext->postTask(adoptPtr(new DispatchCallbackRefPtrArgTask<CB, CBArg>(callback, arg))); in scheduleCallback()
216 … executionContext->postTask(adoptPtr(new DispatchCallbackPtrArgTask<CB, CBArg>(callback, arg))); in scheduleCallback()
224 …executionContext->postTask(adoptPtr(new DispatchCallbackNonPtrArgTask<CB, PersistentHeapVector<CBA… in scheduleCallback()
232 … executionContext->postTask(adoptPtr(new DispatchCallbackNonPtrArgTask<CB, CBArg>(callback, arg))); in scheduleCallback()
240 executionContext->postTask(adoptPtr(new DispatchCallbackNoArgTask<CB>(callback))); in scheduleCallback()
/external/chromium_org/third_party/WebKit/Source/web/
DWebWorkerRunLoop.cpp62 bool WebWorkerRunLoop::postTask(Task* task) in postTask() function in blink::WebWorkerRunLoop
64 m_workerThread->postTask(TaskForwarder::create(adoptPtr(task))); in postTask()
/external/chromium_org/third_party/WebKit/Source/platform/
DWebThreadSupportingGC.h30 void postTask(WebThread::Task* task) in postTask() function
32 m_thread->postTask(task); in postTask()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DScriptStreamerThread.cpp38 void ScriptStreamerThread::postTask(WebThread::Task* task) in postTask() function in blink::ScriptStreamerThread
44 platformThread().postTask(task); in postTask()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DHRTFDatabaseLoader.cpp102 m_thread->postTask(new Task(WTF::bind(&HRTFDatabaseLoader::loadTask, this))); in loadAsynchronously()
125 m_thread->postTask(new Task(WTF::bind(&HRTFDatabaseLoader::cleanupTask, this, &sync))); in waitForLoaderThreadCompletion()
/external/chromium_org/mojo/services/html_viewer/
Dwebthread_impl.h41 virtual void postTask(Task* task);
62 virtual void postTask(Task* task);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCanvas2DLayerManagerTest.cpp277 …Platform::current()->currentThread()->postTask(new DeferredFrameTestTask(this, layer.get(), true)); in deferredFrameTest()
285 …Platform::current()->currentThread()->postTask(new DeferredFrameTestTask(this, layer.get(), true)); in deferredFrameTest()
290 …Platform::current()->currentThread()->postTask(new DeferredFrameTestTask(this, layer.get(), true)); in deferredFrameTest()
296 …Platform::current()->currentThread()->postTask(new DeferredFrameTestTask(this, layer.get(), false)… in deferredFrameTest()
301 …Platform::current()->currentThread()->postTask(new DeferredFrameTestTask(this, layer.get(), false)… in deferredFrameTest()
/external/chromium_org/content/child/
Dwebthread_impl.h42 virtual void postTask(Task* task);
63 virtual void postTask(Task* task) OVERRIDE;
Dworker_task_runner.cc54 return found->second.postTask(new RunClosureTask(closure)); in PostTask()
61 it->second.postTask(new RunClosureTask(closure)); in PostTaskToAllThreads()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DOfflineAudioDestinationNode.cpp91 m_renderThread->postTask(new Task(bind(&OfflineAudioDestinationNode::offlineRender, this))); in startRendering()
141 …context()->executionContext()->postTask(createCrossThreadTask(&OfflineAudioDestinationNode::notify… in offlineRender()

1234