Class TCustomCommandHandler

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCustomCommandHandler = class(TCefCommandHandlerOwn)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FEvents: Pointer;

Methods

Protected function OnChromeCommand(const browser: ICefBrowser; command_id: integer; disposition: TCefWindowOpenDisposition): boolean; override;
Protected function OnIsChromeAppMenuItemVisible(const browser: ICefBrowser; command_id: integer): boolean; override;
Protected function OnIsChromeAppMenuItemEnabled(const browser: ICefBrowser; command_id: integer): boolean; override;
Protected function OnIsChromePageActionIconVisible(icon_type: TCefChromePageActionIconType): boolean; override;
Protected function OnIsChromeToolbarButtonVisible(button_type: TCefChromeToolbarButtonType): boolean; override;
Protected procedure RemoveReferences; override;
Public constructor Create(const events : IChromiumEvents); reintroduce; virtual;
Public destructor Destroy; override;

Description

Fields

Protected FEvents: Pointer;

This item has no description.

Methods

Protected function OnChromeCommand(const browser: ICefBrowser; command_id: integer; disposition: TCefWindowOpenDisposition): boolean; override;

This item has no description. Showing description inherited from ICefCommandHandler.OnChromeCommand.

Called to execute a Chrome command triggered via menu selection or keyboard shortcut. Values for |command_id| can be found in the cef_command_ids.h file. |disposition| provides information about the intended command target. Return true (1) if the command was handled or false (0) for the default implementation. For context menu commands this will be called after ICefContextMenuHandler.OnContextMenuCommand. Only used with the Chrome runtime.

Protected function OnIsChromeAppMenuItemVisible(const browser: ICefBrowser; command_id: integer): boolean; override;

This item has no description. Showing description inherited from ICefCommandHandler.OnIsChromeAppMenuItemVisible.

Called to check if a Chrome app menu item should be visible. Values for |command_id| can be found in the cef_command_ids.h file. Only called for menu items that would be visible by default. Only used with the Chrome runtime.

Protected function OnIsChromeAppMenuItemEnabled(const browser: ICefBrowser; command_id: integer): boolean; override;

This item has no description. Showing description inherited from ICefCommandHandler.OnIsChromeAppMenuItemEnabled.

Called to check if a Chrome app menu item should be enabled. Values for |command_id| can be found in the cef_command_ids.h file. Only called for menu items that would be enabled by default. Only used with the Chrome runtime.

Protected function OnIsChromePageActionIconVisible(icon_type: TCefChromePageActionIconType): boolean; override;

This item has no description. Showing description inherited from ICefCommandHandler.OnIsChromePageActionIconVisible.

Called during browser creation to check if a Chrome page action icon should be visible. Only called for icons that would be visible by default. Only used with the Chrome runtime.

Protected function OnIsChromeToolbarButtonVisible(button_type: TCefChromeToolbarButtonType): boolean; override;

This item has no description. Showing description inherited from ICefCommandHandler.OnIsChromeToolbarButtonVisible.

Called during browser creation to check if a Chrome toolbar button should be visible. Only called for buttons that would be visible by default. Only used with the Chrome runtime.

Protected procedure RemoveReferences; override;

This item has no description. Showing description inherited from ICefCommandHandler.RemoveReferences.

Custom procedure to clear all references.

Public constructor Create(const events : IChromiumEvents); reintroduce; virtual;

This item has no description.

Public destructor Destroy; override;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.