CefContextMenuHandlerAdapter
An abstract adapter class for receiving context menu events. The methods in this class are empty. This class exists as convenience for creating handler objects.
Functions
Link copied to clipboard
open fun onBeforeContextMenu(browser: CefBrowser, frame: CefFrame, params: CefContextMenuParams, model: CefMenuModel)
Called before a context menu is displayed.
Link copied to clipboard
open fun onContextMenuCommand(browser: CefBrowser, frame: CefFrame, params: CefContextMenuParams, commandId: Int, eventFlags: Int): Boolean
Called to execute a command selected from the context menu.
Link copied to clipboard
Called when the context menu is dismissed irregardless of whether the menu was empty or a command was selected.