Interface CefriumCommandHandler
public interface CefriumCommandHandler
Handles Chrome command IDs, mirroring CEF's
CefCommandHandler.
Register with CefriumBrowser.setCommandHandler(CefriumCommandHandler).
Called synchronously on the browser UI thread.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanonChromeCommand(int commandId, int disposition) Execute (or veto) a Chrome command.
-
Method Details
-
onChromeCommand
default boolean onChromeCommand(int commandId, int disposition) Execute (or veto) a Chrome command.- Parameters:
commandId- Chromium command ID.disposition- Chromiumcef_window_open_disposition_t.- Returns:
- true if handled (suppresses the default behaviour).
-