cef_command_handler_t

Implement this structure to handle events related to commands. The functions of this structure will be called on the UI thread.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

is_chrome_app_menu_item_enabled
int function(cef_command_handler_t* self, cef_browser_t* browser, int command_id) nothrow is_chrome_app_menu_item_enabled;

Called to check if a Chrome app menu item should be enabled. Values for |command_id| can be found in the cef_command_ids.h file. Only called for menu items that would be enabled by default. Only used with the Chrome runtime.

is_chrome_app_menu_item_visible
int function(cef_command_handler_t* self, cef_browser_t* browser, int command_id) nothrow is_chrome_app_menu_item_visible;

Called to check if a Chrome app menu item should be visible. Values for |command_id| can be found in the cef_command_ids.h file. Only called for menu items that would be visible by default. Only used with the Chrome runtime.

is_chrome_page_action_icon_visible
int function(cef_command_handler_t* self, cef_chrome_page_action_icon_type_t icon_type) nothrow is_chrome_page_action_icon_visible;

Called during browser creation to check if a Chrome page action icon should be visible. Only called for icons that would be visible by default. Only used with the Chrome runtime.

is_chrome_toolbar_button_visible
int function(cef_command_handler_t* self, cef_chrome_toolbar_button_type_t button_type) nothrow is_chrome_toolbar_button_visible;

Called during browser creation to check if a Chrome toolbar button should be visible. Only called for buttons that would be visible by default. Only used with the Chrome runtime.

Meta