webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebKit::ProcessThrottler Class Reference

#include <ProcessThrottler.h>

Inheritance diagram for WebKit::ProcessThrottler:
WebKit::ProcessAssertionClient

Public Types

enum  ForegroundActivityCounterType
 
enum  BackgroundActivityCounterType
 
typedef RefCounter< ForegroundActivityCounterTypeForegroundActivityCounter
 
typedef ForegroundActivityCounter::Token ForegroundActivityToken
 
typedef RefCounter< BackgroundActivityCounterTypeBackgroundActivityCounter
 
typedef BackgroundActivityCounter::Token BackgroundActivityToken
 

Public Member Functions

 ProcessThrottler (ProcessThrottlerClient &)
 
ForegroundActivityToken foregroundActivityToken () const
 
BackgroundActivityToken backgroundActivityToken () const
 
void didConnectToProcess (pid_t)
 
void processReadyToSuspend ()
 
void didCancelProcessSuspension ()
 

Member Typedef Documentation

◆ BackgroundActivityCounter

◆ BackgroundActivityToken

◆ ForegroundActivityCounter

◆ ForegroundActivityToken

Member Enumeration Documentation

◆ BackgroundActivityCounterType

◆ ForegroundActivityCounterType

Constructor & Destructor Documentation

◆ ProcessThrottler()

WebKit::ProcessThrottler::ProcessThrottler ( ProcessThrottlerClient process)

Member Function Documentation

◆ backgroundActivityToken()

ProcessThrottler::BackgroundActivityToken WebKit::ProcessThrottler::backgroundActivityToken ( ) const
inline

◆ didCancelProcessSuspension()

void WebKit::ProcessThrottler::didCancelProcessSuspension ( )

◆ didConnectToProcess()

void WebKit::ProcessThrottler::didConnectToProcess ( pid_t  pid)

◆ foregroundActivityToken()

ProcessThrottler::ForegroundActivityToken WebKit::ProcessThrottler::foregroundActivityToken ( ) const
inline

◆ processReadyToSuspend()

void WebKit::ProcessThrottler::processReadyToSuspend ( )

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