cef_client_t

Implement this structure to provide handler implementations.

version(cef && embedded_cef_bindings)
extern (C)
struct cef_client_t {}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_audio_handler
cef_audio_handler_t* function(cef_client_t* self) nothrow get_audio_handler;

Return the handler for audio rendering events.

get_command_handler
cef_command_handler_t* function(cef_client_t* self) nothrow get_command_handler;

Return the handler for commands. If no handler is provided the default implementation will be used.

get_context_menu_handler
cef_context_menu_handler_t* function(cef_client_t* self) nothrow get_context_menu_handler;

Return the handler for context menus. If no handler is provided the default implementation will be used.

get_dialog_handler
cef_dialog_handler_t* function(cef_client_t* self) nothrow get_dialog_handler;

Return the handler for dialogs. If no handler is provided the default implementation will be used.

get_display_handler
cef_display_handler_t* function(cef_client_t* self) nothrow get_display_handler;

Return the handler for browser display state events.

get_download_handler
cef_download_handler_t* function(cef_client_t* self) nothrow get_download_handler;

Return the handler for download events. If no handler is returned downloads will not be allowed.

get_drag_handler
cef_drag_handler_t* function(cef_client_t* self) nothrow get_drag_handler;

Return the handler for drag events.

get_find_handler
cef_find_handler_t* function(cef_client_t* self) nothrow get_find_handler;

Return the handler for find result events.

get_focus_handler
cef_focus_handler_t* function(cef_client_t* self) nothrow get_focus_handler;

Return the handler for focus events.

get_frame_handler
cef_frame_handler_t* function(cef_client_t* self) nothrow get_frame_handler;

Return the handler for events related to cef_frame_t lifespan. This function will be called once during cef_browser_t creation and the result will be cached for performance reasons.

get_jsdialog_handler
cef_jsdialog_handler_t* function(cef_client_t* self) nothrow get_jsdialog_handler;

Return the handler for JavaScript dialogs. If no handler is provided the default implementation will be used.

get_keyboard_handler
cef_keyboard_handler_t* function(cef_client_t* self) nothrow get_keyboard_handler;

Return the handler for keyboard events.

get_life_span_handler
cef_life_span_handler_t* function(cef_client_t* self) nothrow get_life_span_handler;

Return the handler for browser life span events.

get_load_handler
cef_load_handler_t* function(cef_client_t* self) nothrow get_load_handler;

Return the handler for browser load status events.

get_permission_handler
cef_permission_handler_t* function(cef_client_t* self) nothrow get_permission_handler;

Return the handler for permission requests.

get_print_handler
cef_print_handler_t* function(cef_client_t* self) nothrow get_print_handler;

Return the handler for printing on Linux. If a print handler is not provided then printing will not be supported on the Linux platform.

get_render_handler
cef_render_handler_t* function(cef_client_t* self) nothrow get_render_handler;

Return the handler for off-screen rendering events.

get_request_handler
cef_request_handler_t* function(cef_client_t* self) nothrow get_request_handler;

Return the handler for browser request events.

on_process_message_received
int function(cef_client_t* self, cef_browser_t* browser, cef_frame_t* frame, cef_process_id_t source_process, cef_process_message_t* message) nothrow on_process_message_received;

Called when a new message is received from a different process. Return true (1) if the message was handled or false (0) otherwise. It is safe to keep a reference to |message| outside of this callback.

Meta