Chromium Embedded Framework (CEF)  135.0.1+gd336310+chromium-135.0.7049.3
CefPreferenceObserver Class Referenceabstract

Implemented by the client to observe preference changes and registered via CefPreferenceManager::AddPreferenceObserver. More...

#include "include/cef_preference.h"

Inheritance diagram for CefPreferenceObserver:
CefBaseRefCounted

Public Member Functions

virtual void OnPreferenceChanged (const CefString &name)=0
 Called when a preference has changed. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Implemented by the client to observe preference changes and registered via CefPreferenceManager::AddPreferenceObserver.

The methods of this class will be called on the browser process UI thread.

Member Function Documentation

◆ OnPreferenceChanged()

virtual void CefPreferenceObserver::OnPreferenceChanged ( const CefString name)
pure virtual

Called when a preference has changed.

The new value can be retrieved using CefPreferenceManager::GetPreference.


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