The OpenD Programming Language

cef_life_span_handler_t.on_before_dev_tools_popup

Called on the UI thread before a new DevTools popup browser is created. The |browser| value represents the source of the popup request. Optionally modify |windowInfo|, |client|, |settings| and |extra_info| values. The |client|, |settings| and |extra_info| values will default to the source browser's values. Any modifications to |windowInfo| will be ignored if the parent browser is Views-hosted (wrapped in a cef_browser_view_t).

The |extra_info| parameter provides an opportunity to specify extra information specific to the created popup browser that will be passed to

More...
struct cef_life_span_handler_t
extern (System)
void function(cef_life_span_handler_t* self, cef_browser_t* browser, cef_window_info_t* windowInfo, cef_client_t** client, cef_browser_settings_t* settings, cef_dictionary_value_t** extra_info, int* use_default_window) nothrow on_before_dev_tools_popup;

Detailed Description

cef render process handler t

:on_browser_created() in the render process. The existing |extra_info| object, if any, will be read-only but may be replaced with a new object.

Views-hosted source browsers will create Views-hosted DevTools popups unless |use_default_window| is set to to true (1). DevTools popups can be blocked by returning true (1) from cef_command_handler_t::OnChromeCommand for IDC_DEV_TOOLS. Only used with the Chrome runtime.

Meta