Home | History | Annotate | Download | only in win

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))
44 return runLoop->wndProc(hWnd, message, wParam, lParam);
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)
167 TimerMap::iterator it = runLoop->m_activeTimers.find(ID);
168 if (it == runLoop->m_activeTimers.end()) {
176 runLoop->m_activeTimers.remove(it);
177 ::KillTimer(runLoop->m_runLoopMessageWindow, ID);
189 RunLoop::TimerBase::TimerBase(RunLoop* runLoop)
190 : m_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