Lines Matching refs:RunLoop
27 #include "RunLoop.h"
39 LRESULT CALLBACK RunLoop::RunLoopWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
43 if (RunLoop* runLoop = reinterpret_cast<RunLoop*>(longPtr))
49 // Associate the RunLoop with the window.
57 LRESULT RunLoop::wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
64 RunLoop::TimerBase::timerFired(this, wParam);
71 void RunLoop::run()
82 bool RunLoop::dispatchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore& semaphore, double absoluteTime)
123 void RunLoop::stop()
128 bool RunLoop::registerRunLoopMessageWindowClass()
134 windowClass.lpfnWndProc = RunLoop::RunLoopWndProc;
135 windowClass.cbWndExtra = sizeof(RunLoop*);
141 RunLoop::RunLoop()
151 RunLoop::~RunLoop()
156 void RunLoop::wakeUp()
163 // RunLoop::Timer
165 void RunLoop::TimerBase::timerFired(RunLoop* runLoop, uint64_t ID)
189 RunLoop::TimerBase::TimerBase(RunLoop* runLoop)
196 RunLoop::TimerBase::~TimerBase()
201 void RunLoop::TimerBase::start(double nextFireInterval, bool repeat)
208 void RunLoop::TimerBase::stop()
218 bool RunLoop::TimerBase::isActive() const