cef_browser_host_t.try_close_browser

Helper for closing a browser. Call this function from the top-level window close handler (if any). Internally this calls CloseBrowser(false (0)) if the close has not yet been initiated. This function returns false (0) while the close is pending and true (1) after the close has completed. See close_browser() and cef_life_span_handler_t::do_close() documentation for additional usage information. This function must be called on the browser process UI thread.

struct cef_browser_host_t
extern (System)
int function(cef_browser_host_t* self) nothrow try_close_browser;

Meta