# Class TCefContextMenuParamsRef

Description
Hierarchy
Methods

## Unit

uCEFContextMenuParams

## Declaration

`type TCefContextMenuParamsRef = class(TCefBaseRefCountedRef, ICefContextMenuParams)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefContextMenuParamsRef

## Overview

### Methods

Protected | `function GetXCoord: Integer;`
Protected | `function GetYCoord: Integer;`
Protected | `function GetTypeFlags: TCefContextMenuTypeFlags;`
Protected | `function GetLinkUrl: ustring;`
Protected | `function GetUnfilteredLinkUrl: ustring;`
Protected | `function GetSourceUrl: ustring;`
Protected | `function HasImageContents: Boolean;`
Protected | `function GetTitleText: ustring;`
Protected | `function GetPageUrl: ustring;`
Protected | `function GetFrameUrl: ustring;`
Protected | `function GetFrameCharset: ustring;`
Protected | `function GetMediaType: TCefContextMenuMediaType;`
Protected | `function GetMediaStateFlags: TCefContextMenuMediaStateFlags;`
Protected | `function GetSelectionText: ustring;`
Protected | `function GetMisspelledWord: ustring;`
Protected | `function GetDictionarySuggestions(const suggestions: TStringList): Boolean;`
Protected | `function IsEditable: Boolean;`
Protected | `function IsSpellCheckEnabled: Boolean;`
Protected | `function GetEditStateFlags: TCefContextMenuEditStateFlags;`
Protected | `function IsCustomMenu: Boolean;`
Public | `class function UnWrap(data: Pointer): ICefContextMenuParams;`

## Description

### Methods

Protected | `function GetXCoord: Integer;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetXCoord. Returns the X coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.

Protected | `function GetYCoord: Integer;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetYCoord. Returns the Y coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.

Protected | `function GetTypeFlags: TCefContextMenuTypeFlags;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetTypeFlags. Returns flags representing the type of node that the context menu was invoked on.

Protected | `function GetLinkUrl: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetLinkUrl. Returns the URL of the link, if any, that encloses the node that the context menu was invoked on.

Protected | `function GetUnfilteredLinkUrl: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetUnfilteredLinkUrl. Returns the link URL, if any, to be used ONLY for "copy link address". We don't validate this field in the frontend process.

Protected | `function GetSourceUrl: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetSourceUrl. Returns the source URL, if any, for the element that the context menu was invoked on. Example of elements with source URLs are img, audio, and video.

Protected | `function HasImageContents: Boolean;`
This item has no description. Showing description inherited from ICefContextMenuParams.HasImageContents. Returns true (1) if the context menu was invoked on an image which has non-NULL contents.

Protected | `function GetTitleText: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetTitleText. Returns the title text or the alt text if the context menu was invoked on an image.

Protected | `function GetPageUrl: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetPageUrl. Returns the URL of the top level page that the context menu was invoked on.

Protected | `function GetFrameUrl: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetFrameUrl. Returns the URL of the subframe that the context menu was invoked on.

Protected | `function GetFrameCharset: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetFrameCharset. Returns the character encoding of the subframe that the context menu was invoked on.

Protected | `function GetMediaType: TCefContextMenuMediaType;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetMediaType. Returns the type of context node that the context menu was invoked on.

Protected | `function GetMediaStateFlags: TCefContextMenuMediaStateFlags;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetMediaStateFlags. Returns flags representing the actions supported by the media element, if any, that the context menu was invoked on.

Protected | `function GetSelectionText: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetSelectionText. Returns the text of the selection, if any, that the context menu was invoked on.

Protected | `function GetMisspelledWord: ustring;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetMisspelledWord. Returns the text of the misspelled word, if any, that the context menu was invoked on.

Protected | `function GetDictionarySuggestions(const suggestions: TStringList): Boolean;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetDictionarySuggestions. Returns true (1) if suggestions exist, false (0) otherwise. Fills in |suggestions| from the spell check service for the misspelled word if there is one.

Protected | `function IsEditable: Boolean;`
This item has no description. Showing description inherited from ICefContextMenuParams.IsEditable. Returns true (1) if the context menu was invoked on an editable node.

Protected | `function IsSpellCheckEnabled: Boolean;`
This item has no description. Showing description inherited from ICefContextMenuParams.IsSpellCheckEnabled. Returns true (1) if the context menu was invoked on an editable node where spell-check is enabled.

Protected | `function GetEditStateFlags: TCefContextMenuEditStateFlags;`
This item has no description. Showing description inherited from ICefContextMenuParams.GetEditStateFlags. Returns flags representing the actions supported by the editable node, if any, that the context menu was invoked on.

Protected | `function IsCustomMenu: Boolean;`
This item has no description. Showing description inherited from ICefContextMenuParams.IsCustomMenu. Returns true (1) if the context menu contains items specified by the renderer process.

Public | `class function UnWrap(data: Pointer): ICefContextMenuParams;`
This item has no description.

Generated by PasDoc 1.0.4.