Click or drag to resize

CefContextMenuParams Properties

The CefContextMenuParams type exposes the following members.

Properties
  NameDescription
Public propertyContextMenuType
Returns flags representing the type of node that the context menu was invoked on.
Public propertyEditState
Returns flags representing the actions supported by the editable node, if any, that the context menu was invoked on.
Public propertyFrameCharset
Returns the character encoding of the subframe that the context menu was invoked on.
Public propertyFrameUrl
Returns the URL of the subframe that the context menu was invoked on.
Public propertyHasImageContents
Returns true if the context menu was invoked on an image which has non-empty contents.
Public propertyIsCustomMenu
Returns true if the context menu contains items specified by the renderer process (for example, plugin placeholder or pepper plugin menu items).
Public propertyIsEditable
Returns true if the context menu was invoked on an editable node.
Public propertyIsPepperMenu
Returns true if the context menu was invoked from a pepper plugin.
Public propertyIsSpellCheckEnabled
Returns true if the context menu was invoked on an editable node where spell-check is enabled.
Public propertyLinkUrl
Returns the URL of the link, if any, that encloses the node that the context menu was invoked on.
Public propertyMediaState
Returns flags representing the actions supported by the media element, if any, that the context menu was invoked on.
Public propertyMediaType
Returns the type of context node that the context menu was invoked on.
Public propertyPageUrl
Returns the URL of the top level page that the context menu was invoked on.
Public propertySelectionText
Returns the text of the selection, if any, that the context menu was invoked on.
Public propertySourceUrl
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.
Public propertyUnfilteredLinkUrl
Returns the link URL, if any, to be used ONLY for "copy link address". We don't validate this field in the frontend process.
Public propertyX
Returns the X coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.
Public propertyY
Returns the Y coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.
Top
See Also