The OpenD Programming Language

cef_extension_t

Object representing an extension. Methods may be called on any thread unless otherwise indicated.

WARNING: This API is deprecated and will be removed in ~M127.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_handler
cef_extension_handler_t* function(cef_extension_t* self) nothrow get_handler;

Returns the handler for this extension. Will return NULL for internal extensions or if no handler was passed to

get_identifier
cef_string_userfree_t function(cef_extension_t* self) nothrow get_identifier;
get_loader_context
cef_request_context_t* function(cef_extension_t* self) nothrow get_loader_context;

Returns the request context that loaded this extension. Will return NULL for internal extensions or if the extension has been unloaded. See the

get_manifest
cef_dictionary_value_t* function(cef_extension_t* self) nothrow get_manifest;

Returns the extension manifest contents as a cef_dictionary_value_t object. See https://developer.chrome.com/extensions/manifest for details.

get_path
cef_string_userfree_t function(cef_extension_t* self) nothrow get_path;
is_loaded
int function(cef_extension_t* self) nothrow is_loaded;

Returns true (1) if this extension is currently loaded. Must be called on the browser process UI thread.

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

Returns true (1) if this object is the same extension as |that| object. Extensions are considered the same if identifier, path and loader context match.

unload
void function(cef_extension_t* self) nothrow unload;

Unload this extension if it is not an internal extension and is currently loaded. Will result in a call to

Meta