cef_browser_t.get_main_frame

Returns the main (top-level) frame for the browser. In the browser process this will return a valid object until after

More...
struct cef_browser_t
extern (System)
cef_frame_t* function(cef_browser_t* self) nothrow get_main_frame;

Detailed Description

cef life span handler t

:OnBeforeClose is called. In the renderer process this will return NULL if the main frame is hosted in a different renderer process (e.g. for cross-origin sub-frames). The main frame object will change during cross-origin navigation or re-navigation after renderer process termination (due to crashes, etc).

Meta