Chromium Embedded Framework (CEF)  122.1.5+gf09a9bc+chromium-122.0.6261.29
CefDownloadImageCallback Class Referenceabstract

Callback interface for CefBrowserHost::DownloadImage. More...

#include "include/cef_browser.h"

Inheritance diagram for CefDownloadImageCallback:
CefBaseRefCounted

Public Member Functions

virtual void OnDownloadImageFinished (const CefString &image_url, int http_status_code, CefRefPtr< CefImage > image)=0
 Method that will be executed when the image download has completed. 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

Callback interface for CefBrowserHost::DownloadImage.

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

Member Function Documentation

◆ OnDownloadImageFinished()

virtual void CefDownloadImageCallback::OnDownloadImageFinished ( const CefString image_url,
int  http_status_code,
CefRefPtr< CefImage image 
)
pure virtual

Method that will be executed when the image download has completed.

|image_url| is the URL that was downloaded and |http_status_code| is the resulting HTTP status code. |image| is the resulting image, possibly at multiple scale factors, or empty if the download failed.


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