cef_browser_host_t.close_browser

Request that the browser close. The JavaScript 'onbeforeunload' event will be fired. If |force_close| is false (0) the event handler, if any, will be allowed to prompt the user and the user can optionally cancel the close. If |force_close| is true (1) the prompt will not be displayed and the close will proceed. Results in a call to

More...
struct cef_browser_host_t
extern (System)
void function(cef_browser_host_t* self, int force_close) nothrow close_browser;

Detailed Description

cef life span handler t

:do_close() if the event handler allows the close or if |force_close| is true (1). See cef_life_span_handler_t::do_close() documentation for additional usage information.

Meta