cef_download_image_callback_t

Callback structure for cef_browser_host_t::DownloadImage. The functions of this structure will be called on the browser process UI thread.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

on_download_image_finished
void function(cef_download_image_callback_t* self, const(cef_string_t)* image_url, int http_status_code, cef_image_t* image) nothrow on_download_image_finished;

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 NULL if the download failed.

Meta