Chromium Embedded Framework (CEF)  130.1.2+g48f3ef6+chromium-130.0.6723.44
CefSchemeHandlerFactory Class Referenceabstract

Class that creates CefResourceHandler instances for handling scheme requests. More...

#include "include/cef_scheme.h"

Inheritance diagram for CefSchemeHandlerFactory:
CefBaseRefCounted

Public Member Functions

virtual CefRefPtr< CefResourceHandlerCreate (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, const CefString &scheme_name, CefRefPtr< CefRequest > request)=0
 Return a new resource handler instance to handle the request or an empty reference to allow default handling of the request. 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

Class that creates CefResourceHandler instances for handling scheme requests.

The methods of this class will always be called on the IO thread.

Member Function Documentation

◆ Create()

virtual CefRefPtr<CefResourceHandler> CefSchemeHandlerFactory::Create ( CefRefPtr< CefBrowser browser,
CefRefPtr< CefFrame frame,
const CefString scheme_name,
CefRefPtr< CefRequest request 
)
pure virtual

Return a new resource handler instance to handle the request or an empty reference to allow default handling of the request.

|browser| and |frame| will be the browser window and frame respectively that originated the request or NULL if the request did not originate from a browser window (for example, if the request came from CefURLRequest). The |request| object passed to this method cannot be modified.


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