[This is preliminary documentation and is subject to change.]
The CefContextMenuParams type exposes the following members.Properties
Name | Description | |
---|---|---|
ContextMenuType |
Returns flags representing the type of node that the context menu was
invoked on.
| |
EditState |
Returns flags representing the actions supported by the editable node, if
any, that the context menu was invoked on.
| |
FrameCharset |
Returns the character encoding of the subframe that the context menu was
invoked on.
| |
FrameUrl |
Returns the URL of the subframe that the context menu was invoked on.
| |
HasImageContents |
Returns true if the context menu was invoked on an image which has
non-empty contents.
| |
IsEditable |
Returns true if the context menu was invoked on an editable node.
| |
IsSpellCheckEnabled |
Returns true if the context menu was invoked on an editable node where
spell-check is enabled.
| |
LinkUrl |
Returns the URL of the link, if any, that encloses the node that the
context menu was invoked on.
| |
MediaState |
Returns flags representing the actions supported by the media element, if
any, that the context menu was invoked on.
| |
MediaType |
Returns the type of context node that the context menu was invoked on.
| |
PageUrl |
Returns the URL of the top level page that the context menu was invoked on.
| |
SelectionText |
Returns the text of the selection, if any, that the context menu was
invoked on.
| |
SourceUrl |
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.
| |
UnfilteredLinkUrl |
Returns the link URL, if any, to be used ONLY for "copy link address". We
don't validate this field in the frontend process.
| |
X |
Returns the X coordinate of the mouse where the context menu was invoked.
Coords are relative to the associated RenderView's origin.
| |
Y |
Returns the Y coordinate of the mouse where the context menu was invoked.
Coords are relative to the associated RenderView's origin.
|
See Also