CefContextMenuParams Properties |
The CefContextMenuParams type exposes the following members.
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.
| |
IsCustomMenu |
Returns true if the context menu contains items specified by the renderer
process (for example, plugin placeholder or pepper plugin menu items).
| |
IsEditable |
Returns true if the context menu was invoked on an editable node.
| |
IsPepperMenu |
Returns true if the context menu was invoked from a pepper plugin.
| |
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.
|