Click or drag to resize

IContextMenuParams Properties

Version 84.4.10

The IContextMenuParams type exposes the following members.

Properties
  NameDescription
Public propertyDictionarySuggestions
Returns a list of strings from the spell check service for the misspelled word if there is one.
Public propertyEditStateFlags
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 propertyIsDisposed
Gets a value indicating whether the object has been disposed of.
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 propertyMediaStateFlags
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 propertyMisspelledWord
Returns the text of the misspelled word, if any, 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 propertyTypeFlags
Returns flags representing the type of node that the context menu was invoked on.
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 propertyXCoord
Returns the X coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.
Public propertyYCoord
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