cef_extension_handler_t.get_active_browser

Called when no tabId is specified to an extension API call that accepts a tabId parameter (e.g. chrome.tabs.*). |extension| and |browser| are the source of the API call. Return the browser that will be acted on by the API call or return NULL to act on |browser|. The returned browser must share the same cef_request_context_t as |browser|. Incognito browsers should not be considered unless the source extension has incognito access enabled, in which case |include_incognito| will be true (1).

struct cef_extension_handler_t
extern (System)
cef_browser_t* function(cef_extension_handler_t* self, cef_extension_t* extension, cef_browser_t* browser, int include_incognito) nothrow get_active_browser;

Meta