cef_browser_t

Structure used to represent a browser. When used in the browser process the functions of this structure may be called on any thread unless otherwise indicated in the comments. When used in the render process the functions of this structure may only be called on the main thread.

version(cef && embedded_cef_bindings)
extern (C)
struct cef_browser_t {}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

can_go_back
int function(cef_browser_t* self) nothrow can_go_back;

Returns true (1) if the browser can navigate backwards.

can_go_forward
int function(cef_browser_t* self) nothrow can_go_forward;

Returns true (1) if the browser can navigate forwards.

get_focused_frame
cef_frame_t* function(cef_browser_t* self) nothrow get_focused_frame;

Returns the focused frame for the browser.

get_frame_by_identifier
cef_frame_t* function(cef_browser_t* self, const(cef_string_t)* identifier) nothrow get_frame_by_identifier;

Returns the frame with the specified identifier, or NULL if not found.

get_frame_by_name
cef_frame_t* function(cef_browser_t* self, const(cef_string_t)* name) nothrow get_frame_by_name;

Returns the frame with the specified name, or NULL if not found.

get_frame_count
size_t function(cef_browser_t* self) nothrow get_frame_count;

Returns the number of frames that currently exist.

get_frame_identifiers
void function(cef_browser_t* self, cef_string_list_t identifiers) nothrow get_frame_identifiers;

Returns the identifiers of all existing frames.

get_frame_names
void function(cef_browser_t* self, cef_string_list_t names) nothrow get_frame_names;

Returns the names of all existing frames.

get_host
cef_browser_host_t* function(cef_browser_t* self) nothrow get_host;

Returns the browser host object. This function can only be called in the browser process.

get_identifier
int function(cef_browser_t* self) nothrow get_identifier;

Returns the globally unique identifier for this browser. This value is also used as the tabId for extension APIs.

get_main_frame
cef_frame_t* function(cef_browser_t* self) nothrow get_main_frame;

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

go_back
void function(cef_browser_t* self) nothrow go_back;

Navigate backwards.

go_forward
void function(cef_browser_t* self) nothrow go_forward;

Navigate forwards.

has_document
int function(cef_browser_t* self) nothrow has_document;

Returns true (1) if a document has been loaded in the browser.

is_loading
int function(cef_browser_t* self) nothrow is_loading;

Returns true (1) if the browser is currently loading.

is_popup
int function(cef_browser_t* self) nothrow is_popup;

Returns true (1) if the browser is a popup.

is_same
int function(cef_browser_t* self, cef_browser_t* that) nothrow is_same;

Returns true (1) if this object is pointing to the same handle as |that| object.

is_valid
int function(cef_browser_t* self) nothrow is_valid;
reload
void function(cef_browser_t* self) nothrow reload;

Reload the current page.

reload_ignore_cache
void function(cef_browser_t* self) nothrow reload_ignore_cache;

Reload the current page ignoring any cached data.

stop_load
void function(cef_browser_t* self) nothrow stop_load;

Stop loading the page.

Meta