The OpenD Programming Language

cef_context_menu_handler_t.run_quick_menu

Called to allow custom display of the quick menu for a windowless browser. |location| is the top left corner of the selected region. |size| is the size of the selected region. |edit_state_flags| is a combination of flags that represent the state of the quick menu. Return true (1) if the menu will be handled and execute |callback| either synchronously or asynchronously with the selected command ID. Return false (0) to cancel the menu.

struct cef_context_menu_handler_t
extern (System)
int function(cef_context_menu_handler_t* self, cef_browser_t* browser, cef_frame_t* frame, const(cef_point_t)* location, const(cef_size_t)* size, cef_quick_menu_edit_state_flags_t edit_state_flags, cef_run_quick_menu_callback_t* callback) nothrow run_quick_menu;

Meta