cef_focus_handler_t.on_set_focus

where the focus request is originating from. Return false (0) to allow the focus to be set or true (1) to cancel setting the focus.

struct cef_focus_handler_t
extern (System)
int function(cef_focus_handler_t* self, cef_browser_t* browser, cef_focus_source_t source) nothrow on_set_focus;

Meta