Lines Matching defs:WorkerRunLoop
39 #include "WorkerRunLoop.h"
71 , m_defaultMode(mode == WorkerRunLoop::defaultMode())
80 bool operator()(WorkerRunLoop::Task* task) const
90 WorkerRunLoop::WorkerRunLoop()
97 WorkerRunLoop::~WorkerRunLoop()
102 String WorkerRunLoop::defaultMode()
110 RunLoopSetup(WorkerRunLoop& runLoop)
125 WorkerRunLoop& m_runLoop;
128 void WorkerRunLoop::run(WorkerContext* context)
138 MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerContext* context, const String& mode)
146 MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerContext* context, const ModePredicate& predicate)
154 OwnPtr<WorkerRunLoop::Task> task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predicate, absoluteTime);
175 void WorkerRunLoop::terminate()
180 void WorkerRunLoop::postTask(PassOwnPtr<ScriptExecutionContext::Task> task)
185 void WorkerRunLoop::postTaskForMode(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode)
190 PassOwnPtr<WorkerRunLoop::Task> WorkerRunLoop::Task::create(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode)
195 void WorkerRunLoop::Task::performTask(ScriptExecutionContext* context)
202 WorkerRunLoop::Task::Task(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode)