Click or drag to resize
CfxContextMenuParams Class

[This is preliminary documentation and is subject to change.]

Provides information about the context menu state. The ethods of this structure can only be accessed on browser process the UI thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxLibraryBase
        ChromiumCfxContextMenuParams

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxContextMenuParams : CfxLibraryBase

The CfxContextMenuParams type exposes the following members.

Properties
  NameDescription
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 (1) if the context menu was invoked on an image which has non- NULL contents.
Public propertyIsCustomMenu
Returns true (1) if the context menu contains items specified by the renderer process (for example, plugin placeholder or pepper plugin menu items).
Public propertyIsEditable
Returns true (1) if the context menu was invoked on an editable node.
Public propertyIsPepperMenu
Returns true (1) if the context menu was invoked from a pepper plugin.
Public propertyIsSpellCheckEnabled
Returns true (1) 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 propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted library struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxLibraryBase.)
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 propertyTitleText
Returns the title text or the alt text if the context menu was invoked on an image.
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
Methods
  NameDescription
Public methodGetDictionarySuggestions
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.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_context_menu_handler_capi.h.
See Also