Home | History | Annotate | Download | only in page

Lines Matching defs:DOMTimer

28 #include "DOMTimer.h"
42 double DOMTimer::s_minTimerInterval = 0.010; // 10 milliseconds
46 DOMTimer::DOMTimer(ScriptExecutionContext* context, ScheduledAction* action, int timeout, bool singleShot)
79 DOMTimer::~DOMTimer()
85 int DOMTimer::install(ScriptExecutionContext* context, ScheduledAction* action, int timeout, bool singleShot)
87 // DOMTimer constructor links the new timer into a list of ActiveDOMObjects held by the 'context'.
88 // The timer is deleted when context is deleted (DOMTimer::contextDestroyed) or explicitly via DOMTimer::removeById(),
89 // or if it is a one-time timer and it has fired (DOMTimer::fired).
90 DOMTimer* timer = new DOMTimer(context, action, timeout, singleShot);
100 void DOMTimer::removeById(ScriptExecutionContext* context, int timeoutId)
116 void DOMTimer::fired()
158 bool DOMTimer::hasPendingActivity() const
163 void DOMTimer::contextDestroyed()
169 void DOMTimer::stop()
178 void DOMTimer::suspend()
189 void DOMTimer::resume()
199 bool DOMTimer::canSuspend() const