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

Implemented by the client to observe content and website setting changes and registered via CefRequestContext::AddSettingObserver. More...

#include "include/cef_request_context.h"

Inheritance diagram for CefSettingObserver:
CefBaseRefCounted

Public Member Functions

virtual void OnSettingChanged (const CefString &requesting_url, const CefString &top_level_url, cef_content_setting_types_t content_type)=0
 Called when a content or website setting 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 content and website setting changes and registered via CefRequestContext::AddSettingObserver.

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

Member Function Documentation

◆ OnSettingChanged()

virtual void CefSettingObserver::OnSettingChanged ( const CefString requesting_url,
const CefString top_level_url,
cef_content_setting_types_t  content_type 
)
pure virtual

Called when a content or website setting has changed.

The new value can be retrieved using CefRequestContext::GetContentSetting or CefRequestContext::GetWebsiteSetting.


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