webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
WebNotificationCenter Class Reference

#include <WebNotificationCenter.h>

Inheritance diagram for WebNotificationCenter:
IWebNotificationCenter

Public Member Functions

virtual HRESULT STDMETHODCALLTYPE QueryInterface (_In_ REFIID riid, _COM_Outptr_ void **ppvObject)
 
virtual ULONG STDMETHODCALLTYPE AddRef ()
 
virtual ULONG STDMETHODCALLTYPE Release ()
 
virtual HRESULT STDMETHODCALLTYPE defaultCenter (_COM_Outptr_opt_ IWebNotificationCenter **)
 
virtual HRESULT STDMETHODCALLTYPE addObserver (_In_opt_ IWebNotificationObserver *, _In_ BSTR notificationName, _In_opt_ IUnknown *anObject)
 
virtual HRESULT STDMETHODCALLTYPE postNotification (_In_opt_ IWebNotification *)
 
virtual HRESULT STDMETHODCALLTYPE postNotificationName (_In_ BSTR notificationName, _In_opt_ IUnknown *anObject, _In_opt_ IPropertyBag *userInfo)
 
virtual HRESULT STDMETHODCALLTYPE removeObserver (_In_opt_ IWebNotificationObserver *, _In_ BSTR notificationName, _In_opt_ IUnknown *anObject)
 
void postNotificationInternal (IWebNotification *notification, BSTR notificationName, IUnknown *anObject)
 
- Public Member Functions inherited from IWebNotificationCenter
HRESULT defaultCenter ([out, retval] IWebNotificationCenter **center)
 
HRESULT addObserver ([in] IWebNotificationObserver *observer, [in] BSTR notificationName, [in] IUnknown *anObject)
 
HRESULT postNotification ([in] IWebNotification *notification)
 
HRESULT postNotificationName ([in] BSTR notificationName, [in] IUnknown *anObject, [in] IPropertyBag *userInfo)
 
HRESULT removeObserver ([in] IWebNotificationObserver *anObserver, [in] BSTR notificationName, [in] IUnknown *anObject)
 

Static Public Member Functions

static WebNotificationCentercreateInstance ()
 
static IWebNotificationCenterdefaultCenterInternal ()
 

Protected Member Functions

 WebNotificationCenter ()
 
 ~WebNotificationCenter ()
 

Protected Attributes

ULONG m_refCount { 0 }
 
std::unique_ptr< WebNotificationCenterPrivated
 

Static Protected Attributes

static IWebNotificationCenterm_defaultCenter = 0
 

Constructor & Destructor Documentation

◆ WebNotificationCenter()

WebNotificationCenter::WebNotificationCenter ( )
protected

◆ ~WebNotificationCenter()

WebNotificationCenter::~WebNotificationCenter ( )
protected

Member Function Documentation

◆ addObserver()

HRESULT WebNotificationCenter::addObserver ( _In_opt_ IWebNotificationObserver observer,
_In_ BSTR  notificationName,
_In_opt_ IUnknown *  anObject 
)
virtual

◆ AddRef()

ULONG WebNotificationCenter::AddRef ( void  )
virtual

◆ createInstance()

WebNotificationCenter * WebNotificationCenter::createInstance ( )
static

◆ defaultCenter()

HRESULT WebNotificationCenter::defaultCenter ( _COM_Outptr_opt_ IWebNotificationCenter **  center)
virtual

◆ defaultCenterInternal()

IWebNotificationCenter * WebNotificationCenter::defaultCenterInternal ( )
static

◆ postNotification()

HRESULT WebNotificationCenter::postNotification ( _In_opt_ IWebNotification notification)
virtual

◆ postNotificationInternal()

void WebNotificationCenter::postNotificationInternal ( IWebNotification notification,
BSTR  notificationName,
IUnknown *  anObject 
)

◆ postNotificationName()

HRESULT WebNotificationCenter::postNotificationName ( _In_ BSTR  notificationName,
_In_opt_ IUnknown *  anObject,
_In_opt_ IPropertyBag *  userInfo 
)
virtual

◆ QueryInterface()

HRESULT WebNotificationCenter::QueryInterface ( _In_ REFIID  riid,
_COM_Outptr_ void **  ppvObject 
)
virtual

◆ Release()

ULONG WebNotificationCenter::Release ( void  )
virtual

◆ removeObserver()

HRESULT WebNotificationCenter::removeObserver ( _In_opt_ IWebNotificationObserver anObserver,
_In_ BSTR  notificationName,
_In_opt_ IUnknown *  anObject 
)
virtual

Member Data Documentation

◆ d

std::unique_ptr<WebNotificationCenterPrivate> WebNotificationCenter::d
protected

◆ m_defaultCenter

IWebNotificationCenter * WebNotificationCenter::m_defaultCenter = 0
staticprotected

◆ m_refCount

ULONG WebNotificationCenter::m_refCount { 0 }
protected

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