webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::DOMTimer Class Referencefinal

#include <DOMTimer.h>

Inheritance diagram for WebCore::DOMTimer:
WTF::RefCounted< DOMTimer > WebCore::SuspendableTimer WTF::RefCounted< DOMTimer > WebCore::SuspendableTimer WebCore::ActiveDOMObject WebCore::TimerBase WebCore::ActiveDOMObject WebCore::TimerBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WebCore::ActiveDOMObject WebCore::TimerBase WebCore::ActiveDOMObject WebCore::TimerBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

virtual ~DOMTimer ()
 
void updateTimerIntervalIfNecessary ()
 
virtual ~DOMTimer ()
 
void updateTimerIntervalIfNecessary ()
 
- Public Member Functions inherited from WTF::RefCounted< DOMTimer >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
- Public Member Functions inherited from WebCore::SuspendableTimer
 SuspendableTimer (ScriptExecutionContext &)
 
virtual ~SuspendableTimer ()
 
bool isActive () const
 
bool isSuspended () const
 
void startRepeating (double repeatInterval)
 
void startOneShot (double interval)
 
double repeatInterval () const
 
void augmentFireInterval (double delta)
 
void augmentRepeatInterval (double delta)
 
void startRepeating (std::chrono::milliseconds repeatInterval)
 
void startOneShot (std::chrono::milliseconds interval)
 
std::chrono::milliseconds repeatIntervalMS () const
 
void augmentFireInterval (std::chrono::milliseconds delta)
 
void augmentRepeatInterval (std::chrono::milliseconds delta)
 
void cancel ()
 
 SuspendableTimer (ScriptExecutionContext &)
 
virtual ~SuspendableTimer ()
 
bool isActive () const
 
bool isSuspended () const
 
void startRepeating (double repeatInterval)
 
void startOneShot (double interval)
 
double repeatInterval () const
 
void augmentFireInterval (double delta)
 
void augmentRepeatInterval (double delta)
 
void startRepeating (std::chrono::milliseconds repeatInterval)
 
void startOneShot (std::chrono::milliseconds interval)
 
std::chrono::milliseconds repeatIntervalMS () const
 
void augmentFireInterval (std::chrono::milliseconds delta)
 
void augmentRepeatInterval (std::chrono::milliseconds delta)
 
void cancel ()
 
- Public Member Functions inherited from WebCore::ActiveDOMObject
void suspendIfNeeded ()
 
void assertSuspendIfNeededWasCalled () const
 
template<class T >
void setPendingActivity (T *thisObject)
 
template<class T >
void unsetPendingActivity (T *thisObject)
 
void suspendIfNeeded ()
 
void assertSuspendIfNeededWasCalled () const
 
template<class T >
void setPendingActivity (T *thisObject)
 
template<class T >
void unsetPendingActivity (T *thisObject)
 
- Public Member Functions inherited from WebCore::ContextDestructionObserver
WEBCORE_EXPORT ContextDestructionObserver (ScriptExecutionContext *)
 
virtual WEBCORE_EXPORT void contextDestroyed ()
 
ScriptExecutionContextscriptExecutionContext () const
 
WEBCORE_EXPORT ContextDestructionObserver (ScriptExecutionContext *)
 
virtual WEBCORE_EXPORT void contextDestroyed ()
 
ScriptExecutionContextscriptExecutionContext () const
 

Static Public Member Functions

static std::chrono::milliseconds defaultMinimumInterval ()
 
static std::chrono::milliseconds defaultAlignmentInterval ()
 
static std::chrono::milliseconds hiddenPageAlignmentInterval ()
 
static int install (ScriptExecutionContext &, std::unique_ptr< ScheduledAction >, std::chrono::milliseconds timeout, bool singleShot)
 
static void removeById (ScriptExecutionContext &, int timeoutId)
 
static void scriptDidInteractWithPlugin (HTMLPlugInElement &)
 
static std::chrono::milliseconds defaultMinimumInterval ()
 
static std::chrono::milliseconds defaultAlignmentInterval ()
 
static std::chrono::milliseconds hiddenPageAlignmentInterval ()
 
static int install (ScriptExecutionContext &, std::unique_ptr< ScheduledAction >, std::chrono::milliseconds timeout, bool singleShot)
 
static void removeById (ScriptExecutionContext &, int timeoutId)
 
static void scriptDidInteractWithPlugin (HTMLPlugInElement &)
 

Friends

class Internals
 

Additional Inherited Members

- Public Types inherited from WebCore::ActiveDOMObject
enum  ReasonForSuspension {
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended,
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended
}
 
enum  ReasonForSuspension {
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended,
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended
}
 
- Protected Member Functions inherited from WTF::RefCounted< DOMTimer >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
- Protected Member Functions inherited from WebCore::ActiveDOMObject
 ActiveDOMObject (ScriptExecutionContext *)
 
virtual ~ActiveDOMObject ()
 
 ActiveDOMObject (ScriptExecutionContext *)
 
virtual ~ActiveDOMObject ()
 
- Protected Member Functions inherited from WebCore::ContextDestructionObserver
virtual WEBCORE_EXPORT ~ContextDestructionObserver ()
 
void observeContext (ScriptExecutionContext *)
 
virtual WEBCORE_EXPORT ~ContextDestructionObserver ()
 
void observeContext (ScriptExecutionContext *)
 
- Protected Attributes inherited from WebCore::ContextDestructionObserver
ScriptExecutionContextm_scriptExecutionContext
 

Constructor & Destructor Documentation

◆ ~DOMTimer() [1/2]

WebCore::DOMTimer::~DOMTimer ( )
virtual

◆ ~DOMTimer() [2/2]

virtual WebCore::DOMTimer::~DOMTimer ( )
virtual

Member Function Documentation

◆ defaultAlignmentInterval() [1/2]

static std::chrono::milliseconds WebCore::DOMTimer::defaultAlignmentInterval ( )
inlinestatic

◆ defaultAlignmentInterval() [2/2]

static std::chrono::milliseconds WebCore::DOMTimer::defaultAlignmentInterval ( )
inlinestatic

◆ defaultMinimumInterval() [1/2]

static std::chrono::milliseconds WebCore::DOMTimer::defaultMinimumInterval ( )
inlinestatic

◆ defaultMinimumInterval() [2/2]

static std::chrono::milliseconds WebCore::DOMTimer::defaultMinimumInterval ( )
inlinestatic

◆ hiddenPageAlignmentInterval() [1/2]

static std::chrono::milliseconds WebCore::DOMTimer::hiddenPageAlignmentInterval ( )
inlinestatic

◆ hiddenPageAlignmentInterval() [2/2]

static std::chrono::milliseconds WebCore::DOMTimer::hiddenPageAlignmentInterval ( )
inlinestatic

◆ install() [1/2]

int WebCore::DOMTimer::install ( ScriptExecutionContext context,
std::unique_ptr< ScheduledAction action,
std::chrono::milliseconds  timeout,
bool  singleShot 
)
static

◆ install() [2/2]

static int WebCore::DOMTimer::install ( ScriptExecutionContext ,
std::unique_ptr< ScheduledAction ,
std::chrono::milliseconds  timeout,
bool  singleShot 
)
static

◆ removeById() [1/2]

void WebCore::DOMTimer::removeById ( ScriptExecutionContext context,
int  timeoutId 
)
static

◆ removeById() [2/2]

static void WebCore::DOMTimer::removeById ( ScriptExecutionContext ,
int  timeoutId 
)
static

◆ scriptDidInteractWithPlugin() [1/2]

static void WebCore::DOMTimer::scriptDidInteractWithPlugin ( HTMLPlugInElement )
static

◆ scriptDidInteractWithPlugin() [2/2]

void WebCore::DOMTimer::scriptDidInteractWithPlugin ( HTMLPlugInElement pluginElement)
static

◆ updateTimerIntervalIfNecessary() [1/2]

void WebCore::DOMTimer::updateTimerIntervalIfNecessary ( )

◆ updateTimerIntervalIfNecessary() [2/2]

void WebCore::DOMTimer::updateTimerIntervalIfNecessary ( )

Friends And Related Function Documentation

◆ Internals

Internals
friend

The documentation for this class was generated from the following files: