onContextMenuCommand
abstract fun onContextMenuCommand(browser: CefBrowser, frame: CefFrame, params: CefContextMenuParams, commandId: Int, eventFlags: Int): Boolean
Called to execute a command selected from the context menu. Return true if the command was handled or false for the default implementation. See cef_menu_id_t for the command ids that have default implementations. All user-defined command ids should be between MENU_ID_USER_FIRST and
Return
true if the command was handled or false for the default implementation.
Parameters
browser
The browser generating the event.
frame
The frame generating the event. Instance only valid within the scope of this method.
params
Will have the same values that were passed to onBeforeContextMenu(). Instance only valid within the scope of this method.
commandId
The id of the command.
eventFlags
A combination of event flags defined in EventFlags