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

#include <LowPowerModeNotifier.h>

Public Types

using LowPowerModeChangeCallback = WTF::Function< void(bool isLowPowerModeEnabled)>
 
using LowPowerModeChangeCallback = WTF::Function< void(bool isLowPowerModeEnabled)>
 

Public Member Functions

WEBCORE_EXPORT LowPowerModeNotifier (LowPowerModeChangeCallback &&)
 
WEBCORE_EXPORT bool isLowPowerModeEnabled () const
 
WEBCORE_EXPORT LowPowerModeNotifier (LowPowerModeChangeCallback &&)
 
WEBCORE_EXPORT bool isLowPowerModeEnabled () const
 

Member Typedef Documentation

◆ LowPowerModeChangeCallback [1/2]

◆ LowPowerModeChangeCallback [2/2]

Constructor & Destructor Documentation

◆ LowPowerModeNotifier() [1/2]

WebCore::LowPowerModeNotifier::LowPowerModeNotifier ( LowPowerModeChangeCallback &&  )
explicit

◆ LowPowerModeNotifier() [2/2]

WEBCORE_EXPORT WebCore::LowPowerModeNotifier::LowPowerModeNotifier ( LowPowerModeChangeCallback &&  )
explicit

Member Function Documentation

◆ isLowPowerModeEnabled() [1/2]

bool WebCore::LowPowerModeNotifier::isLowPowerModeEnabled ( ) const

◆ isLowPowerModeEnabled() [2/2]

WEBCORE_EXPORT bool WebCore::LowPowerModeNotifier::isLowPowerModeEnabled ( ) const

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