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 Type
    Method
    Description
    default boolean
    onChromeCommand(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 - Chromium cef_window_open_disposition_t.
      Returns:
      true if handled (suppresses the default behaviour).