CefContextMenuHandler

Implement this interface to handle context menu events. The methods of this class will be called on the UI thread.

Inheritors

Functions

Link copied to clipboard
abstract fun onBeforeContextMenu(browser: CefBrowser, frame: CefFrame, params: CefContextMenuParams, model: CefMenuModel)
Called before a context menu is displayed.
Link copied to clipboard
abstract 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
abstract fun onContextMenuDismissed(browser: CefBrowser, frame: CefFrame)
Called when the context menu is dismissed irregardless of whether the menu was empty or a command was selected.